Deploy Packages in an Order Using SCCM 2012

Introduction

A lot of people think that you can't deploy multiple packages within SCCM in a specific order. You can; you just need to look in a place that you wouldn't have thought of!

As a side note:

To deploy packages in an order, you must already have the single packages created, tested and fully working as a single install before they will work within a sequence.

Step 1 (Create a Custom Task Sequence)

First, you have to create a custom task sequence within SCCM. To do this, you have to select Software Library, Operating Systems and then Task Sequences.

Once you have selected Task Sequences, you will see a list of Task Sequences that are already available and have already been created. To create a custom task sequence, you have to click the Create Task Sequence button.

This will open up the Create Task Sequence Wizard and you then have to select Create a new custom task sequence and click Next.

You will now have to specify the task sequence information. This includes the Task Sequence’s name and also a description. You are also able to select a boot image on this screen, but this is not required to create a task sequence that is only going to be used to deploy packages. Once you have specified all of this information, you can then click Next.

You now have to confirm the settings that you entered on the previous screen. Once you have checked these, and everything is correct, you can then click Next.

You will now see a progress bar and it will then inform you that the task has been created successfully. You can now click Close and you will then see the task you created in the list of Task Sequences.

Step 2 (Adding Packages to a Custom Task Sequence)

To add packages to a custom task sequence, you have to first edit the task sequence. To do this, you can click Edit, or you can right-click on the package and then select Edit.

The Task Sequence Editor will now be on-screen. To start adding packages, you have to select Add, General and then select Install Package.

This now adds a task to the task sequence. Here you have to add in the details for the task and also select which package the task relates to. To select a package, you have to click Browse, and then select the package from the list of packages.

You then have to do this for each package you wish to add to the task sequence and they will all show up in the pane on the left side of the Task Sequence Editor. When they have all been added, you can then click OK.

Step 3 (Deploying the Task Sequence)

To deploy the Task Sequence, you can select the Task Sequence and click Deploy. You can also right-click the Task Sequence and select Deploy.

The Deploy Software Wizard will now open up. You first have to select the collection that you would like to deploy the Task Sequence to. You select the collection by clicking Browse next to the collection field. Once the collection has been selected, you can then click Next.

You will then have to specify how the software is deployed. You will be able to make it either Available or Required. If you select Available, the software will show up on the PCs that are in the collection within Software Centre and will enable the user to select the software to install. If you select Required, the software will bypass this and automatically install the software with no user intervention required. When you have selected the option you desire, you can then click Next. For the purpose of this guide I have selected to make it required.

You now have to specify the scheduling for the deployment. You are able to choose when the deployment will become available, and can also choose when the deployment will expire. As we have chosen the Required option, you are able to just choose an assignment schedule by clicking New. To make the deployment available immediately, click the Assign immediately after this event: radio button and select As soon as possible. You can then click OK and be taken back to the deployment scheduling window and click Next.

You now have to specify the user experience for the installation of the software. In this window you are able to surpress the Task Sequence Progress Bar if you want a truly silent installation. For the purpose of this guide, I will choose to show the Task Sequence Progress Bar. Below is a screenshot of the settings I have chosen. You can now click Next.

Now you are able to specify any alert options that you would like to set, as Configuration Manager is able to generate alerts when a particular task sequence is deployed. For the purpose of this guide I have chosen to not set up any alert rules. Click Next.

Next you are able to specify distribution point options. I have chosen to Download content locally when needed by running task sequence. For large applications, you should select Download all content locally before starting task sequence so that there isn’t a large load on the server, especially when deploying the software to multiple devices. When you have chosen which option you will be using, you can then click Next.

You will now see a summary and then a progress bar and it will then inform you that the deployment has been created successfully. You can now click Close and the software will be deployed.

As always - if you have any questions, leave me a comment :)

5 comments

Eric 2 years ago

Very cool stuff. How would this differ from Application Deployments? I've been trying to get it working, but it never seems to update the clients that the task is available.


Griffo profile image

Griffo 2 years ago Author

Hi Eric,

The task sequence should begin installing the packages once the "Machine Policy Retrieval & Evaluation Cycle" has been ran. It automatically does this, but it depends on what you have it set to. Also, if you don't have maintenance windows set, make sure that "Commit changes at deadline or during maintenance window" is unchecked under the User Experience part. This will mean that it is looking for maintenance windows, and if none are set, won't run.


NewSCCMGuy 2 years ago

Hi, Griffo. Just read your article which is pretty much what I've already got to with a task I'm trying to create. The deployment of a specific list of applications, installed in a specific order. I'm wondering if you have come up with a way to uninstall this task sequence though. I'm trying to come up with a way to deploy, and remove, this list of apps using group membership in AD. The deployment part will be fine, but currently stumped with the removal. Any words of advice? Many thanks.


alex 2 years ago

Went through your tutorial but when i deploy the task sequence i get "Fail (Bad Environment)". Any ideas? I can deploy packages and applications with out issues, but was trying to get these packages to install in a certain order.

Thanks!


Fazal 23 months ago

Hi , this is very help full to me, but i need to know once added two three packages to TS can we arrange run order (which run one after anther one) ?

    Sign in or sign up and post using a HubPages Network account.

    0 of 8192 characters used
    Post Comment

    No HTML is allowed in comments, but URLs will be hyperlinked. Comments are not for promoting your articles or other sites.


    Click to Rate This Article
    working