cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
_Peter_
Level 4

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?
Labels (1)
0 Kudos

(1) Reply
RobertDickau
Flexera Alumni

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.)
0 Kudos