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
- :
- Question about features
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Jul 30, 2007
07:44 AM
Question about features
Hi,
I created InstallScript MSI Project and I would like to install features based on serial key, entered in Customer information dialog. I would like, that custom setup type would prompt features, which are dependent on serial key.
For example:
Features:
- Feat1
- Subfeat11
- Subfeat12
- Feat2
- Subfeat21
....
so if user enter serial key starting with 2111-####-####-####, then only second feature is enabled and checked in custom setup type and installed. I'm newbie, so how can I do something like that?
I created InstallScript MSI Project and I would like to install features based on serial key, entered in Customer information dialog. I would like, that custom setup type would prompt features, which are dependent on serial key.
For example:
Features:
- Feat1
- Subfeat11
- Subfeat12
- Feat2
- Subfeat21
....
so if user enter serial key starting with 2111-####-####-####, then only second feature is enabled and checked in custom setup type and installed. I'm newbie, so how can I do something like that?
(1) Reply
Jul 31, 2007
04:59 PM
With InstallScript, I'm not sure you can disable features, but you should be able to hide and deselect them using FeatureSetData.
(As an aside, it might be worth doing some validation in the application itself, to ensure just the appropriate features have been installed. There's also silent installation and the like to consider.)
(As an aside, it might be worth doing some validation in the application itself, to ensure just the appropriate features have been installed. There's also silent installation and the like to consider.)