none
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?

    Thanks!

    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 http://mdtwizardstudio.codeplex.com/

    There are some other threads about this: http://social.technet.microsoft.com/Forums/en-US/a85604e4-dfb8-4c87-bd0e-c110b2cb4b0c/create-custom-litetouch-wizard-questionvariable-mdt-2012-u1?forum=mdt

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

    http://keithga.wordpress.com/2014/05/19/custom-html-code-within-the-mdt-applications-wizard-page/


    Keith Garner - Principal Consultant [owner] - http://DeploymentLive.com

    Saturday, September 13, 2014 4:14 AM
    Moderator