Component Selection Option at build time or runtime

Comments

2 comments

  • Avatar
    michiel

    I'm not sure I understand what you are trying to achieve. Selecting and deselecting components is possible during the build using the <postBuildActionList> of each component. For example:

    <component name="component1">
    <postBuildActionList>
    <setInstallerVariable name="project.component(component1).selected" value="0"/>
    </postBuildActionList>
    </component>

    You can add packing rules to the <shouldPackRuleList> to pack that component and thus execute its <postBuildActionList>.

     

     

  • Avatar
    Jake

    Hi michiel,

    I was able to have it pack correctly when I have some Value and Default inside the string parameter. I think the issue was it I let it empty before.

Please sign in to leave a comment.