Introduction

In SCCM 2007, applications were deployed using packages. Since SCCM 2012, applications are deployed using the “Application” model, which offers several advantages. For example, an application can contain multiple deployment types, such as 32-bit and 64-bit versions of 7zip. SCCM agents can then use defined criteria to determine the appropriate installation source.

Pre-requisites

It is recommended to set up a Data Management Library (DML) for managing applications. The computer account of the SCCM server must have read permissions on this share (Authenticated Users is sufficient).

Deploying an MSI Application

  1. In the “System Center Configuration Manager” console, click on “Software Library”.
  2. Select “Overview” > “Application Management” > “Applications”.

  1. Right-click on “Applications” and select “Create Application”.
  2. Select “Windows Installer (Native)”, choose the MSI file, and click “Next”. Use a UNC path for the file.
  1. Specify the application name according to DML standards and click “Next”.
  2. Adjust the installation command if needed. Example:
    msiexec /i "7z1604-x64.msi" /q /log c:\tempzip.log
    msiexec /i "7z1604-x64.msi" TRANSFORMS=fichier.mst /q

  1. Click “Next” and validate the subsequent screens.

Deploying a Setup.exe Application

  1. In the “System Center Configuration Manager” console, click on “Software Library”.
  2. Select “Overview” > “Application Management” > “Applications”.
  3. Right-click on “Applications” and select “Create Application”.
  1. Select “Manually specify the application information” and click “Next”.
  1. Enter the application name and click “Next”.
  1. Enter catalog information and click “Next”.
  1. Add a deployment type by selecting “Script Installer” and click “Next”.
  1. Enter the deployment type name and click “Next”.
  1. Specify the content location and installation command, and click “Next”.
  2. Add a detection method to ensure the application is correctly installed and click “Next”.
  1. Select “Install for system if resource is device” in the installation behavior section and click “Next”.
  1. Validate the subsequent screens to complete the process.

Adding Additional Deployment Types

To add more deployment types, such as different versions or platforms (e.g., 32-bit and 64-bit), follow these steps:

  1. In the application properties, go to the “Deployment Types” tab.
  1. Click “Add” to include different sources for the same application.
  1. Specify the installation commands and validate the subsequent screens.

Setting Deployment Conditions

After adding multiple deployment types, set conditions to determine which deployment type is used:

  1. Edit each deployment type and add conditions such as OS version or architecture.

Other Settings (Optional)

Maintenance Windows

Maintenance windows restrict when changes can be made to systems in a collection. This ensures minimal disruption to the organization. Set the “Maximum allowed run time” in the application’s properties to be less than the maintenance window duration.

Distribution Points

To copy a package to distribution points:

  1. Right-click on the package or application and select “Distribute Content”.
  1. Click “Next” and add the distribution points or groups.
  1. Click “Next” until the distribution process is completed.

Creating Collections (or Groups)

Create static or query-based collections to manage which devices receive the application:

Static Collection

  1. Create a new empty collection.
  1. Select devices to add to the collection and click “Add Selected Items”.

Query-Based Collection

  1. In the collection properties, go to the “Membership Rules” tab.
  1. Add a query rule and specify the query criteria.

Publishing Applications

Applications can be marked as “Required” (mandatory) or “Available”. Required applications are deployed automatically, while available applications appear in the Software Center for on-demand installation by users.

  1. Right-click on the application and select “Deploy”.
  1. Choose the target collection and click “Next”.
  1. Add distribution points as needed.
  1. Specify the action (install or uninstall) and the purpose (available or required), and click “Next”.
  1. Set the deployment schedule and click “Next”.
  1. Configure visibility in the Software Center and click “Next”.
  1. Click “Next” and “Finish” to complete the deployment.

Monitoring Deployment

Monitor deployment status by navigating to “Monitoring” > “Overview” > “Deployment Status” in the SCCM console.


0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.