Re-ordering applications in MDT

Spent some time today updating tools that were out of date and needed a refresh.

One of the applications is my MDT Application Re-ordering tool.

Application Reordering

There are two different scenarios where you might want to rearrange applications in MDT.

1. Where application X needs to be installed *before* application Y. If so, use the dependencies option in the applications entry page in the Deployment Console. This is the only way to ensure applications are installed in any specific order.

2. However if you want the applications to *appear* in a specific order in the Deployment Wizard, then you can use the tool to perform this task. This also has a side effect any application selected in the MDT wizard will be installed in the order displayed in the wizard.

Behind the Scenes

After the user arranges the applications in the MDT2010Ordering tool, the tool will construct a powershell script to do the heavy lifting. The script essentially just moves the application out of the folder and back again in the correct order.

If you wanted to do all of this by hand, you could also just modify the control\ApplicationGroups.xml file to perform the actions. Be careful! :^)


2 thoughts on “Re-ordering applications in MDT

  1. Keith-

    I’m trying to dynamically show and\or populate an MDT wizard pane based on which applications are selected. I’m trying to figure out if there are variables I can query, but I can’t figure out what they are. Thanks

    • *IF* you can order the applications such that the application in question is the very first item in the list, then you might be able to get away with a simple test in the DeployWiz_Definition_ENU.xml
      oEnvironment.Item(“Applications001”) = “{12345678-1234-1234-1234-123456781234}”

      Or something like that
      *HOWEVER*, if you have more than one item, or the application in question is at an arbitrary place within the Applications.xml file, then you would need to write a custom routine to test for the existence of your specified GUID within the Applications List.

      The alternative is to make a small modification to the wizard to display custom HTML code within the Applications Wizard Page. (Check elsewhere in this blog for the answer…)

Leave a Reply

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

You are commenting using your 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