Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Using the specified reinstallation mode, the Reinstall WMI class method reinstalls the associated instance of Win32_Product.
Note
For more information about support or requirements for installation on a specific operating system, see Operating System Availability of WMI Components.
This topic uses Managed Object Format (MOF) syntax. For more information about using this method,see Calling a Method.
Syntax
uint32 Reinstall(
[in] uint32 ReinstallMode
);
Parameters
-
ReinstallMode [in]
-
The reinstallation mode. Can be one of the following values.
Value Meaning - 1
FileMissing - 2
FileOlderVersion - 3
FileEqualVersion - 4
FileExact - 5
FileVerify - 6
FileReplace - 7
UserData - 8
MachineData - 9
Shortcut - 10
Package
Return value
Return code | Description |
---|---|
|
Successful completion |
|
RPC Server Fault Error |
Requirements
Minimum supported client |
Windows XP |
Minimum supported server |
Windows Server 2003 |
Namespace |
Root\CIMV2 |
MOF |
|
DLL |
|