Shooky
19th July 2003 20:25 UTC
How can I write a "one click install" (install from the web) ?
Hi,
Let me start by saying well done to the guys that created NSIS.
I am currently writing my first serious install. My company had already bought Installshield for lots of $$$ so I gave it a shot. I spent about a week trying to write a pretty simple install before I gave up. It took me a couple of hours to find out about NSIS on google, read the manual and finish the entire install script.
Simply amazing.
And now for the question:
I need a way to post this install file on the web and have the user install it with one click - no "would you like to save the file or open it" messages, nothing but the digital signature dialog.
All the "one click installs" I saw were made with Installshield, but I realy don't want to go back to using Installshield just for this feature.
Do you know of a tool/open code project/way to implement this ?
DOCa Cola
19th July 2003 21:47 UTC
You mean something like this or a real file download?
http://www.rcsec.org/alberta/images/ie_security.gif
"One click" installations can be made with the help of
SilentInstall silent
excerpt from the documentation
4.8.1.33 SilentInstall
normal|silent|silentlog
Specifies whether or not the installer should be silent. If it is 'silent' or 'silentlog', all sections that have the SF_SELECTED flag are installed quietly (you can set this flag using see SectionSetFlags), with no screen output from the installer itself (MessageBoxes are still displayed on error, and the script can still display whatever it wants). Note that if this is set to 'normal' and the user runs the installer with /S on the command line, it will behave as if SilentInstall 'silent' was used. Note: see also LogSet.
Shooky
20th July 2003 07:11 UTC
I would post an installation file on the web and the user experience should be like this:
1) The user clicks a "click here to install" button.
2) The security warning dialog pops-up (that's ok, the install is digitally signed).
3) The user clicks "ok" on the security warning dialog.
4) The install is being runs.
I am already using 'SilentInstall silent' so that when the install runs it would be silent, but I can't get the posted install file to run immediately after the user clicks, without getting the usual "save or open file" message.
DOCa Cola
20th July 2003 08:34 UTC
then this is the right site for you
Internet Component Download
Shooky
20th July 2003 13:03 UTC
Thanks!
I'll look into it right away.