IUTool.exe: Update packages on a device
The Windows Driver Kit (WDK) includes a tool for updating packages on a device or to add a new package to a device. (IUTool.exe). This tool is available under %WPDKCONTENTROOT%\Tools\bin\i386.
Using IUTool.exe to update packages on a device
IUTool.exe must be used in a command-line window that is opened as an administrator. The command-line syntax for IUTool.exe is the following.
IUTool –p <path to packages>
The following table describes the command-line parameters for IUTool.exe.
Parameter | Description |
---|---|
-p path to packages |
Specifies one or more packages to update on the device or to add to the device. The path to packages parameter can have the following formats:
|
Package versioning
If the specified package already exists on the device, the new version of the package must have a higher version than the package currently on the device or the update will fail. To specify the version for a package, use the /version command-line parameter for PkgGen.exe when generating the package. For more information, seeCommand-line arguments for package generator.
Using GetDULogs.exe to get package update logs from a device
Use GetDULogs.exe to get package update logs from a device.
GetDULogs –o <output file path>
For more info, see GetDULogs: Get package update logs.