Deploying the Web Update Wizard

As discussed in the Web Update Wizard architecture page, you can deploy the Web Update Wizard as a Windows Service, or as a standard Windows executable.

Both implementations have the same functionality, with the exception that when the Web Update Wizard runs as a Service it runs in the SYSTEM security context, and therefore has rights equivalent to Administrator rights to update any files on the host computer, even files which the logged on user does not have rights to change. 

(Note that Windows 98ME does not support running Windows services, so if you still need to support Windows 98ME you will be forced to use application mode for the Web Update Wizard.  See here for a Windows 98ME strategy.)

The easiest deployment option - use our supplied redistributable installer, wuwinstaller.exe

Installing using wuwinstaller.exe:

The easiest way to deploy the Web Update Wizard is with the supplied wuwinstaller.exe, which is located in the 'WebUpdateWizard' folder under 'Program Files on your computer.

You can launch this installer from within your own application installer.  You can force it to run silently (i.e. with no user interface) by passing the text "/S" as a command line argument, as in:

wuwinstaller.exe /S

Note that the "S" must be upper case.

If you use wuwinstaller.exe to deploy the Web Update Wizard then the only other installation responsibility you have is to install the Web Update Wizard licence file, WebUpdateSvc4.lic, into the same folder as your application.  The developer installer will have installed WebUpdateSvc4.lic into the 'WebUpdateWizard' folder within your 'Program Files'.

More..

Uninstalling using wuwinstaller.exe

To uninstall the core components on a client machine your uninstaller should call 'wuwuninst.exe', which the installer installed into the user's 'System32' folder.

As with wuwinstaller.exe, appending "/S" to the command line causes wuwinstaller.exe to work with no user interface, as in:

wuwuninst.exe /S

Note that the "S" must be upper case.

More..

Licence file location

Important: The Web Update Wizard licence file, WebUpdateSvc4.lic must be installed into the same folder as your application runs from, otherwise the Web Update Wizard will not find it.

More..


Service Control

See also: Web Update Wizard Service Reference for information on start-up parameters for the Windows Service implementation of the Web Update Wizard.  However, If you use wuwinstaller.exe you do not need to know this information!

Adding Web Update Wizard to Your Own Installer?

We strongly recommend simply calling wuwinstaller.exe from within your own installer. As explained above, adding the command line argument "/S" will ensure the installation is silent and automatic.

Your uninstaller then calls the Web Update Wizard uninstallation program which wuwinstaller.exe will have installed into the user's System32 folder, 'wuwuninst.exe'.

Nearly every installer maker available allows you to launch additional processes such as wuwinstaller.exe as part of your installation. Whilst we are happy to provide the information below, we do recommend using our wuwinstaller.exe, because we have worked through the inevitable complexity associated with installing/uninstalling a potentially shared set of files, starting and stopping a Windows service etc..

However, if you are determined to incorporate the Web Update Wizard components individually into your own installer, this is what you will need to do:

Installation

Uninstallation