Page 1 of 1

Web update - can we script providing password to setpup.exe?

Posted: Mon Nov 25, 2013 12:05 pm
by JohnO
We are exploring various ways we might overcome the fact the the download of the <setup>.exe can't handle the interruption of an id/pwd challenge.
This suggests that we have to password protect the <setup>.exe if it is accessed via a public url. One idea, to avoid having to ask the user to go and find the password, is to provide the password to the (modified) 'updates script.

Question: can this be done? The file itself looks to be a self-extracting 7zip file. And we know that setup.exe can provide the password to downloaded web media blocks, so I'm hopeful that this could be done for setup.exe itself.

John

Re: Web update - can we script providing password to setpup.

Posted: Mon Nov 25, 2013 1:36 pm
by FrancescoT
Dear John,

You may specify the password for encrypted setups on the command line. This will prevent displaying the password prompt box and attempt to use the password indicated on the command line. This option is most useful when used in conjunction with silent installations, since silent installations cannot prompt for a setup password.

<setup.exe> /k=<password>

Regards

Re: Web update - can we script providing password to setpup.

Posted: Mon Nov 25, 2013 3:09 pm
by JohnO
Dear Francesco
Thanks for a qui8ck reply - by the time I arrived home, there it was!

Could this be done within the 'updates' script by appending /k=password to

Code: Select all

Set Variable COMMANDLINE to $CMDLINE$

at the start of the script?

John

Re: Web update - can we script providing password to setpup.

Posted: Tue Nov 26, 2013 10:07 am
by JohnO
I have explored this, and realise my last question was a load of rubbish!
Please ignore. I'm working on a different approach.

John

Re: Web update - can we script providing password to setpup.

Posted: Tue Nov 26, 2013 11:45 am
by FrancescoT
:D