We received a nice useful solution from our consultant, Daniel Sjögren. Here’s Daniel’s description:

Hi!

A nice thing with the UDI Wizard and our Jumpstart Web Service is that it set’s the Task Sequence variables OSImageName, ApplicationRole and LocationRole

I like to use those variables later to apply different OS images, OS settings, applications and so on.

The problem I got was to keep this functionality and still enable ZTI. If the SkipWizard is set to YES then it skips the following steps in our standard Task Sequence:

  • Jumpstart Gather Roles for UDI
  • UDI Wizard
  • Jumpstart Update Data from UDI

Then ApplicationRole and LocationRole won’t be set/created.

The script (JumpstartShowUDI.wsf) I written does the following:

It uses parts of the code in JumpstartUDIDataCollector.wsf

It checks if the computer exists in MDT. If not, it sets SkipWizard=NO

If checks if the OSDComputerName equals MININT-% and if it has this name it sets SkipWizard=NO

If the computer exists in MDT, it grabs the Roles.

If the computername not equals MININT and it has a OS-%, LT-% and a AP-% Role, it will popup a question like this:

1

If the user choose OK, it sets SkipWizard=NO

If the user choose cancel or not choosing anything in 1 minut, it will set SkipWizard=YES and set the Task Variables OSImageName, ApplicationRole and LocationRole.

This script is inserted right after the step “Jumpstart Pre Execution” in the Task Sequence:

cscript "%deployroot%\scripts\JumpstartShowUDI.wsf" /Username:%_SMSTSReserved1-000% 
/Password:%_SMSTSReserved2-000% /WebServicePrefix:"%_SMSTSMP%:54224"

2

 

The script JumpstartShowUDI.wsf is available on the FTP in /Products/Jumpstart/Custom Solutions/UDI Wizard Timeout.We have also added a UDIWizard_Config.xml that you can use if you would like to use

If you have any custom solutions that you would like to share, please contact us.