PDA

View Full Version : Install Web Update



NewsArchive
02-21-2006, 01:00 AM
So I got Web Update working.
But how can I get the user to close my app before installing the update
(Like the web update for setup builder)

--
Eric Jacobowitz
www.castlecomputer.com

NewsArchive
02-21-2006, 01:00 AM
Use the Script items "Check In-use File" and "Terminate Active Instalation".
Their use is self-explanatory.

Mike

NewsArchive
02-21-2006, 01:01 AM
Hi Eric,

>So I got Web Update working.
>But how can I get the user to close my app before installing the update
>(Like the web update for setup builder)

Here is what I do:

Run('wupdate.exe /C /S',1)
If RunCode() = 1
Message('New updates available')
Run('wupdate.exe')
Halt()
Else
Message('There are no new updates')
End

Best ergards,

Arnór Baldvinsson
Icetips Software
San Antonio, Texas, USA
www.icetips.com


Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php