Israel
Posts: 14
Joined: Mon Dec 17, 2007 2:53 pm

Adding parameters to the uninstaller in Add/Remove Programs

Hi,

Hi I'm new to MSI and currently evaluating Advanced Installer.

I would like to add command line parameters in order to control the UN-installing of my application when it is uninstalled from 'Add/Remove Programs'.

Is it possible to do so?

Thanks,

Israel
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

I'm afraid that this cannot be done because you cannot specify uninstall command line parameters inside the MSI (when uninstalling using Add/Remove Programs the MSI cached by Windows is used, therefore the parameters need to be written in the MSI file).

Note that in order to launch the uninstallation process you can use a Shortcut to Uninstall in the "Files and Folders" page. This shortcut will launch the MSI package with the arguments you need. You can read more about shortcuts here:
http://www.advancedinstaller.com/user-g ... tcuts.html

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”