Import an application in MDT with a right-click Version 2
https://www.systanddeploy.com/2016/03/import-application-in-mdt-with-right_21.html
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.
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.
Deploymentshare list |
deploymentshare_list.xml |
How to use it ?
1 / Do a right-click in your application sources folder
2 / Click on "Import this application in MDT"
Context menu |
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 |
Missing fields |
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.
Enregistrer un commentaire