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
- :
- Conditions on Features and Uninstall strange behavior
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
Jan 08, 2014
05:59 AM
Conditions on Features and Uninstall strange behavior
Hi, I have a Basic MSI project which has three different properties.
Each feature has a special condition so that if the feature has been disable through a property:
When I run the Setup in Silent mode, for example, I can run it in the following way:
and the feature Client is not installed.
The problem is that when I try to uninstall this specific installation, the uninstall process removes the Database and Server features and install the Client feature ...
So, how can I say to the feature condition that during uninstall it shouldn't care about the property value and simply uninstall everything?
Thanks
ENABLE_CLIENT
ENABLE_SERVER
ENABLE_DATABASE
Each feature has a special condition so that if the feature has been disable through a property:
Level 200
if ENABLE_CLIENT <> "yes"
When I run the Setup in Silent mode, for example, I can run it in the following way:
"setup.exe" /s /v"/qb" /v"ENABLE_CLIENT=no"
and the feature Client is not installed.
The problem is that when I try to uninstall this specific installation, the uninstall process removes the Database and Server features and install the Client feature ...
So, how can I say to the feature condition that during uninstall it shouldn't care about the property value and simply uninstall everything?
Thanks
1 Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 23, 2014
06:37 PM
You probably could just use /x switch. If you have not, please refer to Setup.exe and Update.exe Command-Line Parameters.
