PDA

View Full Version : Conditionally display dialogs based on installlevel



jmelnick
10-04-2010, 04:33 PM
I have a basic MSI project that supports typical and custom installations.

I've set the Install Level for they typical installation features to 1, and all the others to 125.
In the SetupType dialog, I have a SetInstallLevel event to set the INSTALLLEVEL to 125 for a typical installation.

There are dialogs that should be displayed only if the associated feature is selected for installation. In the dialog behavior ediitor I have NewDialog events that have conditions that are using feature-action (&feature=3) conditions.

Everything works as expected when going through the custom install path.
However, when going through the typical install path it seems that the feature-action properties aren't being set properly. All of the feature-action conditions seem to indicate that they are all being installed, regardless of the value of INSTALLLEVEL.

Does anyone have any thoughts as to what might be happening or what the correct way of doing this is?

Thank you.