Features and files - 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!

Dashut
Posts: 142
Joined: Tue May 04, 2010 4:41 pm

Features and files

Using AI 7.7: There seems to be a mix with "Features".
It looks like it's not working as it should.
First of all, I would expect that I will see ONLY the files that I added when I selected a "Feature".
So if I have two features:
1. Streamer
2. Updater

Then when I choose the Streamer Feature, I want to see in the "Files and Folders" ONLY the Streamer files that I added.
And when I choose the Updater Feature, I want to see in the "Files and Folders" ONLY the Updater files that I added ("filtering" the rest).
Since right now it's mixed, and shows all, I ran a diff program on the *.aip, and it looks like AdvancedInstaller is NOT connecting the right files for the right features! It seems there's something wrong there (in the code), but since you always show ALL files - without FILTERING them even when I choose a specific Feature name: then that's why this problem happens.

This is a much needed functionality of AdvancedInstaller when working with Features!
Now I can't be SURE that the files I selected for a certain Feature are REALLY matching this feature! and not something else!

What to do? (I left Chained MSI's to work with Features, but I see AdvancedInstaller is incomplete here...)
Dashut.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Features and files

Hello Dashut,

Indeed we are not filtering files in the view based on the selected feature. This is because the feature they belong to can easily be viewed in the Features column on the Files and Folders page.
To make the Features column visible, right click on any other column and select "Feature" from the menu.

Another more indirect way to see if your file belongs to a feature is you right click a file and select "Go to Component". You will be taken to the Organization page, with the component your file belongs to selected.

I hope this helps.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
Dashut
Posts: 142
Joined: Tue May 04, 2010 4:41 pm

Re: Features and files

Yes, this helps, thank you very much.
Dashut.
suman
Posts: 20
Joined: Thu Mar 18, 2010 1:01 pm

Re: Features and files

Rearding Copying of files into muliple locations:
Description:
I want the user to enter the root directory of his machine..and I need to copy the file into two different sub directories of the root directory and it should happen only while the installation is in progress..
Please provide me the help as soon as possible
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Features and files

Hello,

The root directory of the drive containing windows is held in the WindowsVolume property, meaning there is no need to prompt for user input.
Our guide on installing files in a custom folder describes how to install files in a property based folder.
You would base your two folders on either WindowsVolume or the property containing the location the user provided (APPDIR if you are using the defaults). Under the property based folder you would create your two folders and place your files there (on the Files and Folders page).

It is best you read our Tutorials, especially the simple and professional ones, if you feel you need to revise some of the notions in Advanced Installer.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”