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.

feature visibility

2 replies to this topic

Johannes John

Johannes John
  • Full Members
  • 223 posts

Posted 11 October 2012 - 16:59


does someone know, how to set the visibility of a feature at runtime?

Thanks in advance


  • Full Members
  • 3 posts

Posted 12 October 2012 - 14:48

Setting a feature's level to 0 hides it and disables install/remove
You can disable a feature installation on runtime using feature condition that sets the level to 0.

See Condition Table

Specially take care of this:
"Conditions should be carefully chosen so that a feature is not enabled on install and then disabled on uninstall. This will orphan the feature and the product will not be able to be uninstalled."

Nir Bar - Application packaging expert

Stefan Krueger

Stefan Krueger


  • Administrators
  • 13,269 posts

Posted 12 October 2012 - 15:31

@nirbar: Note that Johannes is asking about the Suite project type, which is different from Basic MSI.