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: conditional uninstall doesn't work.
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 23, 2009
07:58 AM
conditional uninstall doesn't work.
Hi all,
i was trying to uninstall a product based on the value of a property that gets set during the system search for a registry key.
The condition i specified is like this
remove= "all " and DIRECTORPATH=""
The DIRECTORPATH variable should be initialized with the value of a particular key in the windows registry, if the later is present, or shall ideally be NULL if the key is not present.
however the condition always evaluates to be true and my product always gets uninstalled.
Can anybody give me a clue about where could be the problem?
thanks,
raj_ksrt.
i was trying to uninstall a product based on the value of a property that gets set during the system search for a registry key.
The condition i specified is like this
remove= "all " and DIRECTORPATH=""
The DIRECTORPATH variable should be initialized with the value of a particular key in the windows registry, if the later is present, or shall ideally be NULL if the key is not present.
however the condition always evaluates to be true and my product always gets uninstalled.
Can anybody give me a clue about where could be the problem?
thanks,
raj_ksrt.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 24, 2009
07:21 PM
Did you really mean remove property? Or did you actually mean REMOVE property? Properties are case sensitive. Please use exact case when referring to properties to avoid confusion.
You should take a look at the verbose uninstallation log for clues.
You should take a look at the verbose uninstallation log for clues.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 26, 2009
02:04 AM
I meant REMOVE only. So that can't be a problem 🙂
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)