Can we change files&Folders path dynamically? - Advanced Installer Community
MagicLiu
Posts: 16
Joined: Thu Jun 18, 2009 1:10 pm

Can we change files&Folders path dynamically?

I want to change files and folders path dynamically. I'm useing visual build to call AI to build our product automatically.
Such as, when I install some concerning files, if the package is for English version, I only select "string_en" folder and install them into target folder, if the package is for Chinese version, I only select "string_cn" folder.

Can I set that by changing some property's value? Or by some command?
Or other soluctions, please let me know.

Thanks!!!!
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Can we change files&Folders path dynamically?

Hello,

You can follow these steps:
- create a new synchronized folder using the New Synchronized Folder command, for example like this:

Code: Select all

AdvancedInstaller.com /edit MyProject.aip /NewSync APPDIR\string C:\string_en
- build the project
- delete the localized folder. The command looks like this:

Code: Select all

AdvancedInstaller.com /edit MyProject.aip /ResetSync APPDIR\string -clearcontent
Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”