Install Files To A Pre-existing Folder? - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

morebeer
Posts: 8
Joined: Tue Jun 21, 2011 10:14 pm

Install Files To A Pre-existing Folder?

I just started looking at Advanced Installer a few days ago and would like to know how to install files to a folder that already exists on the end users system? Such as a file needing to be installed to:

C:\Program Files\Adobe\Adobe Illustrator CS5\Illustrator Filters

Thanks!
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Install Files To A Pre-existing Folder?

Hi,

You can try this approach:
- create a search for your folder in Search page; you can name it ILLUSTRATOR_CS5_FILTERS_PATH
- use this search property for a property-based folder in Files and Folders page
- add your files in this folder
- in Custom Actions page add a Property set with formatted custom action under InstallUISequence -> AppSearch
- configure it to set the search property to a valid path, for example:

Code: Select all

[ProgramFilesFolder][Manufacturer][ProductName]
- set the custom action condition to:

Code: Select all

NOT ILLUSTRATOR_CS5_FILTERS_PATH
In this example ILLUSTRATOR_CS5_FILTERS_PATH is the search property and it will contain the search result. The custom action sets the property to a valid path in case the search doesn't find anything.

Additionally, you can condition the file components in Organization page with the same property. This way the files in your custom folder will not be installed if the property is empty.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
morebeer
Posts: 8
Joined: Tue Jun 21, 2011 10:14 pm

Re: Install Files To A Pre-existing Folder?

Thanks. Got it all working now. This is a nice product.

Return to “Common Problems”