How can I create dynamic subfolder? - 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!

AlexN
Posts: 67
Joined: Mon Aug 20, 2012 2:05 pm

How can I create dynamic subfolder?

I need to create different folders into Common Application Data dependent from different build types.
When I create Property based folder it is always created on the root.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: How can I create dynamic subfolder?

Hello Alex,

To accomplish this here's what you can try:
- create as many folders as you need for each build from the Files and Folder page
- go to Organization page and create a feature for each build (select a feature and use the the Builds group from the right pane)
- move each folder's component into its associated feature
(hint : pressing F8 in Files and Folder page while the folder is selected will change the view and highlight its component in the Organization page)

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
AlexN
Posts: 67
Joined: Mon Aug 20, 2012 2:05 pm

Re: How can I create dynamic subfolder?

- create as many folders as you need for each build from the Files and Folder page
I need only one folder with compex structure and some files with additional permission settings, So it is very bad to copy all (we can't sync it right in the future)
It could be used as workaround but it is not a solution.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: How can I create dynamic subfolder?

Hello Alex,
It could be used as workaround but it is not a solution.
Please keep in mind that permissions will not be imported and you'll have to manually set them from within the Advanced installer project for each file (.AIP).

Also, I'm afraid the easiest solution is to:
- have several synchronized folders in the installer project (they can point to the same folder on your hard drive)
- organize the folders into features using the approach from my initial post
- manually configure the permissions settings for the files in each similar synchronized folder

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”