passing variable value to post install script as an argument


1 comment

  • Avatar

    All parameters are stored as variables with same name as the parameter's name - for example ${installdir} is the value of the installdir parameter (or its default value if accessed before showing the parameter).

    So, to you can simply do:

    <preInstallationActionList> <runProgram> <program>${installdir}/</program> <programArguments>"${variable1}" "${variable2}"</programArguments> </runProgram> </preInstallationActionList>

    For variable1 and variable2 parameters.

Please sign in to leave a comment.