Installing additional files to AI_ProgramFiles - Advanced Installer Community
ZombiesWithCoffee
Posts: 4
Joined: Fri Sep 26, 2014 6:03 pm

Installing additional files to AI_ProgramFiles

I need to install a directory structure of xml files to the [AI_ProgramFiles][Manufacturer] directory.

I'm using "[AI_ProgramFiles][Manufacturer]\Enrollment" as the Installation Folder and that's perfect. This is a Mixed 32/64 Package and everything is working fine except for this one issue.

When installing these xml files, I want to install it at "[AI_ProgramFiles][Manufacturer]\XMLFiles". Notice that it's not in the application directory because these files will be used across many different applications.

When adding files via the 'Resources: Files and Folders" page, I can either install in "Program Files" or "Program Files 64", but there isn't an option for AI_ProgramFiles.

If I install them under "Program Files 64", then they don't install on a x86 system since that folder doesn't resolve.
If I install them under 'Program Files", then on a x64 system, they install to "C:\Program Files (x86)" and are now in a completely different folder than the application.

http://www.advancedinstaller.com/user-g ... types.html

So, how do I install additional files to the AI_ProgramFiles resolved directory?
Note: We're talking about 100+ xml files and directory structures and I really don't want to add/maintain two sets of files in the install.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Installing additional files to AI_ProgramFiles

Hello,

Please note that you can add the related .XML files in both places, "Program Files 64" and "Program Files". They will only be added once in the setup package. We automatically detect that the same files are used and we do not add them several times.

Let me know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ZombiesWithCoffee
Posts: 4
Joined: Fri Sep 26, 2014 6:03 pm

Re: Installing additional files to AI_ProgramFiles

The good news is that it's exactly how I currently have it setup. It's a little bit of a hidden feature, but as long as it works. Thanks for the information!
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Installing additional files to AI_ProgramFiles

You're welcome,

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”