cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Custom Action Runs During UNINSTALL

CChong
By Level 11 Flexeran
Level 11 Flexeran
I am utilizing a custom action which calls a script to copy files during an install....unfortunately, this custom action also runs during UNINSTALL. I am new to InstallShield and would like some help with this....

Thanks,

Scandler
(1) Reply
The issue, of course, is that the same sequences run for both a first-time installation and maintenance-mode installations (incl. uninstallation), only with different property values.

To ensure an action runs only for a first-time installation, you can attach the condition "Not Installed".

For more information, see this InstallShield newsletter article: http://www.installshield.com/news/newsletter/devletter/0212dev.htm#3.

The matter is also discussed at some length in Chapter 8 of our new book Administrator's Introduction to Application Repackaging and Software Deployment using Windows Installer, for more information about which see www.installshield.com/ispress.