Home > SCCM Operating System Deployment (OSD) > Installing Multiple Applications in a Task Sequence

Installing Multiple Applications in a Task Sequence


***UPDATE*** Check out this article about a KB to resolve issues with program names with this approach – https://joshuasmueller.wordpress.com/2011/04/22/configmgr-program-name-issue-with-task-sequence/

When using a task sequence in the Operating System Deployment (OSD) feature
of SCCM you can install multiple applications two different ways.

The first way is to call one package at a time…

image

image

Pros:

  • This will install the package much like an advertisement for the actual
    package would (see cons for caching)
  • If there are dependencies defined in the program they will be
    applied

Cons:

  • If the package(s) are set to cache they will not cache by default
  • Unless a "Condition" under the "Options" tab, at the task or a group level,
    is set this will install on all devices it is advertised to
  • If the package is not on a Distribution Point the entire task sequence will
    fail which can be frustrating (usually you would want the package replicated out
    to all DP’s but in some cases there may be a division that uses an application
    but 4 other divisions do not…so is there value in having the package replicated
    to all DP’s?)

How-to:

  1. Open the SCCM "Task Sequence Editor" for the task sequence you wish to use
  2. Click on "Add"
  3. Select "Install Software" from "General"
  4. You should modify the "Name" field to make it easier to edit/review later
  5. Under "Install a single application" click on "Browse" to select the
    package you wish to deploy
  6. Use the pull down menu to select the appropriate program for the
    deployment
  7. Click on "Apply"*

*This does not mean that your task sequence is ready to deploy.  There are
other items you may wish to add, you need a collection of devices and an
advertisement.

The second way is to use a "Task Sequence Variable" and sequence the
packages…

image

image

image

image

***PLEASE DO NOT USE SPACES OR SPECIAL CHARACTORS IN YOUR PROGRAM NAME WHEN REFERENCING IN A TS LIKE THIS!***
You can however use dashes…

Pros:

  • If a package is not on a Distribution Point the task will still run but the
    software install will fail
  • This approach will have tolerance for failures in the sequence and still
    complete (the other approach usually can as well but I have found it to be less
    reliable)
  • It is my opinion that this is easier to use with ‘Groups" which have
    conditions set at the group level which can make for ease with different
    divisions, departments, functional areas, etc.

Cons:

  • If the package(s) are set to cache they will not cache by default
  • Unless a "Condition" under the "Options" tab, at the task or a group level,
    is set this will install on all devices it is advertised to
  • There cannot be any dependencies in the programs
  • The program cannot require any user interaction

How-to:

  1. Open the SCCM "Task Sequence Editor" for the task sequence you wish to use
  2. Click on "Add" and select "Install Software" from "General"
  3. You should modify the "Name" field to make it easier to edit/review later
  4. Under "Install multiple applications" define a "Base variable name" such
    as CORE and put a check next to "If an application fails continue…"
  5. Click on "Add"
  6. Select "Set Task Sequence Variable" from "General"
  7. You should modify the "Name" field to make it easier to edit/review later and set the "Task Sequence Variable" – in the case above you could use CORE001 to define the first package in this sequence and set the "Value" to SMSPACKAGEID:PROGRAM (i.e. SMS000A1:Reader)
  8. You could then add another variable but use CORE002
  9. Click on "Apply"*

*This does not mean that your task sequence is ready to deploy.  There are
other items you may wish to add, you need a collection of devices and an
advertisement.

