MDT 2010: Automate Application Deployment

The installation of applications can be automated as part of a Lite-Touch deployment. There are times when you want to install an application after the operating system has been deployed. For example you may want to install an antivirus client or an SCCM client agent.

Firstly your applications will need to be added to the deployment workbench and configured to run silently. Once that’s done you can target the applications by obtaining their GUID’s from the Applications node.

The example below is taken from my customsettings.ini and will cause MDT to install 3 applications evertime a deployment is run:

SkipApplications=YES
SkipAppsOnUpgrade=YES

Applications001={1a7b58f6-5de8-4fb0-bcc9-88653ff810f4}
Applications002={e34ff5f1-2a52-43d2-89ff-2d13aef76233}
Applications003={c1ac9665-b9da-4db3-9e14-b729a9e09859}

You should list all your applications in the order that you want them installed (for example, Applications001, Applications002, Applications002 etc). followed by their GUID in curly brackets.

If you have many applications to automate, you can save time and obtain the GUIDs from the Applications.xml file in the Control folder of your deployment share.

You may not want your applications to install for every single task sequence in which case you can add the variables as Task Sequences Variables. More on that another day.

About Andrew Barnes

A Scripting and Deployment Specialist.
This entry was posted in Deployment, MDT 2010 and tagged , , , , , , . Bookmark the permalink.

13 Responses to MDT 2010: Automate Application Deployment

  1. Arnen Hadler says:

    I got an issue with that. I listet all apps I need to get installed automaticaly, just like shown here, but they just not getting installed.

    I even changed the skip commands to:
    SkipApplications=NO
    SkipAppsOnUpgrade=NO

    and this way the wizard shows me the apps, but they all are already selected, so I can go ahead and click next. But still, they are not getting installed. I wonder why!

    Cu, Arne

    Like

  2. Matt Courtman says:

    Many thanks for posting this guide, which allowed me to do all I needed. I had AdobeFlash, AdobeReader, AdobeShockwave and Java installed within the hour. Just working on AdobeAir now….

    Best wishes, Matt

    Like

  3. Hello Andrew,

    Once again, thank you for this blog, it has lot of good information. I was looking for an article to deploy apps based on Task Sequence. Did you or would you be able to elaborate on “add the variables as Task Sequences Variables”?

    Thank you.

    -David

    Like

  4. Hello Scriptimus,

    Thanks for your support, i have an issue with MDT2012. Doe’s not show me the application Pane, indeed i have in the CS.ini and BR.ini the parameter SkipApplications=NO

    Can you help us?

    Thanks!

    Like

    • It could be any number of things Jason. Post this in the MDT forum and I’ll help answer it there.

      Like

      • Hi Scriptimus, thanks, now i resolve the issue.
        I needed to add the Install Application step, so that the panel is displayed. Thanks in advance, I really was not very complicated, but I did not imagine that this step was necessary. I assumed the administration of the panels is only done through file Custom Settings.ini

        Like

      • It sounds like you’re not using the correct task sequence. You should use standard client task sequence.

        Liked by 1 person

      • haha yeah, i’m using post task sequence, but this is because there are in the server another process of personalization thorugh another tool, then we don’t using the standard client task sequence.

        Best Regards,

        JAson

        Like

  5. I take this opportunity to ask you another question. I happen substituting a .dll file extension. For this I was trying to use robocopy, xcopy, copy and script in Visual Basic (VBS) but does not work me, at the end of the execution of the task sequence, it appears that it has not been successful and that the file is not found .

    The curious thing is that I’m using to replace other folders and works successfully.

    Do you have any idea about what is wrong?

    Thanks in advance.

    Like

  6. I’ve really been experiencing several problems with this. I am in the process of customizing a Windows Server 2003 with MDT 2012. Another problem that I currently happening is the following: I am running over the task of configuring network adapters. In this way I establish the name of the adapters only. For some reason the company requires that the name of the adapters carry accents. When the sequence task executes, puts the names but gets bad because there is an issue of characters not supported. What I did then was to create a script in order to put the names with accents and running smoothly. But when this happens, the driver of one of the adapters makes the connection preventing crash recognition, and must be restarted for the driver and connection work is recognized.

    Do you have any idea that it could be what is causing this type of behavior?

    I also want to share and know your opinion. I am running few scripts end with diskpart to set a mirror between two hard drives, but at the end of an error notice always appears he could not access certain files and is set to 70%. Ideal set up a mirror in MDT with diskpart or is there a better way?

    Best regard,

    Jason from Colombia.

    Like

Leave a comment