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: REMOVE="" not working
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
‎Apr 06, 2009
10:55 AM
REMOVE="" not working
I've had a recent change that's preventing (REMOVE="") from working in a Basic MSI project. For quite some time I've been using this project and the (REMOVE="") worked just fine for a custom action condition. It seems to have just stopped working because the executable does not execute with said condition set. If I remove the condition and leave it empty the executable is launched.
However, I cannot leave this condition empty as it is launching an installed executable to register our software's DLLs. As this is sequenced after InstallFiles I cannot have it executing during uninstall since the executable is removed before reaching this point in the sequence. This action needs to be run every time except during an uninstall. Is (REMOVE="") the best condition for the desired behavior?
Does anyone know what might cause this to stop working?
However, I cannot leave this condition empty as it is launching an installed executable to register our software's DLLs. As this is sequenced after InstallFiles I cannot have it executing during uninstall since the executable is removed before reaching this point in the sequence. This action needs to be run every time except during an uninstall. Is (REMOVE="") the best condition for the desired behavior?
Does anyone know what might cause this to stop working?
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 07, 2009
02:03 AM
Try the following condition:
Not REMOVE="ALL"
Not REMOVE="ALL"
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 07, 2009
06:01 AM
There are totally 5 conditions
1. REMOVE = "ALL" - This condition is used when you want to do something during uninstallaion.
2. REMOVE <>"ALL" - This condition is used when you want to do something during installaion.
3. Not Installed - This condition is used when you want to do something during uninstallaion.
4. Installed - This condition is used when you want to do something during Maintainance mode.
5. Upgradingproductcode - This condition is used when you want to do during major upgrade.
Based on your requirement you can one or multiple conditions
1. REMOVE = "ALL" - This condition is used when you want to do something during uninstallaion.
2. REMOVE <>"ALL" - This condition is used when you want to do something during installaion.
3. Not Installed - This condition is used when you want to do something during uninstallaion.
4. Installed - This condition is used when you want to do something during Maintainance mode.
5. Upgradingproductcode - This condition is used when you want to do during major upgrade.
Based on your requirement you can one or multiple conditions
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 07, 2009
02:55 PM
I have switched it to (REMOVE<>"ALL") and it seems to be less finicky now. I'll use this condition from now on when I want something to always run unless uninstalling.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 04, 2009
02:42 AM
Remove<>"ALL" will run evertytime except during uninstallation
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)