About these ads
  1. October 18, 2011 at 3:06 pm | #1

    Hi,

    Can u please send me some more screenshot with Multiple Application Installation rajkumarbx2000@gmail.com

    • October 19, 2011 at 6:35 am | #2

      I think all of the necisary steps with screenshots are there. Do you have a specific question?

  2. bob
    October 10, 2011 at 8:44 pm | #3

    great post. i was running into the same problem, quick flash of the TS and a success code and the following in the logs HKLM\Software\Microsoft\SMS\Task Sequence\S,,,

    Was cracking my head as to why it would not work. Finally fixed it by going to the target collection and defining the variables there.

    newvariable= core001 and value= SMS000A1:REader

    http://technet.microsoft.com/en-us/library/bb680526.aspx

    • Matt
      December 28, 2011 at 3:14 pm | #4

      This is critical!! why is this buried so deep in the documentation??

      Anyway, thanks Bob (And thanks Josh for the great blog!!)

      Looks like I finally got a multiple software install task up and running!! I had to follow the steps listed above in Josh’s main post (I’m using the second option with task sequence variables) but it never worked until I followed the post from Bob about assigning the variables to the collection.

      Thanks to all!!

      Matt

    • May 18, 2012 at 10:31 am | #5

      hi guys I had the same problem, if you don’t want to add a variable on your collection you have to place the “install multiple application” step AFTER your task sequence variable in your TS
      as the first screenshot shows:
      https://joshuasmueller.files.wordpress.com/2010/04/image5b255d.png
      Thanks for the great blog by the way!

  3. Niclas
    February 15, 2011 at 5:54 am | #6

    Hi Josh!
    I have followed your exact instructions but somehow I can´t get it to work. When running the TS that I have advertised to a client it just flashes/flickers by really fast and then nothing more. No apps installed. In RAP it says “Successful” afterwards but when checking the smsts.log I find entries like: “No Env variable with specified basename CORE and suffix 001 is found. No applications installed.” and “No variables found in default variable list” and also “Error getting system isolation info. Code 8027000C”. Any clues? Is there anything else that has to be done except your exact instructions when installing multiple apps? I have checked the neccessary checkboxes on the programs and I have checked “Whether or not a user is logged on” is checked. Also no interaction.
    //Niclas

    • February 15, 2011 at 6:05 am | #7

      Do you have any spaces in your program name?

    • James
      September 22, 2011 at 1:05 pm | #8

      Niclas
      You ever get TS for Multi App to work

  4. January 17, 2011 at 6:38 pm | #9

    You can interact with the progress bar using the oLogging.ReportProgress function if you have MDT integration.

    See this blog for examples:
    http://myitforum.com/cs2/blogs/cnackers/archive/2010/11/03/microsoft-deployment-toolkit-controlling-the-task-sequence-progress-bar-and-individual-step-status.aspx

  5. Josh
    May 20, 2010 at 11:39 am | #10

    I sent you an e-mail for more details.

  6. rajini_mcsa
    May 18, 2010 at 9:26 am | #11

    I haven’t enabled SUP, I am using only Software distribution. however I am getting the below error. can I share the screenshot/log.is it possbile. from this Blog. this will help you to understand better. or you may mail me rajini_mcsa@hotmail.com, I will reply with log

  7. Josh
    May 17, 2010 at 9:34 pm | #12

    Did you put software updates in the TS more than once? I have had that happen before but have not looked too far into it. If you only have it listed once you should be fine but if you only have it listed once and still have the error I would suggest verifying that you can connect to the SCCM Software Update Point from other devices. I hope that helps!

  8. rajini_mcsa
    May 17, 2010 at 5:59 am | #13

    I am getting the below error, when I used multiple applications. pls advice. HKLM\Software\Microsoft\SMS\Task Sequence\SoftwareUpdates Error code 0×80070002 on SMSTS.log

    • S. Rajini
      November 30, 2010 at 4:44 am | #14

      Can we use Task sequence without OSD deployment???

      Seems when I use multiple application deployoment via software disitribution , its getting error.

      • November 30, 2010 at 6:20 am | #15

        Yes you can. I have used this for deployment many times outside of an actual OS deployment (it is still under OSD though – there isn’t another area under Software Deployment). Just create a custom, or blank task sequence and add the actions desired for the install.

  9. Mike
    May 15, 2010 at 2:38 pm | #16

    Thanks! We started deploying Windows 7 yesterday but just the os only and this will help out.

  10. Josh
    April 24, 2010 at 12:25 pm | #17

    I have added a few screenshots. If you would like more or something more specific please let me know.

  11. rajini_mcsa
    April 21, 2010 at 4:56 pm | #18

    Could you please share with SCREENSHOTS for Task Sequence Multiple Applications installation?

  12. Josh
    April 19, 2010 at 12:51 pm | #19

    When you select "Show Task Sequence Progress" in the advertisement you will get this behavior. I hope this helps!

  13. Stephen
    April 16, 2010 at 12:21 pm | #20

    To be clear, I’m referring to installing multiple packages using variables as outlined in your blog entry above.

  14. Stephen
    April 16, 2010 at 12:20 pm | #21

    Josh, thanks for the tips. I was wondering if there is a way to add a progress bar as SCCM doesn’t seem to give any indication of progress with the installations (apart from the odd reboot)? Am I missing a trick or is this correct? If it really doesn’t tell you what it is doing, is there a way to use MDT and/or SCCM to customize this behaviour so that it does? In a busy build environment this is going to present some issues……….

    • k3v1nr
      December 14, 2010 at 1:07 pm | #22

      Under normal settings the font on this page is white on white. To view in IE 8 or firefox change page style to “no style”

  1. March 21, 2012 at 11:32 am | #1
  2. May 18, 2012 at 11:21 am | #2
  3. October 4, 2012 at 1:49 pm | #3

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: