c_werner
Posts: 15
Joined: Tue Feb 06, 2007 5:24 pm
Location: Fresno
Contact: Website

Selective installation

I need to cease the installation of a component based on whether or not the program I'm installing is currently installed. So if "program" exists on the users machine "other program" is not installed but everything else is.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

I'm not sure I understand what you mean. Why do you want to do this?

Please note that when trying to install a program that is already installed, the MSI package will enter into maintenance mode (Modify, Repair or Remove options).

If you need to update an installation you can do it by using one of these methods:
- you use the automated upgrade feature (when increasing the version of the MSI package and changing the product code, the old installation will be automatically removed and the updated package will be installed)
- you use a patch:
http://www.advancedinstaller.com/user-g ... patch.html

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
c_werner
Posts: 15
Joined: Tue Feb 06, 2007 5:24 pm
Location: Fresno
Contact: Website

Basically we're using the automated upgrade feature, but whenever that occurs (the update) I need one of the elements in the initial installation (first time) to not be installed.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

If you want to prevent some files (from the original installation) to not be overwritten with the new version then please see:
http://www.advancedinstaller.com/user-g ... -file.html

If this is not what you want then please give me more details.

Regards,
Gigi
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”