Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Changing Feature Install Level w/ Public Property


2 replies to this topic

snively

snively
  • Members
  • 12 posts

Posted 10 January 2006 - 01:56

Is it possible to change a Feature's Install Level using a Public property? I created a dialog that has 2 install options ('A' and 'B') using check boxes and associated public properties with them ('CHECK_BOX_A' and 'CHECK_BOX_B'). I then created 2 Features ('FeatureOne' and 'FeatureTwo') and set their Install Levels to '200'. I want to be able to change their Install Level to '1' if their corresponding check box is selected (selecting 'A' gets 'FeatureOne' and 'B' gets 'FeatureTwo'). I'm using the Condition syntax of 'CHECK_BOX_A=1' to set its Install Level to '1'. What's strange is that the same Condition syntax works at the Component level but not at the Feature level. Any help will be appreciated...

Note: It's an InstallShield 11.5 Basic MSI project.

luke_s

luke_s
  • Full Members
  • 532 posts

Posted 10 January 2006 - 07:14

Try using a ControlEvent of "Addlocal" or "Remove".

You can then condition these on the public property.

snively

snively
  • Members
  • 12 posts

Posted 10 January 2006 - 20:02

Thanks, Luke. That solved my problem smile.gif