How can I create my own installer environment variables?

Answered

Comments

1 comment

  • Avatar
    Jake

    You can create custom environment installer variables using a <setInstallerVariable> action. For example:

    <setInstallerVariable>
       <name>serverport</name>
       <value>3306</value>
    </setInstallerVariable>
    

    The code above will create an installer environment variable called serverport, which can later be referred to as ${serverport}. Wherever it appears, it will be substituted for its value during installation.

Please sign in to leave a comment.