Comments

1 comment

  • Avatar
    michiel

    Hi,

    Yes, that's possible using a directory parameter. You can set up the parameter to either be prompted to the user, or hide it and use your own value:

    <directoryParameter>
      <name>installdir</name>
      <description>Installation directory</description>
      <explanation>Please specify the directory where
    ${project.fullName} will be installed</explanation>
      <insertAfter>welcome_label</insertAfter>
      <default>${platform_install_prefix}/${project.shortName}-${project.version}</default>
      <cliOptionName>prefix</cliOptionName>
      <mustBeWritable>yes</mustBeWritable>
      <mustExist>0</mustExist>
    </directoryParameter>

    Regards,

    Michiel

Please sign in to leave a comment.