thill
Posts: 111
Joined: Sat Jan 21, 2012 5:58 pm

Project-based Path Variables option

I switch between installer projects, sometimes several times a day. Each project has it's own set of source directories for the content of the installer. Path Variables are saved for each AI project and manually loaded - which is prone to forgetting which causes problems.

It would be very helpful to have the option to define a Path Variables file, the path being stored in the project file, for a project. When that project is loaded it's Path Variables are also loaded. Any time a Path Variable is changed in this case it would be automatically saved to the Path Variables file when the project file is saved.

Command-line definitions would override file-based definitions.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Project-based Path Variables option

Hi,

Per-project path variables are already supported. Simply check the Private variable available only in this project option when creating a new variable.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
thill
Posts: 111
Joined: Sat Jan 21, 2012 5:58 pm

Re: Project-based Path Variables option

cosmin wrote:Per-project path variables are already supported. Simply check the Private variable available only in this project option when creating a new variable.
To clarify - does that mean when AI is started it reads the project-based variables so when going from one project to another they change at start-up time?

Thank you very much for your time.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Project-based Path Variables option

Hi,

Yes, the path variables are read for each project. So if one of your projects has different path variables, they will be used when loading the project.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
thill
Posts: 111
Joined: Sat Jan 21, 2012 5:58 pm

Re: Project-based Path Variables option

Changing from global to project-based Path Variables is difficult due to AI GUI rules. It might be worth considering enhancements in that area.

Return to “Feature Requests”