4.3. Upgrading Your Installation
To upgrade to a new version of WinDriver, follow the installation steps for your
target operating system, as outlined in the previous section [4.2]. You can either choose to overwrite the existing
installation or install to a separate directory.
After the installation, start DriverWizard and enter the new license string, if
you have received one. This completes the minimal upgrade steps.
To upgrade your source code —
Pass the new license string as a parameter to
WDU_Init() [B.4.1] (or to
WD_License(), when using the
Verify that the call to
WD_DriverName() [B.1] in your driver code (if
exists) uses the name of the new driver module —
windrvr1260 or your renamed version of this driver [11.2].
If you use the generated DriverWizard code or one of the samples from the
new WinDriver version, the code will already use the default driver name from
the new version. Also, if your code is based on generated/sample code from
an earlier version of WinDriver, rebuilding the code with
windrvr.h from the new version is
sufficient to update the code to use the new default driver-module name
(due to the use of the
If you elect to rename the WinDriver driver module [11.2],
ensure that your code calls
WD_DriverName() [B.1] with your custom
driver name. If you rename the driver from the new version to a name
already used in your old project, you do not need to modify your code.