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.

Advertisements

Tags: , , , , ,

About Martyn

Martyn is one of the Senior Cloud Architects and DevOps Team Leader at one of the worlds leading Cloud Transformation Specialists Inframon. Martyn is responsible for the architecture of some of the largest Azure deployments in EMEA and is a advisor to a many businesses on their strategies. Martyn is a regular speaker at Microsoft events and community events on Azure and DevOps, giving his insight to a growing number of audiences.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: