Variable for AdvancedInstaller install directory
Answered
Hi,
I have a project that I have installed the AdvancedInstaller plugin to build my install MSIs.
For each build configuration, I made a build step that runs the AdvancedInstaller program. In the build step, I have to specify the "Installation root" (meaning where AdvancedInstaller is located on disk)

I have two questions:
How do I setup a variable that contains the path ?
How do I specify that variable in the build step that will satisfy "installation root" ?
Thanks
Please sign in to leave a comment.
Hi Mike,
at any point in the build configuration or project level (including root project if you want to share it to all your projects), you can set up a "Parameter" in the configuration pages of that build conf/project. That parameter will then be available for this text field through %<parameter_name>% to all the children of the hierarchy (e.g. if you set it up in the root project, it will be available to all projects, if you set it up in a build configuration, it will only be available in that build configuration). An autocomplete helper should pop up as soon as you start typing to assist you with the name.
You can also set it up as an environment variable and either put it up as a requirement for agents if you want to stop agents that don't have it set up from running this builds, and then reference the environment variable through %env.<variable_name>%.
More details on how to use this parameters here:
https://confluence.jetbrains.com/display/TCD10/Configuring+Build+Parameters