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
- :
- Re: Detecting Feature Selection in Basic MSI
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
May 19, 2010
01:17 PM
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?
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?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 19, 2010
01:40 PM
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).