NullSoft NSIS installation syntax:
Default silent install switches:
Dir to specify the "output directory", which is where the program will be installed. It must be the last parameter used in the command line and must not contain any quotes ("), even if the path contains spaces. Only absolute paths are supported.
suppress the CRC (verification) step
These options are case-sensitive, so be sure to type them in upper case.
Sets $INSTDIR. It also stops the uninstaller from copying itself to the temporary directory and running from there. It can be used along with
Wait for the uninstaller to finish. It must be the last parameter used in the command line and must not contain any quotes, even if the path contains spaces.
installer.exe /D=C:\Program Files\NSIS
installer.exe /NCRC /S /D=C:\Program Files\NSIS
uninstaller.exe /S _?=C:\Program Files\NSIS
# uninstall old version
ExecWait '"$INSTDIR\uninstaller.exe" /S _?=$INSTDIR'