Global path variable - Advanced Installer Community
fly
Posts: 10
Joined: Wed May 07, 2014 7:25 pm

Global path variable

We have a shared network drive that contains our source files (ppl can have this drive mapped as whatever, X: Y: Z: etc). There are several people that need to be able to open and build Advanced Installer projects off of this networked drive for several different builds. It seems like the path variables are stored per machine. So if I create a path variable, and another use opens the aip file on a separate machine, it will not find the source files. Any suggestion on how people can easily open and build without having to go in and create their own path variables and then convert?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Global path variable

Hello,

To achieve what you want, as a workaround, you can create a system environment variable, on Windows OS of every user's machine, which will point to the local mapped drive (e.g. X:\, Y:\, etc). Then, on a user's machine open your project in Advanced Installer, create a new private path variable (which will be used only by the current project) that will be resolved to the above system environment variable, convert to path variable all of your project file references and save the project. Afterwards, every time the project is opened on another machine its resource file references will be resolved to the current path set in the project's private path variable.

If you have any questions let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”