cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
gridman
Level 8

Detecting Feature Selection in Basic MSI

I have a Basic MSI installation and am using a feature prerequisite to install SQL Server 2008 Express.

What I would like to do is to detect when the user has selected that Feature for installation. So, after the SetupType or CustomSetup dialogs (during the initial installation), I would like to know if the SQL feature has been selected for installation.

The problem in a Basic MSI project is that all of the feature functions I have tried to use (in InstallScript Custom Actions), do not detect it. FeatureGetData doesn't work. Also, MsiQueryFeatureState doesn't seem to work. I tried many other functions as well.

I could create a custom dialog box for feature selection and detect it that way, but I really didn't want to.

Any suggestions?
Labels (1)
0 Kudos
(1) Reply
RobertDickau
Flexera Alumni

Please see the InstallShield help topic "Detecting If the End User Has Selected a Specific Feature" (and the MSI help link on that topic's page).
0 Kudos