r00t
Posts: 28
Joined: Thu Jan 26, 2012 7:03 pm

Is there anyway to organize features based on directory

Hi AI,

Is there anyway to organize features based on directory structure?
for example, i have
APPDIR->[App1/App2/App3/App4]
all those forlders are under the Mainfeature for now,
but i've created 4 features now: Feature1/Feature2/Feature3/Feature4
What i want to do is to install each app based on the selection of its feature from the 'ConfigureDlg', and after the installation, i want to have those folder under my Program Files\MyApp

Thanks !
Last edited by r00t on Mon Apr 07, 2014 2:48 pm, edited 1 time in total.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: And is there anyway to organize features based on direct

Hello,

Since you already created the related features in the Organization page, you can select all files within a folder (e.g. App1) which you defined in the Files and Folders page and select the Move to Feature... option from the context menu, as it can be seen in the below image:
SelectAllFilesFromADirectory.png
SelectAllFilesFromADirectory.png (68.78 KiB) Viewed 5850 times
From the Feature Picker Dialog, you can select the feature to which you want to add the related resources (see the below image for your reference). A tree with all the available features will be presented. This tree has the same structure as the features tree from the Organization page.
SelectFeatureDlg.png
SelectFeatureDlg.png (51.91 KiB) Viewed 5850 times
Please let us know if you need any help.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
r00t
Posts: 28
Joined: Thu Jan 26, 2012 7:03 pm

Re: And is there anyway to organize features based on direct

That's exactly what i wanted !
Thank you Dan :)
r00t
Posts: 28
Joined: Thu Jan 26, 2012 7:03 pm

Re: And is there anyway to organize features based on direct

i'm using a 'ConfigureDlg' to display & Choose which of these feature to be installed in a Tab "AI_CONFIG_TABHOST_PROP".
Now, what i want is , install the 'Feature 2" only if the "Feature 1" is selected to be installed, if not, it shouldn't be installed by default.
Thanks
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Is there anyway to organize features based on directory

Hello,
install the 'Feature 2" only if the "Feature 1" is selected to be installed, if not, it shouldn't be installed by default.
In order to achieve that, you can go in the Organization page and drag the Feature 2 under the Feature 1 see the below image for your reference:
FeatureStructure.png
FeatureStructure.png (35.2 KiB) Viewed 5838 times
Having this three structure, you cannot select to install Feature 2 without install Feature 1 but, you can install Feature 1 without installing Feature 2.

Please let us know if you have other questions.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
r00t
Posts: 28
Joined: Thu Jan 26, 2012 7:03 pm

Re: Is there anyway to organize features based on directory

That solved my problem,
thank you Dan. ;)
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Is there anyway to organize features based on directory

You're welcome,

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”