Creating additional controls for MDT Application

 

Creating controls for your application deployment is fairly simple.

Step 1:

Create a simple HTML controls with the variable names you would like to use and the values

image

Step 2:

Remove the character returns , spaces and form this in a single line format

image

Step 3:

Create a script to drive the installation based on the options entered from the wizard variable.

Initialize the variable in your script

image

Now, use oEnvironment.Item(“VariableName”) to leverage your newly created wizard variable. ( you can use MDT help “Create new Scripts from a Template”)

image

Create the application with the above created script to drive the installation

image

Paste the line from Step 2 to the “Display Name :” section of the application property

image

Step 4:

Launch the wizard and you will see the controls . When the wizard is processed, all these control names are translated in to MDT Variables ( No Additional coding required ). MDT have the capability to do this and these variables are available until the end of the deployment like any other wizard variables.

image

Disclaimer: The information on this site is provided "AS IS" with no warranties, confers no rights, and is not supported by the authors or Microsoft Corporation. Use of included script samples are subject to the terms specified in the Terms of Use .