SMS_TaskSequence_InstallSoftwareAction Server WMI Class

System Center

Updated: October 28, 2009

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 SMS_TaskSequence_InstallSoftwareAction Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents a task sequence action that installs software.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.


Class SMS_TaskSequence_InstallSoftwareAction : SMS_TaskSequence_Action
{
      String BaseVariableName;
      SMS_TaskSequence_Condition Condition;
      Boolean ContinueOnError;
      Boolean ContinueOnInstallError;
      String Description;
      Boolean Enabled;
      String Name;
      String PackageID;
      String ProgramName;
      String SupportedEnvironment;
      UInt32 Timeout;
};

The SMS_TaskSequence_InstallSoftwareAction class does not define any methods.

BaseVariableName
Data type: String

Access type: Read/Write

Qualifiers: [RequiredIfNull("PackageID"), CommandLineArg(3)]

The base task sequence variable name. This property is required for installing multiple programs if PackageID is set to null.

Condition
Data type: SMS_TaskSequence_Condition

Access type: Read/Write

Qualifiers: None

See SMS_TaskSequence_Action Server WMI Class.

ContinueOnError
Data type: Boolean

Access type: Read/Write

Qualifiers: None

See SMS_TaskSequence_Action Server WMI Class.

ContinueOnInstallError
Data type: Boolean

Access type: Read/Write

Qualifiers: [RequiredIfNotNull("BaseVariableName"), CommandLineArg(4)]

true to continue if there is an installation error. This property is required if BaseVariableName is not set to null.

Description
Data type: String

Access type: Read/Write

Qualifiers: [AllowedLen("0-255")]

See SMS_TaskSequence_Action Server WMI Class.

Enabled
Data type: Boolean

Access type: Read/Write

Qualifiers: None

See SMS_TaskSequence_Action Server WMI Class.

Name
Data type: String

Access type: Read/Write

Qualifiers: [AllowedLen("1-100")]

See SMS_TaskSequence_Action Server WMI Class.

PackageID
Data type: String

Access type: Read/Write

Qualifiers: [CommandLineArg(1), TaskSequencePackage]

The ID of the task sequence package to use for installing the program. Set this property to null to install multiple programs.

ProgramName
Data type: String

Access type: Read/Write

Qualifiers: [RequiredIfNotNull("PackageID"), VariableName("_SMSSWDProgramName"), TaskSequenceProgram("PackageID")]

The program in the package to install. This property is required if PackageID is not set to null.

The task sequence variable associated with this property is _SMSSWDProgramName. For more information, see the MSDN documentation for Operating System Deployment Task Sequence Variables.

SupportedEnvironment
Data type: String

Access type: Read/Write

Qualifiers: [Not_Null:ToInstance]

See SMS_TaskSequence_Action Server WMI Class.

The default value of this property for this task sequence action is FullOS.

Timeout
Data type: UInt32

Access type: Read/Write

Qualifiers: None

See SMS_TaskSequence_Action Server WMI Class.

Class qualifiers for this class include:

[CommandLine("smsswd.exe /pkg:%1 /install /basevar:%3 /continueOnError:%4"),

ActionCategory{"General,2,1"},ActionUI{"AdminUI.TaskSequenceEditor.dll", "Microsoft.ConfigurationManagement.AdminConsole.TaskSequenceEditor", "InstallSoftwareDistributionControl", "TaskSequenceOptionControl"}]

For more information about both the class qualifiers and the property qualifiers included in the Properties section, see Configuration Manager Class and Property Qualifiers.

Runtime Requirements

Development Requirements

Show: