Silent install commandline parameters

Got a problem you cannot solve? Try here.
zchris
Posts: 92
Joined: Wed Feb 23, 2005 3:16 am
Location: Austria

Silent install commandline parameters

Postby zchris » Tue Sep 06, 2005 4:52 am

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?

sinan
Site Admin
Posts: 1021
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Tue Sep 06, 2005 6:16 am

Shouldn't be. Can you send me your built files and or the setup project so we can look at it?

zchris
Posts: 92
Joined: Wed Feb 23, 2005 3:16 am
Location: Austria

Postby zchris » Tue Sep 06, 2005 7:12 am

I've sent you the files via email.

It includes the setup.exe and project files.

Thanks!

sinan
Site Admin
Posts: 1021
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Tue Sep 06, 2005 9:30 am

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?

sinan
Site Admin
Posts: 1021
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Tue Sep 06, 2005 9:35 am

I believe we have found the problem. An update will be posted shortly. Thanks for catching this!

zchris
Posts: 92
Joined: Wed Feb 23, 2005 3:16 am
Location: Austria

Postby zchris » Tue Sep 06, 2005 11:39 am

Great! Thank you for the quick response! :D

zchris
Posts: 92
Joined: Wed Feb 23, 2005 3:16 am
Location: Austria

Postby zchris » Wed Sep 07, 2005 3:21 pm

I installed the update and the parameters are now working. Thanks!


Return to “Technical Support”

Who is online

Users browsing this forum: Google [Bot] and 30 guests