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

Setting Feature properties at runtime


2 replies to this topic

anthonyh

anthonyh
  • Full Members
  • 93 posts

Posted 19 March 2002 - 23:19

Is there a way to set certain properties for a feature at runtime.  I need to be able to set the "Install Level" and "Display" properties.

  What I'm trying to do is only have a feature appear is the list if something else is detected?

  Would I be able to use a condition for this? But, I don't want the feature visible, if the condition is false.



Thanks,
Anthony
Product Availability Developer
Avantis
Invensys Process Systems

Using InstallShield Developer 7.04 - Basic Project

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 20 March 2002 - 17:16

If you have the information for the condition before CostFinalize action is run, you can use feature conditions to change the InstallLevel of a feature. An InstallLevel of 0 will make the feature invisible (and not install it). These conditions are evaluated druing CostFinalize.

anthonyh

anthonyh
  • Full Members
  • 93 posts

Posted 20 March 2002 - 19:00

Thanks, that's exactly what I want.



Anthony
Product Availability Developer
Avantis
Invensys Process Systems

Using InstallShield Developer 7.04 - Basic Project