Install Method in Class CCM_Application

 

Applies To: System Center 2012 Configuration Manager, System Center 2012 Configuration Manager SP1, System Center 2012 R2 Configuration Manager

The Install Windows Management Instrumentation (WMI) class method, in Configuration Manager, that installs an application.   

The following syntax is simplified from Managed Object Format (MOF) code and defines the method.

Syntax

uint32 Install 
{
    [IN]    String Id
    [IN]    String Revision
    [IN]    Boolean IsMachineTarget
    [IN]    UInt32 EnforcePreference
    [IN]    String Priority
    [IN]    Boolean IsRebootIfNeeded
    [OUT]   String JobId
};

Parameters

  • Id
    Data type: String

    Qualifiers: [id("0"), in]

    Application identifier.  

  • Revision
    Data type: String

    Qualifiers: [id("1"), in]

    Revision.  

  • IsMachineTarget
    Data type: Boolean

    Qualifiers: [id("2"), in]

    true if the application targets a device.  

  • EnforcePreference
    Data type: UInt32

    Qualifiers: [id("3"), in, values]

    Enforce preference. Possible values are:  

    0

    Immediate

    1

    NonBusinessHours

    2

    AdminSchedule

  • Priority
    Data type: String

    Qualifiers: [id("4"), in, valuemap]

    Priority. Possible values are:  

    Foreground

    High

    Normal

    Low

  • IsRebootIfNeeded
    Data type: Boolean

    Qualifiers: [id("5"), in]

    true if a reboot is needed.  

  • JobId
    Data type: String

    Qualifiers: [id("6"), out]

    Job identifier.  

Remarks

Requirements

Runtime Requirements

For more information, see Configuration Manager Server Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Server Development Requirements.