View Full Version : Custom dialog and conditions

02-26-2008, 05:56 AM
Basic MSI project.

I have created a custom dialog to ask the user if they are installing a Client a Server or both ClientServer of our product, this sets a property called INSTALL_TYPE.

I have also created two features with conditions:
1. Server (Install Level:1 Condition:0 if INSTALL_TYPE="Client")
2. Client (Install Level:1 condition:0 if INSTALL_TYPE="Server")

However, I believe the feature conditions are evaluated at the startup of the installation, so my custom dialog does not make any difference to which features are displayed.

Is there a way to for to conditions to be re-evaluated once the user has made their choice on my dialog, or is there another way I should be doing this?