Error Installing Applications from UDI Wizard
I am working with a customer where we have set up a task sequence and are using the UDI wizard to pick the language and keyboard as they are a worldwide organisation and also to pick applications which are non standard. I came across this error when deploying a machine where we selected no applications from the UDI wizard.
To set the scene a little more, core applications or applications which are deemed everyone will need or use go in via the task sequence, a group of applications using the Install Application task sequence step. We then have another step which takes the COALESEDAPPS variable from the script in MDT which converts the APPLICATIONS base variable into COALESEDAPPS.
However when we run the task sequence and select no additional applications in the UDI wizard you will be presented with a task sequence failure when you come to the step which reads this variable. Here is the line indicating the problem in our smsts.log file.
No Env variable with specified basename COALESCEDAPPS and suffix ’01’ is found. No applications installed.
So what is happening here is that the task sequence expects the variable COALESEDAPPS to exist, however because we haven’t selected anything application wise in the UDI wizard. Or rather the variable exists but not in its correct form. To combat this we can put a condition on the Install Applications task sequence step to say only execute if this exists. However after the MDT script runs this variable does always exist so we can modify this to say only run if the variable COALESEDAPPS01 exists.
So add the condition in via the Options tab in the task sequence editor. Make the changes then off you go, run the task sequence and it should be working fine.