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

Got a problem you cannot solve? Try here.
JohnO
Posts: 127
Joined: Tue Jun 18, 2013 9:52 am

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

Postby JohnO » Mon Nov 25, 2013 12:05 pm

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

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

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

Postby FrancescoT » Mon Nov 25, 2013 1:36 pm

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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

JohnO
Posts: 127
Joined: Tue Jun 18, 2013 9:52 am

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

Postby JohnO » Mon Nov 25, 2013 3:09 pm

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

JohnO
Posts: 127
Joined: Tue Jun 18, 2013 9:52 am

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

Postby JohnO » Tue Nov 26, 2013 10:07 am

I have explored this, and realise my last question was a load of rubbish!
Please ignore. I'm working on a different approach.

John

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

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

Postby FrancescoT » Tue Nov 26, 2013 11:45 am

:D
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: Baidu [Spider] and 111 guests