Recording options during install

Comments

1 comment

  • Avatar
    wojciechka

    InstallBuilder does not provide this feature.

    However, your installer may store some values using simple actions:

    <writeFile> <path>${installdir}/install.option</path> <text></text> </writeFile> <foreach> <values>installdir option1 option2 option3</values> <variables>key</variables> <actionList> <propertiesFileSet> <file>${installdir}/install.option</file> <key>${key}</key> <value>${${key}}</value> </propertiesFileSet> </actionList> </foreach>

    This will write values for option1, option2, option3 in the install.option file.

    This can be combined with some option that, if specified, will store the options in the specified file.

Please sign in to leave a comment.