Skip to content
⌘ NSIS Forum Archive

Remove old Windows Installer

3 posts

dean.g#

Remove old Windows Installer

Hi,

Does anyone know how I can make my NSIS installer remove the old version of the application that was put there by the Windows Installer?

Any/all assistance greatly appreciated!

Cheers!
Dean
jiake#
See this example:
${NSISDIR}\Example\makensis.nsi
It will check the installed version and show a custom page that allow you update or remove.
jpderuiter#
If you mean you want to uninstall an application installed by the MS Windows installer (MSI package), you can use the /x switch:
Command-line options for msiexec.exe for Windows Installer 3.0 and earlier. Provides a table showing options, parameters, and descriptions. Examples showing how to install products and other tasks.