Need to install an application that is dependent on variable input RRS feed

  • Question

  • Hi

    So I am working on a deployment that installs an application. The environment that this application is installed in varies. So the user must be able to enter variable values in the first splash screen that appears. And the installation should pick up these variables and use them as parameters for the installation. I handle this as follows:

    1. Prompt the user for the variable value at the beginning of the winPE phase(The screen where you select TS, enter admin password etc)

    2. Create an Run command line step in the TS and run the following command line:

    .\applications\Setup.exe /Variable1=%VariableFromWinPEHere%

    Is this possible in MDT? As I am used to work with SCCM.

    If this is not the way to approach it, how should i approach it?

    Also bonus question: How do I get MDT 2013 to prompt for a variable that is available through the whole OS installation?


    Thursday, September 11, 2014 1:02 PM

All replies

  • Pretty sure that this can be done as you have stated. Once you create an MDT variable it will be available throughout the entire MDT build.

    The other way to do it is create a wsf/vbs script that has access to the MDT variables and install the app (using the variable) through that.

    Thursday, September 11, 2014 1:17 PM
  • Thank you for you reply :)

    As you say "Once you create an MDT variable it will be available throughout the entire MDT build."

    How exactly do I create an MDT variable? And how do I get it to prompt for it during the winPE phase?

    Can I just put in an empty put in an empty "Set TS variable" step in the TS and MDT will prompt the user for the value?

    I am looking for something like collection variables in SCCM 2007. When you left the variable without any value it would prompt you for it before executing the TS. Also I need these prompts to appear based on what TS you choose.

    Thursday, September 11, 2014 1:32 PM
  • Why not using the Wizrd Studio

    There are some other threads about this:

    Thursday, September 11, 2014 5:49 PM
  • Additionally, here is another solution:

    Keith Garner - Principal Consultant [owner] -

    Saturday, September 13, 2014 4:14 AM