PDA

View Full Version : wucheck.exe and wupdate.exe



NewsArchive
03-17-2009, 03:40 AM
Hello Friedrich,

be happy that i can use the wucheck now :-)

In the documention you write that i need both wucheck.exe and wupdate.exe. For
what i need the wupdate.exe when using wucheck.exe?

Thanks much and best regards

Kai

NewsArchive
03-17-2009, 03:41 AM
Hi Kai,

> In the documention you write that i need both wucheck.exe and wupdate.exe. For
> what i need the wupdate.exe when using wucheck.exe?

wucheck is ONLY for checking and does not need elevation on
Vista/WS2008/Win7.

wupdate is for updating (can also be used for checking) and DOES need
elevation.

Best regards,

--
Arnór Baldvinsson - Icetips Creative, Inc.
Port Angeles, Washington
www.icetips.com - www.buildautomator.com

Icetips product subscriptions at http://www.icetips.com/subscribe.php

NewsArchive
03-17-2009, 03:41 AM
Hi Arnor,

it looks like the wucheck.exe /s downloads the webupdate without wupdate.exe.
Without wupdate.exe my update will start :-)

Best regards

kai

NewsArchive
03-17-2009, 03:43 AM
That's what I thought, too, Arnor... until I looked through the script and
the blurb in the updated CHM (pics).

Looks as if wupdate is silent unless there's an update, at which point it
would ShellExecute to run an elevated installer.

Jane

NewsArchive
03-17-2009, 03:43 AM
Hi Jan,e

> Looks as if wupdate is silent unless there's an update, at which point it
> would ShellExecute to run an elevated installer.

That of course makes perfect sense:) But I do wonder what would happen if
the /S is NOT specified and an update is available. I haven't had a chance
to take a look at this yet.

Best regards,

--
Arnór Baldvinsson - Icetips Creative, Inc.
Port Angeles, Washington
www.icetips.com - www.buildautomator.com

Icetips product subscriptions at http://www.icetips.com/subscribe.php

NewsArchive
03-18-2009, 02:25 AM
Hi Arnór,

> That of course makes perfect sense:) But I do wonder what would happen
> if the /S is NOT specified and an update is available. I haven't had a
> chance to take a look at this yet.

If /S is NOT specified (and the /C "check for updates" flag is also NOT
specified) then the application will not check for updates.

You can use the following options:

1) Check for updates only

wucheck.exe /C

This will check for an update. If there is an error, the wucheck.exe will
display a message box and return the error code to your application.

wucheck.exe /C /S

Same as above, but if there is an error, the wucheck.exe will not display a
message box.

2) Check for updates and download if available

wucheck.exe /S

This will check for an update. If there is an error, the wucheck.exe will
return the error code to your application. If there is an update available,
it will automatically download and execute it (elevated).

wucheck.exe /S /Q

Same as above, but it will execute the update in silent mode.

Friedrich

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

SetupBuilder "point. click. ship"
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
03-18-2009, 02:26 AM
Hi Friedrich,

> If /S is NOT specified (and the /C "check for updates" flag is also NOT
> specified) then the application will not check for updates.

Thanks for clarifying:)

Best regards,

--
Arnór Baldvinsson - Icetips Creative, Inc.
Port Angeles, Washington
www.icetips.com - www.buildautomator.com

Icetips product subscriptions at http://www.icetips.com/subscribe.php

NewsArchive
03-18-2009, 02:26 AM
Hi Jane,

> That's what I thought, too, Arnor... until I looked through the script
> and the blurb in the updated CHM (pics).
>
> Looks as if wupdate is silent unless there's an update, at which point it
> would ShellExecute to run an elevated installer.

Perfect :)

Friedrich

NewsArchive
03-18-2009, 02:27 AM
Kai,

The "Install Web Update Client" option (Web Deployment Visualizer) makes
your application web update ready by installing and registering the
wupdate.exe client.

wucheck.exe needs the wupdate.exe configuration settings to check for
updates.

And if the computer accesses the Internet with a proxy server and you do not
configure the proxy settings from within your application, then only
wupdate.exe (running elevated) can handle this.

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

SetupBuilder "point. click. ship"
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
03-18-2009, 02:27 AM
How about adding those three paragraphs verbatim to the bottom of the CHM
page that documents wupdate and wucheck?

Jane

NewsArchive
03-18-2009, 02:28 AM
Hi Jane,

> How about adding those three paragraphs verbatim to the bottom of the CHM
> page that documents wupdate and wucheck?

Good idea! Done.

Thanks,
Friedrich

NewsArchive
03-18-2009, 02:28 AM
Friedrich, thanks much

Kai

NewsArchive
03-20-2009, 02:32 AM
The #2537 documentation for wupdate.exe and wucheck.exe command line
switches in the "Include Web Update Client" function is incorrect.

1. wupdate.exe /C /Q should read wupdate.exe /S /Q

2. wucheck.exe /C /Q should read wucheck.exe /S /Q

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

SetupBuilder "point. click. ship"
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner