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
Reference
ISmsClient2 Client COM Automation InterfaceOther Resources
Configuration Manager Client ConfigurationSend comments about this topic to Microsoft.