To create deployment types in Microsoft System Center Configuration Manager 2012, use the Create Deployment Type Wizard. The steps to create a deployment type are different depending on whether you automatically import, or manually define deployment information.
Start the Create Deployment Type Wizard and Specify General Information about the Deployment Type
When you run the Create Deployment Type Wizard, there are two methods you can use to configure general information about the deployment type:
- Automatically detect deployment type
information – Configuration Manager attempts to read information
about the deployment from the application installation files, and
then automatically populates fields in the Wizard with discovered
information.
- Manually define deployment type information –
Information about the deployment type is manually entered by the
administrator.
Use these procedures to start the Create Deployment Type Wizard and to specify general information about the deployment type.
To Start the Create Deployment Type Wizard
-
In the Configuration Manager console, click Software Library.
-
In the Software Library workspace, expand Application Management, and then click Applications.
-
Select an application and then, on the Home tab, in the Application group, click Create Deployment Type to create a new deployment type for this application.
Note You can also start the Create Deployment Type Wizard from the Create Application Wizard and from the Deployment Types tab of the <application name>Properties dialog box.
To Automatically Detect Deployment Type Information
-
On the General page of the Create Deployment Type Wizard, select Automatically discover this information from files in the application.
Note If you want to define this application information manually, go to the procedure To manually define deployment type information. -
In the Type field, choose the application installation file type you want to use to detect deployment type information. You can choose installation types for Windows Installer applications, virtual applications, mobile devices and scripts.
-
In the Location field, specify the UNC path in the form \\<server>\<share>\<filename> to the application installation file you want to use to detect deployment type information or click Browse to browse to the installation file location.
-
Click Next.
-
On the Import Information page of the Create Deployment Type Wizard, review the information that was imported and then click Next. You can also click Previous to go back and correct any errors.
-
On the General Information page of the Create Deployment Type Wizard, specify the following information:
Note Some of the deployment type information might already be present if it was read from the application installation files. - General information about the deployment type
such as the name, comments and available languages.
- Installation program – Specify the
installation program and any required properties needed to install
the deployment type.
- Install for user or System – Specify whether
the deployment type will be installed for the currently logged on
user or for all users. You can also specify that the deployment
type will be installed for all users if it is deployed to a device
or to a user only if it is deployed to a user.
- General information about the deployment type
such as the name, comments and available languages.
-
Click Next and then continue to the procedure To specify deployment type requirements.
To Manually Define Deployment Type Information
-
On the General page of the Create Deployment Type Wizard, select Manually define the information and then click Next.
Note If you want to automatically retrieve the deployment type information, go to the procedure To automatically detect deployment type information. -
On the General Information page of the Create Deployment Type Wizard, specify a name for the deployment type, an optional description, the languages you want to make this deployment type available in, and then click Next.
Specify Content Options for the Deployment Type
The Content page of the Create Deployment Type Wizard contains options to configure the location of the deployment types content and information about the commands used to install and uninstall the content. Use this procedure to specify information about the content associated with your deployment type.
To Specify Content Options for the Deployment Type
-
On the Content page of the Create Deployment Type Wizard, specify the following information:
- Content location – Specify the location of
any content for this deployment type or click Browse to choose the
deployment type content folder.
- Persist content in the client cache -
Specifies whether content should be retained in the cache on the
client computer indefinitely even if it has already been run.
Although this option can be useful with some deployments, such as
Windows Installer-based software that requires a local source copy
be available for applying updates, it will reduce the available
cache space. Specifying this option might cause a large deployment
to fail at a later point if there is insufficient space available
in the cache.
- Enable peer-to-peer content distribution –
Select this option to reduce load on the network by allowing
clients to download content from other clients on the network that
have already downloaded and cached the content. This option
utilizes Windows BrancheCache and can be used on computers running
Windows Vista SP2 and later.
- Installation program – Specify the name of
the installation program and any required installation parameters
or click Browse to browse to the installation file location.
- Installation start in - Specifies the folder
that contains the installation program for the deployment type, up
to 127 characters. This folder can be an absolute path on the
client or a path relative to the distribution point folder that
contains the package. This field is optional.
- Uninstall program - Specify the name of the
uninstall program and any required parameters or click Browse to
browse to the uninstall file location.
- Uninstall start in - Specifies the folder
that contains the uninstall program for the deployment type, up
to 127 characters. This folder can be an absolute path on the
client or a path relative to the distribution point folder that
contains the package. This field is optional.
- Content location – Specify the location of
any content for this deployment type or click Browse to choose the
deployment type content folder.
-
Click Next.
Use Detection Methods to Indicate the Presence of this Application
A detection method in Configuration Manager 2012 contains rules that are used to check whether an application is already installed on a device. This detection occurs before the content is installed and at regular intervals afterwards. This can prevent Configuration Manager from needlessly reinstalling the application and can also detect if the application has been uninstalled by the user.
Use these procedures to configure detection methods in Configuration Manager 2012:
To Create a Detection Rule to Determine the Presence of an Application
-
On the Detection Method page of the Create Deployment Type Wizard, select Describe the conditions that indicate the presence of this deployment type and then click Add Clause.
-
In the Setting type drop-down list of the Detection Rule dialog box, choose the method you want to use to detect the presence of the deployment type. The available methods are:
- File System – Allows you to detect whether a
specified file or folder exists on a client device indicating that
the application is installed.
- Registry – Allows you to detect whether a
specified registry key or registry value exists on a client device
indicating that the application is installed.
- Windows Installer – Allows you to detect
whether a specified Windows Installer file exists on a client
device indicating that the application is installed.
- File System – Allows you to detect whether a
specified file or folder exists on a client device indicating that
the application is installed.
-
Specify details about the item you want to use to detect whether this deployment type is installed. For example, you can use a file, folder, registry key or value, or a Windows Installer product code.
-
Specify details about the value you want to assess against the item you are using to detect whether the deployment type is installed. For example, if you are using a file to determine whether the deployment type is installed, you can select The file system setting must exist on the target system to indicate presence of this application.
-
Click Next to close the Detection Rule dialog box.
To Use a Custom Script to Determine the Presence of an Application
-
On the Detection Method page of the Create Deployment Type Wizard, select Use a custom script to detect this deployment type and then click Edit.
-
In the Script Editor dialog box, select the script language you want to use to detect the application from the Script type drop down list.
-
Enter the script you want to use in the Script contents field. You can also paste the contents of an existing script in this field or click Open to browse to an existing saved script.
-
Click OK to close the Script Editor dialog box.
-
Click Next.
Specify User Experience Options for the Deployment Type
To Specify User Experience Options for the Deployment Type
-
On the User Experience page of the Create Deployment Type Wizard, specify the following information:
- Install for user or system – From the
drop-down list, select one of the following options:
- Install for user – The application installs
for each new user who logs onto a device.
- Install for System – The application installs
only once and is available to all users.
- Install for System if resource is device;
otherwise install as user – If the application is deployed to a
device then it will install for all users. If the application is
deployed to a user then it will install for only that user.
- Install for user – The application installs
for each new user who logs onto a device.
- Logon requirement - Specify the logon
requirements for this deployment type from the following
options:
- Only when a user is logged on
- Whether or not a user is logged on
- Only when no user is logged on
Note This option will default to Only when a user is logged on and cannot be changed if you have selected Install for user in the Install for user or system drop-down list. - Only when a user is logged on
- Installation program visibility – Specifies
the mode in which the deployment type will run on client devices.
The following options are available:
- Maximized – The deployment type runs
maximized on client devices. Users will see all installation
activity.
- Normal - The deployment type runs in the
normal mode based on system and program defaults. This is the
default mode.
- Minimized – The deployment type runs
minimized on client devices. Users might see installation activity
in the notification area or taskbar.
- Hidden – The deployment type runs hidden on
client devices and users will see no installation activity.
- Maximized – The deployment type runs
maximized on client devices. Users will see all installation
activity.
- Allow users to interact with this program –
Specifies whether a user can interact with the deployment type
installation to configure installation options.
Note This option is enabled by default if the option Install for user is selected in the Install for user or system drop-down list. - Maximum allowed run time (minutes) -
Specifies the maximum time (in minutes) that the program is
expected to run on the client computer. This setting can be
specified as a whole number greater than zero.
The default setting is 120 minutes.
This value is used for two purposes:
- To monitor results from the deployment
type.
- To determine if a deployment type will be
installed when maintenance windows have been defined on client
devices.
Maintenance Windows
When a maintenance window is in place, a program will be launched only if there is time available remaining in the maintenance window to accommodate the Maximum Allowed Run Time setting.
Important A conflict might occur if the Maximum allowed run time is longer than the scheduled maintenance window. If the maximum run time is set by the user to a period exceeding the length of any available maintenance window, that deployment type will not be run.
- To monitor results from the deployment
type.
- Install for user or system – From the
drop-down list, select one of the following options:
-
Estimated install time (minutes) – Specify the estimated time that the deployment type will take to install. This is displayed to users of the Application Catalog.
-
Click Next.
Specify Requirements for the Deployment Type
Requirements are used to specify minimum requirements that must be met before a deployment type can be installed on a client device. Use this procedure to add requirements to a Configuration Manager 2012 deployment type.
To Specify Deployment Type Requirements
-
On the Requirements page of the Create Deployment Type Wizard, click Add to open the Create Requirement dialog box and add a new requirement.
-
From the Select category drop-down list, select whether this requirement is for a device, a user or select Custom to use a previously defined global condition. For more information about global conditions, see How to Create and Manage Global Conditions in Configuration Manager 2012.
-
From the Select a condition drop-down list, select the condition that you want to use to assess whether the user or device meets the installation requirements. The contents of this list will vary depending on the selected category.
-
From the Choose operator drop-down list, choose the operator that will be used to compare the selected condition to the specified value to assess whether the user or device meets in the installation requirement. The available operators will vary depending on the selected condition.
-
In the Value field, specify the values that will be used with the selected condition and operator whether the user or device meets in the installation requirement. The available values will vary depending on the selected condition and the selected operator.
-
Click OK to save the requirement rule and exit the Create Requirement dialog box.
-
On the Requirements page of the Create Deployment Type Wizard, click Next.
Specify Dependencies for the Deployment Type
Dependencies define one or more deployment types that must be installed before a deployment type is installed. You can configure dependent deployment types to install automatically before a deployment type is installed. Use this procedure to configure dependencies in Configuration Manager 2012.
To Specify Deployment Type Dependencies
-
On the Dependencies page of the Create Deployment Type Wizard, click Add if you want to specify deployment types that must be installed before this deployment type can be installed.
-
In the Add Dependency dialog box, click Add.
-
In the Specify Required Application dialog box, select an existing application and one of the application deployment types to use as a dependency.
Note You can click View to display the properties of the selected application or deployment type. -
Click OK to close the Specify Required Application dialog box.
-
If you want a dependent application to automatically install, check Auto Install next to the dependent application.
-
In the Dependency group name field of the Add Dependency dialog box, enter a name to refer to this group of application dependencies.
-
Optionally, use the Increase Priority and Decrease Priority buttons to change the order in which each dependency is evaluated.
-
Click OK to close the Add Dependency dialog box.
-
Click Next.
Confirm the Deployment Type Settings and Complete the Wizard
Use the following procedure to complete the Create Deployment Type Wizard.
-
On the Summary page of the Create Deployment Type Wizard, review the actions that will be taken by the Wizard. Click Next to create the deployment type or click Previous to go back and change deployment type settings.
-
After the Progress page of the Wizard completes, review the actions that have been taken, and then click Close to complete the Create Deployment Type Wizard.
-
If you started this wizard from the Create Application Wizard, you will be returned to the Deployment Types page of the wizard. For more information, see How to Create Applications in Configuration Manager 2012.