This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: CustomAction & UnInstall
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 09, 2012
06:56 PM
CustomAction & UnInstall
NOTE: i am a complete noob - pardon me if i ask anything stupid
okay - i created a custom action to run a small app that configures various files
both the app & the files are included in the installation package
i have run the generated SETUP & it appears to run as desired
HOWEVER
when i try to UNinstall the package, it looks like it's trying to run that app again - and can't find it because it's been removed already (!?)
because of that error, the UNinstall fails, and now i'm stuck with the package i CANT get rid of
so my question - how do i specify that my custom action should NOT run during an UNinstall?
TYI
okay - i created a custom action to run a small app that configures various files
both the app & the files are included in the installation package
i have run the generated SETUP & it appears to run as desired
HOWEVER
when i try to UNinstall the package, it looks like it's trying to run that app again - and can't find it because it's been removed already (!?)
because of that error, the UNinstall fails, and now i'm stuck with the package i CANT get rid of
so my question - how do i specify that my custom action should NOT run during an UNinstall?
TYI
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 11, 2012
09:28 AM
Just include a condition on the custom action "Not Installed" so that it will run only during first time install.....
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 15, 2012
10:42 AM
You could use condition of "NOT REMOVE" to run the CA.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)