none
MDT 2012 - How to deploy apps in OS Task Sequence RRS feed

  • Question

  • I am able to deploy a new OS (WIN8) via bootable USB and I customized the customsettings.ini file to bypass all wizards.. am I able to modify that exact task Seq and deploy applications after the OS deployment?
    Thursday, July 11, 2013 2:36 PM

Answers

All replies

  • You could explicitly define which apps to install in the task sequence itself, or you could configure CS.ini to install apps based on a variety of factors, such as make/model.

    -Nick O.

    Thursday, July 11, 2013 3:13 PM
  • There are a couple ways to do it, both start with adding an application:

    • Import an Application.  Under the 'Applications' section, select New Application and provide the source and the command line that will be used to install the app.  This can be an MSI, batch file, script, just about anything that can be executed.

    Now that you have your application, there are two ways to deploy it:

    1. Add the application to the Task Sequence.  Open the Task Sequence for editing, and on the "Task Sequence" tab, find the "Custom Tasks" group under the "State Restore" group at the bottom.  Then click Add drop-down, General hive, and select Install Application.  On this newly added step, change the radio to "Install a single application", click the now active "Browse..." button and select the application you imported in the first step.  Update the name to something that will help you identify the step (like 'App - Office 2013') and click Ok to save the changes.  Then try your new Task Sequence.
    2. Add the application as MandatoryApplications in CustomSettings.ini.  Open the Applications properties and get the Application GUID string (it will be something like {089163de-64b5-4a3e-884d-400da661c614}).  Then use this to update CustomSettings.ini as such (repeating as necessary):
    MandatoryApplications001={089163de-64b5-4a3e-884d-400da661c614}


    David Coulter | http://DCtheGeek.blogspot.com | @DCtheGeek

    Thursday, July 11, 2013 3:17 PM
    Answerer
  • There are a couple ways to do it, both start with adding an application:

    • Import an Application.  Under the 'Applications' section, select New Application and provide the source and the command line that will be used to install the app.  This can be an MSI, batch file, script, just about anything that can be executed.

    Now that you have your application, there are two ways to deploy it:

    1. Add the application to the Task Sequence.  Open the Task Sequence for editing, and on the "Task Sequence" tab, find the "Custom Tasks" group under the "State Restore" group at the bottom.  Then click Add drop-down, General hive, and select Install Application.  On this newly added step, change the radio to "Install a single application", click the now active "Browse..." button and select the application you imported in the first step.  Update the name to something that will help you identify the step (like 'App - Office 2013') and click Ok to save the changes.  Then try your new Task Sequence.
    2. Add the application as MandatoryApplications in CustomSettings.ini.  Open the Applications properties and get the Application GUID string (it will be something like {089163de-64b5-4a3e-884d-400da661c614}).  Then use this to update CustomSettings.ini as such (repeating as necessary):
    MandatoryApplications001={089163de-64b5-4a3e-884d-400da661c614}

    I tried both and it never launches. no failures either.. could it be something in my cs.ini file?

    Thursday, July 11, 2013 4:11 PM
  • The easiest way to test it is to put a Pause in the Task Sequence where the install should happen, than manually execute the "Install Command" from the "Working directory" and see what happens.  Have you checked the logs to see what's going on?  If you post your bdd.log (throw it up on SkyDrive and provide link), I can try to look through it for you.

    David Coulter | http://DCtheGeek.blogspot.com | @DCtheGeek

    Thursday, July 11, 2013 4:28 PM
    Answerer
  • where exactly is the BDD.log file?  thought I found it but not with todays date.
    Thursday, July 11, 2013 5:10 PM
  • http://sdrv.ms/11GAlQK

    I see it being skipped but don't know the reason.  I uploaded both logs.  Just search for Mozilla (that is the app I am trying to install)


    • Edited by rodgerkrau Thursday, July 11, 2013 8:46 PM wrong info
    Thursday, July 11, 2013 8:20 PM
  • Not sure why you think it's being skipped... it's running and failing: 

    Application Mozilla Firefox returned an unexpected return code: 193

    Firstly, make sure you have the full download package and not the stub.  Grab it from this page (http://www.mozilla.org/en-US/firefox/all/).  Once you have "Firefox Setup 22.0.exe", use it as the source for creating your Mozilla Firefox application.  Then, change the command line to:

    "Firefox Setup 22.0.exe" -ms

    If you need to modify the config or whatever, then you can see this page for more details: http://www.mockbox.net/server-stuff/configmgr-sccm/174-install-and-configure-firefox-silently


    David Coulter | http://DCtheGeek.blogspot.com | @DCtheGeek

    • Marked as answer by rodgerkrau Friday, July 12, 2013 6:39 PM
    Thursday, July 11, 2013 8:59 PM
    Answerer
  • thanks.. I will give it a try... 

    I seen this and thought it was being skipped: ![LOG[Execution of the instruction (Mozilla Firefox) has been skipped]LOG]!>

    but that might be the time I disabled the app testing something else. 

    Thursday, July 11, 2013 9:02 PM
  • Not sure why you think it's being skipped... it's running and failing: 

    Application Mozilla Firefox returned an unexpected return code: 193

    Firstly, make sure you have the full download package and not the stub.  Grab it from this page (http://www.mozilla.org/en-US/firefox/all/).  Once you have "Firefox Setup 22.0.exe", use it as the source for creating your Mozilla Firefox application.  Then, change the command line to:

    "Firefox Setup 22.0.exe" -ms

    If you need to modify the config or whatever, then you can see this page for more details: http://www.mockbox.net/server-stuff/configmgr-sccm/174-install-and-configure-firefox-silently


    worked like a charm!!!!!!!  thank you.. now I can follow same procedure to install multiple apps without wizards prompting me?
    Friday, July 12, 2013 6:34 PM
  • In general, yes.  Most apps have their own silent switches, so you'll need to do a little searching for each, but most of the information is out there already.  Always test it before adding it to MDT to make sure it actually installs and is silent, then add to your Task Sequence and away ya go. : )

    David Coulter | http://DCtheGeek.blogspot.com | @DCtheGeek

    Friday, July 12, 2013 6:35 PM
    Answerer
  • In general, yes.  Most apps have their own silent switches, so you'll need to do a little searching for each, but most of the information is out there already.  Always test it before adding it to MDT to make sure it actually installs and is silent, then add to your Task Sequence and away ya go. : )

    David Coulter | http://DCtheGeek.blogspot.com | @DCtheGeek


    understood!  thanks again
    Friday, July 12, 2013 6:39 PM