Ovia

How do you create destination folder on other system

Hi ,
Anybody help me out with this problem!
1. I created a project in my system and its working perfectly fine in my system but when i attach that aip file and try to open it from some other system in which the Advanced installer is installed i'm getting an error that its not able to open the project.
can anyone let me know how do you set destination folder property for other system while creating the project from ur system
2. I'm not able to drag the components i want from main feature into the subfeature in my organization page so that i can go on for custom installation . Please anybody who knows this software well help me out .
thanking you in advance ,
ovia
Mike
Posts: 292
Joined: Wed Jun 01, 2005 10:50 am
Location: Craiova, Romania
Contact: Website

Hi Ovia,

1. The error you are getting is probably due to a difference between versions of Advanced Installer on the two computers. What versions are you using? Also, what is the error that you are receiving?

2. The problem might be the fact that you are trying to move a resource (a file) and not a component. Components are identified by the "blue sphere with a red square" icon. If you want to move a file but not the component it is located in, you can choose from it's context menu "Move to new component" option. After this you can move the new component to the desired feature.

All the best,
Mihai
Mihai Bobaru
Advanced Installer Team
http://www.advancedinstaller.com
Ovia

How do you create destination folder on other system

Hi Mike ,
Thans for reply me this soon!!!!!!!!
1. One thing is that we both have same version 2.6.5 but in my system the software is licensed and it the other one its not . Thats the only diffrence according to me.
Then the project that is working perfectly fine in my system when i attach as zip file and try to open in the other system its giving build error and when i go to files and folder page i could see the status of the file size as ?? so kindly let me know what else could be done to solve it .
2. I was able to move the component with your suggesstions , Thanku so much for that , Can you please tell me what i shud do to add more that one component under a feature because i'm able to move only one component as so again its installing everything even though i want to install just one feature in the whole list .
Thanking You,
Ovia
Ovia

How do you create destination folder on other system

Hi Mike ,
Thans for replying me this soon!!!!!!!!
1. One thing is that we both have same version 2.6.5 but in my system the software is licensed and it the other one its not . Thats the only diffrence according to me.
Then the project that is working perfectly fine in my system when i attach as zip file and try to open in the other system its giving build error and when i go to files and folder page i could see the status of the file size as ?? so kindly let me know what else could be done to solve it .
2. I was able to move the component with your suggesstions , Thanku so much for that , Can you please tell me what i shud do to add more that one component under a feature because i'm able to move only one component as so again its installing everything even though i want to install just one feature in the whole list .
Thanking You,
Ovia
Mike
Posts: 292
Joined: Wed Jun 01, 2005 10:50 am
Location: Craiova, Romania
Contact: Website

Hi Ovia,

1. The AIP file is text file that contains information about your project. It does not contain the actual files that are to be included into the MSI file. Based on the settings in this file Advanced Installer will create the MSI file, when you issue the Build command.

The MSI file can be deployed on another computer, because all the files are included inside it.

So, you cannot build the MSI on the other computer because all the files that are supposed to be included in the project are left behind on your computer. There is a way around this but it is very tricky. You could take the AIP along with all the files, but, you have to work with paths relative to a root folder.

2. You cannot move more than one component at a time. If you want a feature not to be installed by default, select it and choose as "Install Level" the value "4 (Complete)".

If you provide more details on what you are trying to achieve I can guide you step by step.

All the best,
Mihai
Mihai Bobaru
Advanced Installer Team
http://www.advancedinstaller.com
Ovia

Hi Mike ,
Your answer gave me some peace as i was strugglling on it for more than 3 days. Actually In my work Place my boss had asked to me create sample install programs using Advanced installer which i tried to ,as i mentioned earlier its working fine in my system but not in my boss system .
I attached the application page, the setup file to him and its giving error while rebuilding it on his system. I have a doubt if my boss just opens the setup file and try to install the programs it shud be fine right instead of rebuilding it and running it again or is it necessary it have to be rebuild again.
From ur answer i understand that i cant rebuild msi file again in another system.kindly clear my doubt .
thanking you ,
Ovia
Ovia

