次の方法で共有


IUIEventCls::RunInstallProgram 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 IUIEventCls::RunInstallProgram method, in Configuration Manager, is called when a user selects an optional program to run from Add or Remove Programs or Run Advertised Programs.

[IDL]
HRESULT RunInstallProgram(
  BSTR  sProgramID,
  BSTR  sPackageID,
  BOOL  bInstallsApp
);

Parameters

  • sProgramID
    Data type: BSTR

    Qualifiers: [in]

    The program ID.

  • sPackageID
    Data type: BSTR

    Qualifiers: [in]

    The package ID.

  • bInstallsApp
    Data type: Long

    Qualifiers: [in]

    Value indicating the application to run.

Return Values

None.

Requirements

UIEvent.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

UIEventCls Class