diff --git a/cmake/templates/NSIS.template.in b/cmake/templates/NSIS.template.in index 822d5c3cc0..92059d3a3e 100644 --- a/cmake/templates/NSIS.template.in +++ b/cmake/templates/NSIS.template.in @@ -42,7 +42,7 @@ ; it is invoked, will just write the uninstaller to some location, and then exit. ; Be sure to substitute the name of this script here. - !system "$\"${NSISDIR}\makensis$\" /DINNER <name_of_script>.nsi" = 0 + !system "$\"${NSISDIR}\makensis$\" /DINNER project.nsi" = 0 ; So now run that installer we just created as %TEMP%\tempinstaller.exe. Since it ; calls quit the return value isn't zero.