PDA

View Full Version : Silent Install



NewsArchive
01-16-2006, 01:17 AM
Hi Friedrich

Is it possible to set the SB5 Web Update so that the check for a newer
version is done completely silently in the background without any dialog
windows opening unless there is a newer version available?

Also it should not try to make a connection to the Internet if not already
connected (in case they are using dial up, in which case it would be a
nuisance if the Setup kept trying to establish a connection).

If it is possible, please give me an idea how to do it. I've used the /S
switch but it still brings up the dialog asking if I want to check.

Many thanks

Mike Loney
Hotstart Software
Perth Australia

NewsArchive
01-16-2006, 01:17 AM
Hi Mike,

Please try the /C command line switch. This should check for a newer
version completely silently in the background.

It returns 1 if an update is available and 0 if there is no newer version
available.

BTW, there is no reliable way to check if the computer is really connected
to the Internet. We have a function available that works in 90% of all
possible cases. I'll see if we can add it to one of the next builds.

Friedrich

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 5

NewsArchive
01-17-2006, 09:44 AM
Thanks Friedrich

It this option documented? I don't seem to be able to find it.

In order to use this option I had to use the following code before the
window opened:
!Check for Update (silent)
RUN('wupdate.exe /C',1) !check if there is a newer version (/C =
silent) and wait for response
IF RUNCODE() = 1 !1 = yes
RUN('wupdate.exe',1) !check again with dialog
END

Is this the recommended use or is there a more elegant way?
What would be nice is for the utility to simply show that there is a newer
version available, otherwise do nothing.(as in Norton Live Update).

Thanks

Mike

NewsArchive
01-17-2006, 09:45 AM
Mike,

See wupdate.sb5 source code. The script is available so you can build
your own tool(s). Just comment out the download part and you are done.

BTW, your code should work fine.

Friedrich

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 5

NewsArchive
01-18-2006, 12:12 AM
Thanks, I missed that!

Mike Loney