Page 1 of 1

Silent install commandline parameters

Posted: Tue Sep 06, 2005 4:52 am
by zchris
I am trying to specify a parameter for a silent install.

The script contains a default value for the parameter SERVERNAME:

Code: Select all

Set Variable SERVERNAME to localhost

On the commandline I specify setup.exe /s SERVERNAME=test

However in my script $SERVERNAME$ is always empty.

When I do a logged install the log file lists the variables as:

*** Variables ***
UNINSTALLLINK,
[...],
CMDLINE,"s /l=c:\\test.log SERVERNAME=test /m=""C:\\SETUP.EXE"" /k=""""",
[...]
SERVERNAME,,
[...]

Why is SERVERNAME empty?

Posted: Tue Sep 06, 2005 6:16 am
by sinan
Shouldn't be. Can you send me your built files and or the setup project so we can look at it?

Posted: Tue Sep 06, 2005 7:12 am
by zchris
I've sent you the files via email.

It includes the setup.exe and project files.

Thanks!

Posted: Tue Sep 06, 2005 9:30 am
by sinan
I'm not sure why this is happening. I'll have to get back to you on this one after some research.

Can you try other variables, such as pre-defined variables like TARGETDIR, in the interim as a stopgap solution?

Posted: Tue Sep 06, 2005 9:35 am
by sinan
I believe we have found the problem. An update will be posted shortly. Thanks for catching this!

Posted: Tue Sep 06, 2005 11:39 am
by zchris
Great! Thank you for the quick response! :D

Posted: Wed Sep 07, 2005 3:21 pm
by zchris
I installed the update and the parameters are now working. Thanks!