Create a property-based sub-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!

mentalmushroom
Posts: 63
Joined: Wed Feb 08, 2012 8:08 am

Create a property-based sub-folder

Hello. I need to create a sub-folder inside "Local Application Data". The name of the sub-folder must be the same as [ProductName]. I managed to achieve this by creating a custom action that sets a property from a formatted text string, but isn't it possible just to create a sub-folder inside "Local Application Data" whose name is a property value? I see it adds sub-folders, but only when the name is a simple string.
No milk today
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Create a property-based sub-folder

Just use this string as folder name "[|ProductName]". This will instruct Advanced Installer to resolve the name of the folder at build-time, not install time, notice the pipe character.
http://www.advancedinstaller.com/user-g ... atted.html

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”