cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
raffaeu
Level 3

Conditions on Features and Uninstall strange behavior

Hi, I have a Basic MSI project which has three different properties.
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
Labels (1)
0 Kudos
(1) Reply
TsungH
Level 12

You probably could just use /x switch. If you have not, please refer to Setup.exe and Update.exe Command-Line Parameters.
0 Kudos