View Full Version : Conditional feature selection

07-26-2002, 10:02 AM
Using a Basic MSI project would it be possible to use installscript programatically select features, based on the serial key supplied? This is possible for ISPro projects and works fine but I know the scripting is handled a little differently with MSI projects.

Any ideas would (as always!) be appreciated.

07-30-2002, 10:06 AM
I have a post similar to this one and was wondering if you've figured it out yet?

07-30-2002, 10:13 AM
This is one of my causes for concern using IS Dev... havent been able to do this yet but Ive been looking more at privilege issues (the most cannest of worms). Stop me if youve heard this....

I worked out that rather than select the features in a script it might be better to have *conditions* for the features, e.g. a sort of boolean property for each conditional feature. It should be easy then to set the properties through custom actions and installscript. Though in practice I havent been able to block certain features even by hard-coding the properties... but the basic principle holds water.