View Single Post
Old 28th June 2018, 18:19   #1
CelesteBlanca10
Junior Member
 
Join Date: Jun 2018
Posts: 5
NSIS and VS2013 - error MSB3721

I just joined a company and inherited a few installer projects. I'm very new to NSIS, so probably missing common knowledge here, but it looks like NSIS is integrated into VS2013 as there is a "NSIS Compiler" node in the project's properties dialog.

The error that I'm getting is: error MSB3721: The command ""C:\Program Files (x86)\NSIS\Unicode\makensis" /DConfig="Debug" /DOutdir="../Output/Setup/Release\\"
/DInstallName="MyCompany" /DTargetName="MyInstaller.exe" /DPlatform="Win32" MyInstaller.nsi" exited with code 1.


It looks to me as the Outdir value has some extra slashes in there, but I can't seem to get them out of there.

The NSISComplier.rules file shows this:
code:
<StringProperty
Name="OutputDirectory"
DisplayName="OuputDirectory"
Switch="/DOutdir=&quot;[value]&quot;"
DefaultValue="$(OutDir)"
/>




So I looked at the OutputDirectory of the project in VS, and it did seem to have an extra slash in there, but whatever I do, it doesn't seem to change the NSIS command line value. I even put a direct path there, but nothing.

Thanks
CelesteBlanca10 is offline   Reply With Quote