Try again to help the batch file find NSIS
commit3aa419030220b9ecb9e151845623dd173791dedf
authorEvan Czaplicki <evancz@users.noreply.github.com>
dateThu 26 Apr 2018, 17:48 (9 years ago)
parent16c1b3b
installers/win/make_installer.cmd+3−3
@@ -8,11 +8,11 @@ xcopy ..\..\dist\build\elm\elm.exe files\bin /s /e
88xcopy updatepath.vbs files
99
1010if EXIST "%ProgramFiles%\NSIS" (
11− set nsis=%ProgramFiles%\NSIS
11+ set nsis="%ProgramFiles%\NSIS\makensis.exe"
1212) else (
13− set nsis=%ProgramFiles(x86)%\NSIS
13+ set nsis="%ProgramFiles(x86)%\NSIS\makensis.exe"
1414)
1515
16−"%nsis%\makensis.exe" /DPLATFORM_VERSION=%version% Nsisfile.nsi
16+%nsis% /DPLATFORM_VERSION=%version% Nsisfile.nsi
1717
1818rd /s /q files