Hi Mike ,
I got a sample project from my boss, first time even i was not able to open it in my system and i was getting the same error then he took my system under the control of remote assitance and then he made certain changes in the Winzip (I think he installed it from server on to my settings and made some more changes ) because the project was zipped and sent to me .
then i was able to rebuild it , i really don't understand how is it possible . Do you get any idea about this ? Could there be any problem in me attaching the project ?
I created 3 sample notepad and name it as test 1,2,3 resp and created a project with registry values ,shorcuts,Setup type, Uninstall option and also a license file . Can you please tell me setting registry value would have been the cause???
Thanking You ,
Ovia .
Mike
Posts: 292
Joined: Wed Jun 01, 2005 10:50 am
Location: Craiova, Romania
Contact: Website

Hi Ovia,

Here is a simple way to make your project work on other computers:

- Create a folder, say, "MyProject".
- Copy all the files and folders that you are planning to add to your project.
- Create a new project with Advanced Installer.
- Open the "Project"->"Options" menu.
- Make sure that the "Paths are relative to Project Root Path" and "Except when on a different drive" options are selected.
- Include the files and folders from "MyProject" folder.
- Save the project (AIP file) also in "MyProject" folder.

You can Zip this folder and copy it on another computer. There shouldn't be any building problems.

PS

The building problem has no relation to the registry values in your package. The only problem is that the placement of files on your computer doesn't match their location on the machine at your work place.

If a file has ??? in the size field it means it is not found at the location stored in the AIP file. You can use the [...] button, on the properties page of that file, to manually change the "Source Path" of that file. In this way you can manually point to a "missing" file, provided it exists somewhere on that computer.

Also, the MSI file should run "alone" on your bosses computer, as long as you didn't choose the "Place files unpacked in folders next to the MSI database" option from the "Media" page.


All the best,
Mihai
Mihai Bobaru
Advanced Installer Team
http://www.advancedinstaller.com
Ovia

Realive path

Hi Mike ,
I followed that procedure and it was working fine.wat is the difference ?Is it in the naming convention that has created the error ?
Actually i didn't create any features on the "My Project " aip . If i wud have given the same name like u said me to , wud all the previous projects work ????
Then can you please tell me where I can learn more about the relative path (relative , absolute, conversion) , features , compoents, structures in detail regd Advanced Installer .
I went through help it was giving only the definition , i need a detailed description of it to use advins properly.
And i wud like Thank you for your time and strain.
Thanking You,
Ovia .
Mike
Posts: 292
Joined: Wed Jun 01, 2005 10:50 am
Location: Craiova, Romania
Contact: Website

Hi,

There is relation between the names in your project and the build errors. The only thing that can go wrong is for a file not to be found where it was supposed to be. This happens of course when you move the AIP on another machine, which has a completely different folder structure.

So, unless you take all the files along, you will get a build error.

You can get more information on using Advanced Installer using the tutorials included in the help file. You can find them also at this URL:

http://www.advancedinstaller.com/user-g ... rials.html

For more information on features, components etc please visit:

http://msdn.microsoft.com/library/defau ... atures.asp

Regards,
Mihai
Mihai Bobaru
Advanced Installer Team
http://www.advancedinstaller.com
Ovia

setting registry values for current user and administrator

Hi Mike ,
How are you ? I'm back again with few doubts .
1.Can You Please let me know how do you set up user defined values for the features in the install parameter page dynamically without using complete option .That is if i have feature say test 1 , how do i enable this test 1 dynamically .I tried with true ,false and 0,1 but it didn't work so can you please tell me the procedure
2. Then can you tell me how to set registry values for current user and administrator ?I mean it shud also give me option for that .
3.While installing a program in the middle if i need to take some files from the web not from the system how do i do it ?
Please let me know this , it will be of great help.
Thanking You,
Ovia
Ovia

Hi Mike ,
Can you please clear my doubts regd Advanced Installer .
Thanking You ,
Ovia
Mike
Posts: 292
Joined: Wed Jun 01, 2005 10:50 am
Location: Craiova, Romania
Contact: Website

For the answer, please go to:

http://www.advancedinstaller.com/forums ... =1985#1985

All the best,
Mihai
Mihai Bobaru
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Feature Requests”