Max2950
Posts: 5
Joined: Fri Oct 22, 2004 9:34 am

Organization view problems....

Hi everyone !

I'm currently testing AdvancedInstaller Trial version... At this time i'm amazed by it's ease of use ! But i am facing the following problems :

My application contains additional hardware drivers.
I want to let the user choose which drivers he wants to install, so i have added the right dialogs to my setup project.

I also added the "inf" folder under the "Windows" folder...
Here i drop my two inf files for my two peripherals.
In the organization view both inf files are listed in the same component, but i want them to be two separated features.

At this time i am unable to do this because the two "inf" files are listed under the same component. :cry:

Thanx for reading, best reagards...
Max2950
Posts: 5
Joined: Fri Oct 22, 2004 9:34 am

After some more testing i'm able to have both of my inf files as separate components if i put them in separate directories.

But i don't want to do that, because i want the user to have to plugin their peripherals and not to have to browse around searching for the files....
Philip
Posts: 27
Joined: Fri Apr 04, 2003 2:06 pm
Contact: Website

At this time Advanced Installer cannot have two inf files from the same directory in two different components.

I will add this feature to our TO DO list.

Meanwhile, you can do this by manually editing the .aip project file. If you are interested, please follow the steps below:

Let's suppose our two ini files are called test1.inf and test2.inf.

1) create a folder in Files and Folders (folder1) and place the first inf file in it
2) create a new subfolder (folder2) under the above folder and place the second inf file in it
3) close the Advanced Installer application and open the project file (.aip) in a text editor
4) identify the Directory row of the folder where your second inf file resides and remove it:

<ROW Directory="folder2_DIR" Directory_Parent="folder1_DIR" DefaultDir="folder2"/>

5) identify the component of the second inf file and modify the following fields:
a) change the directory field to be the same as the one from the first .inf file
b) replace folder2 from the FullKeyPath field with the name of your second inf file

Example:

1) before

<ROW Component="test2.inf" ComponentId="{BA4B6D62-4AC6-4F9E-8094-C1D3888FDA98}" Directory_="folder2_DIR" Attributes="0" Condition="" KeyPath="test2.inf" FullKeyPath="TARGETDIR\folder1\folder2"/>

2) after

<ROW Component="test2.inf" ComponentId="{BA4B6D62-4AC6-4F9E-8094-C1D3888FDA98}" Directory_="folder1_DIR" Attributes="0" Condition="" KeyPath="test2.inf" FullKeyPath="TARGETDIR\folder1\test2.inf"/>

Hope this helps,

Philip
Philip Petrescu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
markjones_nz
Posts: 1
Joined: Tue Nov 09, 2004 9:41 pm
Location: New Zealand

Similar Organization view problems....

Hi,

I have had similar problems as detailed above, took me a while to figure out how it was grouping things and mostly it isn't a problem. Although sometimes it does seem to group them is strange places (but I can fix by editing the .aip file) The problem I have is with borland .bpl files as it groups them together. Once again mostly not an issue but sometimes I want them seperated. They are basically .dll files (they are in PE format and have version information in them etc) Any chance they could be treated the same as .dll files in a future release?

Good news is that for the mean time I can do it manually using the steps above.

However overall I am very happy with the product. Thanks all

Mark Jones

Return to “Common Problems”