How to hide a component on a specific platform?

Answered

Comments

3 comments

  • Avatar
    alejandror

    In order to hide or deselect a component, you can modify the component's <show> and <selected> properties by using the syntax component project.component(componentName).show with a <setInstallerVariable> action before the component selection page is shown. You can find a sample snippet in this link.

    In case you want to totally skip including the component in the installer for a specific platform, you can use the <shouldPackRuleList> so it is not included for non-Windows platform. Please check this link for more information.

    1
    Comment actions Permalink
  • Avatar
    83.0b .et

    I forgot to thank you last year, so, thank you very much!

    Your help was very useful

    0
    Comment actions Permalink
  • Avatar
    BitRock support

    Thanks. Glad to have been of help. 

    0
    Comment actions Permalink

Please sign in to leave a comment.