ability to use variables for source locations - 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!

croftj
Posts: 3
Joined: Thu Mar 22, 2007 4:02 pm

ability to use variables for source locations

I have a couple of projects. These get built on more than one machine and any 3rd party DLLs and such which I need to put into my installation may be located in different locations on the machine in which I am building the package on.

I can't find anywhere in the documentation that I can use a variable to set the name of the source directory to find the DLLs in. This forces me to change the path on 15 files one at a time instead of making one change and having the appropriate path set.

Any help will be appreciated.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

This can be done in the "Edit Project Settings" dialog. For more details please see:
http://www.advancedinstaller.com/forums ... php?t=2170

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
croftj
Posts: 3
Joined: Thu Mar 22, 2007 4:02 pm

Hi Gigi,

I may be missing something, but your link leads back to my post. I looked under the project settings in the documentation and I do not see what I am looking for. Of course, I may be misunderstanding what it is teling me.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

Sorry for that link, copy/paste problem. Here is the help link:
http://www.advancedinstaller.com/user-g ... s-tab.html

If this is not what you are looking for, please give me more details.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
croftj
Posts: 3
Joined: Thu Mar 22, 2007 4:02 pm

Gigi,

This does not work. For example, I use the qt library from trolltech. It quite often resides on two different drives and the versions may be different as well. Asn axample:

Machine 1
c:\Qt\4.2.1

Machine 2
e:\Qt\4.2.2

What would be nce is if I had a variable to set as the path foir Qt, something like QTPATH. That way I could modify the path variable as I move a project between the two files. I would not have to modify each of the 10 or so files associated with the QT library I need to create in projects instalation MSI.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

You can try with synchronized folder and when you move the project to other computer you can change the "Source Path" of the synchronization.

You can read more about synchronized folders here:
http://www.advancedinstaller.com/user-g ... lders.html

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”