How to move AIP file to another directory - Advanced Installer Community
karlf
Posts: 30
Joined: Tue Nov 01, 2016 7:30 pm

How to move AIP file to another directory

Sometimes I am working on a branch of my code and I make changes to the .aip file to go along with it. Is there a way to specify another directory for my "Files and Folders" page so that after I make changes in my branch .aip file, I can make those changes apply to my main codeline .aip file as well?

I will give an example. Suppose I branch my code off the mainline to work on adding updating features. I set up an aip project that support auto-updating in the branch off the codeline. All of the files used are the exact same, the only changes were to the aip project settings. When I get back to working on the codeline, is there a way to possibly choose a different folder as a "base" path for all the files in the "Files and Folders" tab, then copy over the .aip file from the branch back into the codeline so it has all the changes made, and then have Advanced Installer auto-resolve the paths underneath that folder for all the files I have included?

Currently, if I ever want to move the .aip file to another folder then make changes on it there, since all the paths are relative to the .aip file folder location, I have to re-input all of my paths. I have done this a couple times now, it is error prone, and I figure there must be a better way?

Thanks
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: How to move AIP file to another directory

Hello,

For this, you can take advantage of the path variable support. Paths are stored (in AIP) by default as *relative* to the project file (AIP), if they reside on the same logical drive as the AIP.
Otherwise, they are stored in absolute form.

Check available options here:
http://www.advancedinstaller.com/user-g ... s-tab.html

Also, be aware, that if you use project app paths (symbolic variable paths), they may be subject to environment changes (dependent on the machine where you open the project) - this being the intended behavior.
http://www.advancedinstaller.com/user-g ... ables.html
http://www.advancedinstaller.com/user-g ... h-var.html

Also, you might find useful the syncronized folders from Advanced Installer.

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”