Export (0) Print
Expand All

Reinstall method of the Win32_SoftwareFeature class

The Reinstall WMI class method reinstalls the associated instance of Win32_SoftwareFeature using the specified reinstallation mode.

Note  For more information about support or requirements for installation on a specific operating system, see Operating System Availability of WMI Components.

Syntax


uint32 Reinstall(
  [in]  uint16 ReinstallMode
);

Parameters

ReinstallMode [in]

Reinstallation mode. Can be one of the following values.

ValueMeaning
1

FileMissing

2

FileOlderVersion

3

FileEqualVersion

4

FileExact

5

FileVerify

6

FileReplace

7

UserData

8

MachineData

9

Shortcut

10

Package

 

Return value

Return codeDescription
0

Successful completion.

2147549445

RPC Server Fault Error.

 

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Namespace

\root\CIMV2

MOF

Msi.mof

DLL

Msiprov.dll

See also

Installed Applications Classes
Win32_SoftwareFeature

 

 

Community Additions

ADD
Show:
© 2014 Microsoft