diff --git a/installer/windows/installer.nsi b/installer/windows/installer.nsi index 9e6f7f69..6cb93087 100644 --- a/installer/windows/installer.nsi +++ b/installer/windows/installer.nsi @@ -503,7 +503,7 @@ Function .onInit !delfile "${TMPINST}" ; create and run the installer that just uses WriteUninstaller - !makensis '-DGENERATE_UNINSTALLER "${__FILE__}" "-XOutFile `${TMPINST}.exe`"' + !makensis "-DGENERATE_UNINSTALLER $\"${__FILE__}$\" $\"-XOutFile '${TMPINST}.exe'$\"" !system '"${TMPINST}.exe" /S' !delfile "${TMPINST}.exe" !endif