What's new ?
1 / Application.xml file is replaced by a GUI
In the first version you had to fill an "Application.xml" file with your application information. In this version this part is replaced with a GUI.
2 / Application informations are pre-filled
If your application folder sources is named as in MDT "Publisher Name Version" these fields will be automatically set in the GUI using the folder name.
You can find in c:\windows\import_appli_mdt a DeploymentShare_List.xml file.
This file is used to select your deploymentshare. Paste your deploymentshare path in the path node. If you have several deploymentshare add them in this file.
How to use it ?
1 / Do a right-click in your application sources folder
2 / Click on "Import this application in MDT"
|Import application GUI 1|
To use this latter you have to modify the below registry Key:
HKEY_CLASSES_ROOT\Directory\Background\shell\Add this application in MDT\command
Change the "Default" string value: in the ps1 path replace gui1 with gui2
|Import application GUI 2|
6 / The application will be imported in your Deploymentshare
How to get the script ?
1 / Download the "Add_Application_Contexmenuv2.rar" file
2 / Extract the RAR file
3 / Run the "Add application MDT v2.exe" file
How works the script ?
1 / You can find a folder c:\windows\import_appli_mdt containing both GUI versions.
2 / Fill your deploymentshare in the file deploymentshare_list.xml.
What's next ?
Add a checkbox to set an application as Mandatory by adding it in the customsettings.ini
Thanks to Stephen and Seb for their good suggestions.