Nesting Installers, or an installer of installers

Comments

1 comment

  • Avatar
    michiel

    Hi John,

    To install each component in a different directory you could add a directory parameter for each component. For example:

    <componentList>
       ...
    <component>
    <parameterList>
    <directoryParameter>
    <name>installdir_component1</name>
    <value>${platform_install_prefix}/${product_shortname}-component1</value>
    </directoryParameter>

    </parameterList>
    <name>component1</name>
    <description>component1</description>
    <canBeEdited>1</canBeEdited>
    <selected>1</selected>
    <show>1</show>
    </component>
      ...
    <component>
    <parameterList>
    <directoryParameter>
    <name>installdir_component2</name>
    <value>${platform_install_prefix}/${product_shortname}-component2</value>
    <allowEmptyValue>0</allowEmptyValue>
    <ask>yes</ask>
    <cliOptionName>prefix</cliOptionName>
    <mustBeWritable>yes</mustBeWritable>
    <mustExist>0</mustExist>
    <width>30</width>
    </directoryParameter>
      ...
    </parameterList>
      ...
    <name>component2</name>
    <description>component2</description>
    <canBeEdited>1</canBeEdited>
    <selected>1</selected>
    <show>1</show>
    </component>
       ...
    </componentList>

    Regards,

    Michiel

    0
    Comment actions Permalink

Please sign in to leave a comment.