ISmsClient2::MSIReinstallClient Method
Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2
The ISmsClient2::MSIReinstallClient method, in Configuration Manager, repairs the Configuration Manager client installation by making a call to MSIReinstallProduct. For more information, refer to the MSDN documentation for MSIReinstallProduct.
[IDL]
HRESULT MSIReinstallClient(
BSTR sProduct,
DWORD dwReinstallMode,
UINT* uiReturnCode
);
Parameters
sProduct
Data type: BSTRQualifiers: [in]
The product code for the product, which is the Configuration Manager client.
dwReinstallMode
Data type: DWORDQualifiers: [in]
The reinstall mode. For possible values, see the MSDN documentation for MSIReinstallProduct.
uiReturnCode
Data type: UINTQualifiers: [out, retval]
Pointer to the return code that is generated by MSIReinstallProduct. For possible values, see the MSDN documentation for MSIReinstallProduct.
Return Value
An HRESULT code. Possible values include, but are not limited to, the following:
- S_OK
The method succeeded.
Requirements
smsclient.dll
Runtime Requirements
For more information, see Configuration Manager Client Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Client Development Requirements.
See Also
Concepts
ISmsClient2 Client COM Automation Interface
Configuration Manager Client Configuration