WillemH
Posts: 6
Joined: Fri Sep 12, 2008 10:48 am

Problem with properties <> Batch Building

For several reasons, we have to use batch building, using command files to change some settings.
A file we use is simular to this one :

;aic
SetVersion 5.1.0
SetProperty INSTALLTYPE=0
SetProperty ProductName="Suite 1"
SetProperty PRODUCTNAMESHORT="S1"
SetProperty APPDIR="[WindowsVolume]U4A\Suite 1"
save
rebuild
;
SetVersion 5.1.0
SetProperty INSTALLTYPE=1
SetProperty ProductName="Suite 2"
SetProperty PRODUCTNAMESHORT="S2"
SetProperty APPDIR="[WindowsVolume]U4A\Suite 2"
save
rebuild

Now, using the [WindowsVolume] this way doesn't seems to work. Are properties not translated to real values when
using command files? We do need to use this property to avoid problems with defaults pointing to a invalid drive
(For exampel on Citrix systems).

When we use the "[WindowsVolume]U4A\Suite 2" within AI IDE in the "Application Folder" field, everything works ok.
Any help would be appriciated !
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Problem with properties <> Batch Building

Hi,
Are properties not translated to real values when using command files?
I'm afraid this is not supported by the command line interface. However, I have added this improvement and it will be available in a future version of Advanced Installer. Thank you for your suggestion.
Until then, a solution is to use the Advanced Installer GUI.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”