Can a component disable itself?

Answered

Comments

1 comment

  • Avatar
    juanjo

    If a component is deselected, only its <initializationActionList> will be executed. This gives the opportunity to the component to enable itself if needed. Having saying that, if a component is selected, it can modify its properties or deselect itself at any point before the <readyToInstallActionList>.

    If you want to make a component disable itself at the most early stage of the installation, I would recommend using its <initializationActionList>.

    You can also check how to modify component properties (among other project settings) in this article.

Please sign in to leave a comment.