sincos2007
Posts: 9
Joined: Sun May 20, 2018 5:02 am

Change target folder when select different feature

I have two feature in my installation project. I have add setup type dialog in my project. How can I implement this:

In the feature selection dialog, the target folder change to different folder when I select different feature. For example:

C:\Program Files\QQ
C:\Program Files\MX

Thanks
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Change target folder when select different feature

Hello and welcome to our forums,

This can be done by configuring a different directory for each feature within the :Organization" page of your project. Just go to "Organization" page, select your feature and set the "Directory" field to the desired folder property. Please note that here you can set only public properties folders.

Therefore you can createtwo property-based folders which will be set to the desired paths and use their properties as directories for your features.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sincos2007
Posts: 9
Joined: Sun May 20, 2018 5:02 am

Re: Change target folder when select different feature

Thank you and your help is very helpful to me
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Change target folder when select different feature

You are always welcome.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”