Codename K
Posts: 471
Joined: Fri Jan 29, 2010 3:04 pm

How to set features from a button?

Hello,

How to set features when a button is clicked? There are three features,

MainFeature
Feature1
Feature2

MainFeature needs to always installed. However, based on two buttons the other features needs to be decided. For example:

MainFeature, Feature1 or MainFeature, Feature2

Also how to prevent modifying the MainFeature from customize dialog during reinstall?

:?:
K
Catalin
Posts: 6584
Joined: Wed Jun 13, 2018 7:49 am

Re: How to set features from a button?

Hello,

In order to achieve that, you can:

- go to "Organization" page

- select your feature

- under "Installation Behavior" set the default to "Not installed" and then insert your condition in the "Installed if" field

Regarding the second question, you can prevent the feature being shown in the customize dialog by going to "Organization" page --> select your feature --> "Feature Tree" drop-down --> "Not displayed".

Hope this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Codename K
Posts: 471
Joined: Fri Jan 29, 2010 3:04 pm

Re: How to set features from a button?

Thank you as always.

:)
K
Catalin
Posts: 6584
Joined: Wed Jun 13, 2018 7:49 am

Re: How to set features from a button?

You are always welcome!

Glad I could help. :)

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”