\Building or Updating MSIsRepackaging - Converting an EXE to MSIWrap Existing InstallersNSIS Setup (wrap installation)
NSIS Setup (wrap installation) |
You can generally recognise NSIS (nullsoft) based installers:
This installer only has rudimentary command line support with the
switches being case sensitive and no error handling if NSIS doesn't
like what you used:
Some other facts:
- NSIS bug: The "/S" is not silent if the product is already
installed.
It pauses and displays a dialog!
- You can test for a return code zero on the install.
- The generated "uninstall.exe" terminates before the uninstall
completes, so its return code can't be checked.
If you test return code you are only validating that you
invoked the uninstall.
- Because "uninstall.exe" runs async you need to use the
"WRAPINST_UNINSTALL_VALIDATION_WAIT" option.