MDT 2013 UberBug02 – English keyboards only please!

Got a question from a private DL asking about a possible bug in MDT 2013 Update 1:

locale

When you change the Keyboard Locale in the MDT LiteTouch wizard, you get this error:

“An error has occurred in the script on this page”

“Type mismatch: ‘SetNewKeyboardLayout'”

The bug

Looking at the differences in MDT 2013 RTW (Release to Web), MDT 2013 Update 1 Tech Preview, and the final MDT 2013 Update 1 RTW ) version, I can see that someone added some debugging code into DeployWiz_LanguageUI.xml for the beta:THe

<SELECT NAME="KeyboardLocale_Edit" class=WideEdit onchange="SetNewKeyboardLayout">

and into DeployWiz_LanguageUI.vbs

Function SetNewKeyboardLayout
   MsgBox(KeyboardLocale_Edit.Value)
   MsgBox(GetLocale)
   MsgBox(hex(GetLocale))
End Function

Clearly this is some kind of debugging used in development, adding a MsgBox during onchange in production is bad.

The Fix

The work around is easy, click “yes” on the dialog above, and continue.

The fix is fairly easy. Simply change the DeployWiz_LanguageUI.xml file line 62 from the text above to:

<SELECT NAME="KeyboardLocale_Edit" class=WideEdit>

Connect bug: 1684128

Advertisements

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