How to change feature's state at runtime?
Posted 11 November 2004 - 12:41
I'd like to change the state of some features (enable/disable) in the Select Features Dialog at runtime e.g. check locale and enable spell checker/thesaurus to current locale (or something else as default). Is there a way to achieve the above?
Thanks in advance.
Posted 11 November 2004 - 13:21
Posted 11 November 2004 - 14:20
Posted 11 November 2004 - 15:17
If you need to base the conditions on user input, use AddLocal and Remove control events. There's no need for custom actions.
Posted 11 November 2004 - 16:09
Posted 12 November 2004 - 08:25
Posted 12 November 2004 - 08:57
Condition: UserLanguageID <> 1033
Or you could use SystemLanguageID. These are described in MSI help.
You can have multiple entries for one feature, if the level is different for each row. Otherwise you can build conditional expressions like this:
(UserLanguageID <> 1033) Or (VersionNT > 500)