View Full Version : Setupbuilder 6 / webupdate...
NewsArchive
03-19-2007, 05:24 AM
ok, i've got the following code on accepted event of a button...
run('wupdate.exe',1)
problem is the wupdate runs but is hidden behind the frame of my app. how do
ya fix that?
pratik patel
NewsArchive
03-19-2007, 05:24 AM
Pratik,
What I do is force the user out of the program so the update won't be
attempting to overwrite file(s) that are in use. Then at the conclusion of
the update I launch the program from wupdate.
Not an answer to your question, but something to think about.
--
Regards,
Lee
http://www.cya2day.com
NewsArchive
03-19-2007, 05:24 AM
Hi Pratik.
Three things jump to mind..
1. Minimize your EXE before running wupdate.exe, then restore your EXE
afterward.
2. With some API calls you can search for the wupdate.exe window and force
it to the front of the screen.
3. Ask Friedrich if he'll change wupdate.exe (the script is included with
SB, I haven't looked at it in a while though) to always stay on top.
Best Regards,
Gary.
Gary James
Strategy, South Africa
Web: www.strategyonline.co.za
Blog: www.strategyonline.co.za/blog
Skype: strategyonline
NewsArchive
03-19-2007, 05:24 AM
Pratik,
In your case, wupdate.exe tries to come to the foreground but "something"
does not allow it (your application steels focus, Windows seels focus,
etc.).
What happens if you select "Check for Updates" from the SetupBuilder IDE?
It should be in the foreground.
If you cannot "fix" it in your application, you can compile your own
wupdate.exe (open the Loop Wizard properties and enable the Always On Top
option).
HTH,
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
"point. click. ship" - that's SetupBuilder 6
Create Windows Vista ready installations in minutes
-- Official Comodo Code Signing and SSL Certificate Partner
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.