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

Custom Action Runs During UNINSTALL

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....


(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:

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