Apply Uninstall vs Install/Remove MSI Package

Got a problem you cannot solve? Try here.
Post Reply
rxelizondo
Posts: 21
Joined: Sun Nov 06, 2011 7:04 pm

Apply Uninstall vs Install/Remove MSI Package

Post by rxelizondo »

I noticed that the sample script has a command called “(Un)Install MSI package”. This is the command that is used to uninstall the application during the prerequisites phase.

However, at the bottom of the script, there is another command called “Apply Changes” with the “Uninstall Product” option selected. This appears to me to be the command used when the application is uninstalled via the “Maintenance” screen.

I don’t know, maybe I am missing something but what is the different between this two commands? Are they both used to uninstall the application? If so, why have two different ones, why not just have one?

Thanks.
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Apply Uninstall vs Install/Remove MSI Package

Post by giaviv »

Hi,

They are quite different:

(Un)Install MSI Setup is a plugin to install / remove an EXTERNAL MSI package, such as a previous version of the same product (that's what you are seeing).
Apply Changes are Windows Installer commands that perform an action (such as install, uninstall etc.) on the CURRENT running setup script.
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply