none
UDI wizard is not applying TimeZone setting (MDT2013) RRS feed

  • Question

  • Hi All,

    I am working on MDT2013 to create Windows7-64bit Image for OEM vendor. Note:- I am not using any SQL database.

    I have customized the UDIWizard_Config.xml where it should ask for UIlanguage, Inputlocale and Timezone. I am calling this UDI wizard xml in Tasksequence after gathering locally here the problem is after completing the build its not applying the Timezone setting in image.

    Any one aware about this issue? why UDI wizard is not applying the Timezone setting in image? 

    I have attached the below UDI wizard XML. please answer and ask if you require any more details..

    <?xml version="1.0" encoding="UTF-8"?>
    
    -<Wizard>
    
    
    -<DLLs>
    
    <DLL Name="OSDRefreshWizard.dll"/>
    
    <DLL Name="SharedPages.dll"/>
    
    </DLLs>
    
    
    -<Style>
    
    <Setter Property="bannerFilename">UDI_Wizard_Banner.bmp</Setter>
    
    <Setter Property="title">Operating System Deployment (OSD) Wizard</Setter>
    
    </Style>
    
    
    -<Pages>
    
    
    -<Page Name="WelcomePage" Type="Microsoft.SharedPages.WelcomePage" DisplayName="Welcome">
    
    
    -<Fields>
    
    
    -<Field Name="WelcomeText" Summary="" Enabled="true">
    
    <Default> Welcome to the Deployment Wizard. This wizard will walk you through a series of screens that will allow you to choose Language type. Click on the 'Next' button to start your selected language pack installalation. Please allow 1 hours for installation. If you need support during this process, please e-mail your system administrator. </Default>
    
    </Field>
    
    </Fields>
    
    </Page>
    
    
    -<Page Name="ConfigScanPage" Type="Microsoft.OSDRefresh.ConfigScanPage" DisplayName="Deployment Readiness">
    
    
    -<Tasks StatusTitle="Status" NameTitle="Configuration Check Name">
    
    
    -<Task Type="Microsoft.Wizard.ShellExecuteTask" DisplayName="Check Windows Scripting Host">
    
    <Setter Property="filename">%windir%\system32\cscript.exe</Setter>
    
    <Setter Property="parameters">Preflight\OSDCheckWSH.vbs</Setter>
    
    <Setter Property="BitmapFilename">images\WinScriptHost.bmp</Setter>
    
    
    -<ExitCodes>
    
    <ExitCode Type="0" Text="" Value="0" State="Success"/>
    
    <ExitCode Type="-1" Text="Windows Scripting Host not installed." Value="*" State="Error"/>
    
    </ExitCodes>
    
    </Task>
    
    
    -<Task Type="Microsoft.SharedPages.WiredNetworkTask" DisplayName="Wired Network Check">
    
    <Setter Property="BitmapFilename">images\WiredNetwork.ico</Setter>
    
    
    -<ExitCodes>
    
    <ExitCode Type="0" Text="" Value="0" State="Success"/>
    
    <ExitCode Type="-1" Text="No Wired connection found. Please plug in to a network cable." Value="*" State="Error"/>
    
    </ExitCodes>
    
    </Task>
    
    
    -<Task Type="Microsoft.OSDRefresh.AppDiscoveryTask" DisplayName="Application Discovery">
    
    <Setter Property="readcfg">$LogPath$\OSDSetupWizard.xml.app</Setter>
    
    <Setter Property="writecfg">%temp%\AppDiscoveryresult.xml.app</Setter>
    
    <Setter Property="log">$LogPath$\AppDiscovery.log</Setter>
    
    <Setter Property="BitmapFilename">images\AppDiscovery.ico</Setter>
    
    
    -<ExitCodes>
    
    <ExitCode Type="0" Text="Successfully scanned applications." Value="0" State="Success"/>
    
    <ExitCode Type="1" Text="Could not run application discovery engine (reason unknown). The appropriate applications may not be selected." Value="*" State="Warning"/>
    
    <ExitCode Type="1" Text="One or more warnings were encountered (nonfatal) while running App Discovery. The appropriate applications may not be selected." Value="1" State="Warning"/>
    
    <ExitCode Type="1" Text="Critical problems were encountered while initializing App Discovery. The appropriate applications may not be selected." Value="16777216" State="Warning"/>
    
    <ExitCode Type="1" Text="Critical problems were encountered while processing the Application Master List. The appropriate applications may not be selected." Value="33554432" State="Warning"/>
    
    </ExitCodes>
    
    </Task>
    
    
    -<Task Type="Microsoft.Wizard.ShellExecuteTask" DisplayName="Get Printers">
    
    <Setter Property="filename">%windir%\system32\cscript.exe</Setter>
    
    <Setter Property="parameters">Preflight\OSD_GetPrinters.vbs /xmlout:%temp%\PrinterList.xml;$LogPath$\PrinterList.xml</Setter>
    
    <Setter Property="BitmapFilename">images\Printers.ico</Setter>
    
    
    -<ExitCodes>
    
    <ExitCode Type="0" Text="" Value="0" State="Success"/>
    
    <ExitCode Type="1" Text="Output filename not specified correctly." Value="10" State="Warning"/>
    
    <ExitCode Type="1" Text="Unable to create output file." Value="20" State="Warning"/>
    
    <ExitCode Type="1" Text="An unknown error has occurred." Value="*" State="Warning"/>
    
    </ExitCodes>
    
    </Task>
    
    
    -<Task Type="Microsoft.Wizard.ShellExecuteTask" DisplayName="CheckSMSFolderOnUSB">
    
    <Setter Property="filename">%windir%\system32\cscript.exe</Setter>
    
    <Setter Property="parameters">Preflight\CheckSMSFolderOnUSB.vbs</Setter>
    
    <Setter Property="BitmapFilename">images\USB.bmp</Setter>
    
    
    -<ExitCodes>
    
    <ExitCode Type="0" Text="" Value="0" State="Success"/>
    
    <ExitCode Type="-1" Text="Please disconnect any USB Drives at this time, cancel the wizard, and start the task sequence over." Value="*" State="Error"/>
    
    <Error Type="-1" Text="The path not found" Value="2" State="Error"/>
    
    <Error Type="-1" Text="The file not found" Value="3" State="Error"/>
    
    </ExitCodes>
    
    </Task>
    
    
    -<Task Type="Microsoft.OSDRefresh.ACPowerTask" DisplayName="AC Power Check">
    
    <Setter Property="BitmapFilename">images\ACPower.bmp</Setter>
    
    
    -<ExitCodes>
    
    <ExitCode Type="0" Text="" Value="0" State="Success"/>
    
    <ExitCode Type="-1" Text="No AC power detected. Please plug in to power." Value="*" State="Error"/>
    
    </ExitCodes>
    
    </Task>
    
    
    -<Task Type="Microsoft.Wizard.ShellExecuteTask" DisplayName="Check Drive Encryption">
    
    <Setter Property="filename">%windir%\system32\cscript.exe</Setter>
    
    <Setter Property="parameters">Preflight\OSDBitlockerState.vbs %systemdrive%</Setter>
    
    <Setter Property="BitmapFilename">images\bitlocker.ico</Setter>
    
    
    -<ExitCodes>
    
    <ExitCode Type="0" Text="" Value="0" State="Success"/>
    
    <ExitCode Type="1" Text="Drive is fully encrypted. Encryption will be paused during deployment and resumed." Value="1" State="Warning"/>
    
    <ExitCode Type="1" Text="Drive encryption is paused. Encryption will resume after deployment has completed." Value="4" State="Warning"/>
    
    <ExitCode Type="1" Text="Drive encryption is paused. Encryption will resume after deployment has completed." Value="5" State="Warning"/>
    
    <ExitCode Type="-1" Text="Drive is currently encrypting. Please fully encrypt or pause encryption to continue." Value="2" State="Error"/>
    
    <ExitCode Type="-1" Text="Drive is currently decrypting. Please fully decrypt or pause decryption to continue." Value="3" State="Error"/>
    
    <ExitCode Type="-1" Text="A script error was detected. Please contact support to continue." Value="*" State="Error"/>
    
    </ExitCodes>
    
    </Task>
    
    </Tasks>
    
    </Page>
    
    
    -<Page Name="ConfigScanBareMetal" Type="Microsoft.OSDRefresh.ConfigScanPage" DisplayName="Deployment Readiness">
    
    
    -<Tasks StatusTitle="Status" NameTitle="Configuration Check Name">
    
    
    -<Task Type="Microsoft.Wizard.ShellExecuteTask" DisplayName="Check Windows Scripting Host">
    
    <Setter Property="filename">%windir%\system32\cscript.exe</Setter>
    
    <Setter Property="parameters">Preflight\OSDCheckWSH.vbs</Setter>
    
    <Setter Property="BitmapFilename">images\WinScriptHost.bmp</Setter>
    
    
    -<ExitCodes>
    
    <ExitCode Type="0" Text="" Value="0" State="Success"/>
    
    <ExitCode Type="-1" Text="Windows Scripting Host not installed." Value="*" State="Error"/>
    
    </ExitCodes>
    
    </Task>
    
    
    -<Task Type="Microsoft.SharedPages.WiredNetworkTask" DisplayName="Wired Network Check">
    
    <Setter Property="BitmapFilename">images\WiredNetwork.ico</Setter>
    
    
    -<ExitCodes>
    
    <ExitCode Type="0" Text="" Value="0" State="Success"/>
    
    <ExitCode Type="-1" Text="No Wired connection found. Please plug in to a network cable." Value="*" State="Error"/>
    
    </ExitCodes>
    
    </Task>
    
    
    -<Task Type="Microsoft.OSDRefresh.ACPowerTask" DisplayName="AC Power Check">
    
    <Setter Property="BitmapFilename">images\ACPower.bmp</Setter>
    
    
    -<ExitCodes>
    
    <ExitCode Type="0" Text="" Value="0" State="Success"/>
    
    <ExitCode Type="-1" Text="No AC power detected. Please plug in to power." Value="*" State="Error"/>
    
    </ExitCodes>
    
    </Task>
    
    
    -<Task Type="Microsoft.OSDRefresh.PrestageDriveLookupTask" DisplayName="OEMMedia Lookup">
    
    <Setter Property="BitmapFilename"/>
    
    
    -<ExitCodes>
    
    <ExitCode Type="0" Text="Success" Value="0" State="Success"/>
    
    <ExitCode Type="-1" Text="Error" Value="*" State="Error"/>
    
    </ExitCodes>
    
    </Task>
    
    
    -<Task Type="Microsoft.OSDRefresh.AppDiscoveryTask" DisplayName="Application Discovery">
    
    <Setter Property="readcfg">%OSDDataSourceDrive%\%OSDDataSourceDirectory%\AppDiscoveryresult.xml.app</Setter>
    
    <Setter Property="writecfg">%temp%\AppDiscoveryresult.xml.app</Setter>
    
    <Setter Property="log">$LogPath$\AppDiscovery.log</Setter>
    
    <Setter Property="BitmapFilename">images\AppDiscovery.ico</Setter>
    
    
    -<ExitCodes>
    
    <ExitCode Type="0" Text="Successfully scanned applications." Value="0" State="Success"/>
    
    <ExitCode Type="1" Text="Could not run application discovery engine (reason unknown). The appropriate applications may not be selected." Value="*" State="Warning"/>
    
    <ExitCode Type="0" Text="AppDiscovery exited with success as Application matching information is not available in Windows PE." Value="1" State="Success"/>
    
    <ExitCode Type="1" Text="Critical problems were encountered while initializing App Discovery. The appropriate applications may not be selected." Value="16777216" State="Warning"/>
    
    <ExitCode Type="1" Text="Critical problems were encountered while processing the Application Master List. The appropriate applications may not be selected." Value="33554432" State="Warning"/>
    
    </ExitCodes>
    
    </Task>
    
    </Tasks>
    
    </Page>
    
    
    -<Page Name="RebootPage" Type="Microsoft.OSDRefresh.RebootPage" DisplayName="Reboot">
    
    
    -<Fields>
    
    
    -<Field Name="RebootText" Summary="" Enabled="true">
    
    <Default> Your machine will now be rebooted. Click on the 'Finish' button to reboot. </Default>
    
    </Field>
    
    </Fields>
    
    </Page>
    
    
    -<Page Name="WelcomePageReplace" Type="Microsoft.SharedPages.WelcomePage" DisplayName="Welcome">
    
    
    -<Fields>
    
    
    -<Field Name="WelcomeText" Summary="" Enabled="true">
    
    <Default> Welcome to the Replace Wizard. This wizard will walk you through a series of screens that will allow you to customize your data and settings for USMT. After you have entered the information, the wizard will begin USMT. Click on the 'Next' button to start. Please allow 2 hours for USMT. If you need support during this process, please e-mail your system administrator. </Default>
    
    </Field>
    
    </Fields>
    
    </Page>
    
    
    -<Page Name="VolumePage" Type="Microsoft.OSDRefresh.VolumePage" DisplayName="Volume">
    
    
    -<Fields>
    
    <Field Name="Image" Summary="Image Selection:" Enabled="true" VarName="OSDImageIndex"/>
    
    
    -<Field Name="Volume" Summary="Volume:" Enabled="true">
    
    
    -<Validator Type="Microsoft.Wizard.Validation.NonEmpty">
    
    <Setter Property="Message">There are no volumes available for installing the OS.</Setter>
    
    </Validator>
    
    </Field>
    
    <Field Name="Directory" Summary="Windows Directory:" Enabled="true"/>
    
    <Field Name="Format" Summary="Format:" Enabled="true" VarName="OSDDiskPart"/>
    
    </Fields>
    
    <Setter Property="MinimumVolumeSize">10</Setter>
    
    <Setter Property="FormatWinPE">Partition and &format disk 0.</Setter>
    
    <Setter Property="FormatFullOS">&Clean the selected volume.</Setter>
    
    <Setter Property="FormatWinPEWarning">WARNING: Choosing this option will repartition and format disk 0!</Setter>
    
    <Setter Property="FormatFullOSWarning">WARNING: Choosing this option will delete all data on the target volume!</Setter>
    
    
    -<Data Name="ImageSelection">
    
    
    -<DataItem>
    
    <Setter Property="DisplayName">Windows 7 RTM (x86)</Setter>
    
    <Setter Property="Index">1</Setter>
    
    <Setter Property="Architecture">x86</Setter>
    
    <Setter Property="ImageName">Windows 7 RTM Images</Setter>
    
    </DataItem>
    
    </Data>
    
    </Page>
    
    
    -<Page Name="UserRestorePage" Type="Microsoft.OSDRefresh.UserStatePage" DisplayName="Select Target">
    
    
    -<Fields>
    
    <RadioGroup Name="LocationGroup" Locked="false"/>
    
    
    -<Field Name="TargetDrive" Enabled="true" VarName="">
    
    
    -<Validator Type="Microsoft.Wizard.Validation.NonEmpty">
    
    <Setter Property="Message">No target drive found. Please insert a valid USB drive and click the Refresh button.</Setter>
    
    </Validator>
    
    </Field>
    
    
    -<Field Name="NetworkLocation" Enabled="true" VarName="SMSConnectNetworkFolderPath">
    
    
    -<Validator Type="Microsoft.Wizard.Validation.NonEmpty">
    
    <Setter Property="Message">No valid network share.</Setter>
    
    </Validator>
    
    </Field>
    
    
    -<Field Name="Username" Summary="User:" Enabled="true" VarName="OSDUserStateKey">
    
    
    -<Validator Type="Microsoft.Wizard.Validation.NonEmpty">
    
    <Setter Property="Message">You have to input user name. Example is domain\user.</Setter>
    
    </Validator>
    
    
    -<Validator Type="Microsoft.Wizard.Validation.RegEx">
    
    <Setter Property="Message">User name format is invalid. Example is domain\user.</Setter>
    
    <Setter Property="Pattern">^([A-Za-z0-9-\.]+)\\([^+#,*"<>;=\[\]:?/|']+)$</Setter>
    
    </Validator>
    
    </Field>
    
    
    -<Field Name="Password" Summary="" Enabled="true" VarName="OSDUserStateKeyPassword">
    
    
    -<Validator Type="Microsoft.Wizard.Validation.NonEmpty">
    
    <Setter Property="Message">Password is required. Please enter the password.</Setter>
    
    </Validator>
    
    </Field>
    
    <Field Name="NoDataRadio" Enabled="true" VarName=""/>
    
    <Field Name="LocalRadio" Enabled="true" VarName=""/>
    
    <Field Name="USBRadio" Enabled="true" VarName=""/>
    
    <Field Name="NetworkRadio" Enabled="true" VarName=""/>
    
    </Fields>
    
    <Setter Property="NetworkPassword"/>
    
    <Setter Property="NetworkUsername"/>
    
    <Setter Property="DataSourceText">Please select a location where user data will be captured and/or restored.</Setter>
    
    <Setter Property="Format">disable</Setter>
    
    <Setter Property="FormatPrompt">disable</Setter>
    
    <Setter Property="MinimumDriveSize">10</Setter>
    
    <Setter Property="State">Restore</Setter>
    
    <Setter Property="NetworkDrive">n:</Setter>
    
    <Data Name="Network"/>
    
    </Page>
    
    
    -<Page Name="ComputerPage" Type="Microsoft.OSDRefresh.ComputerPage" DisplayName="New Computer Details">
    
    
    -<Fields>
    
    
    -<RadioGroup Name="DomainGroup" Locked="false">
    
    <Default>Workgroup</Default>
    
    </RadioGroup>
    
    
    -<Field Name="ComputerName" Summary="Computer Name:" Enabled="true" VarName="OSDComputerName">
    
    
    -<Validator Type="Microsoft.Wizard.Validation.NonEmpty">
    
    <Setter Property="Message">The computer name is required. Please enter a computer name.</Setter>
    
    </Validator>
    
    
    -<Validator Type="Microsoft.Wizard.Validation.RegEx">
    
    <Setter Property="Message">The computer name is not valid. It either contains a character that isn't allowed, or is longer than 15 characters.</Setter>
    
    <Setter Property="NamedPattern">ComputerName</Setter>
    
    </Validator>
    
    
    -<Validator Type="Microsoft.Wizard.Validation.InvalidChars">
    
    <Setter Property="Message">One of the characters in the computer name is not valid.</Setter>
    
    <Setter Property="InvalidChars"/>
    
    </Validator>
    
    </Field>
    
    
    -<Field Name="DomainCombo" Enabled="true" VarName="OSDDomainName">
    
    
    -<Validator Type="Microsoft.Wizard.Validation.NonEmpty">
    
    <Setter Property="Message">You must select a domain.</Setter>
    
    </Validator>
    
    </Field>
    
    <Field Name="DomainOUCombo" Enabled="true" VarName="OSDDomainOUName"/>
    
    
    -<Field Name="WorkgroupName" Summary="Workgroup:" Enabled="true" VarName="OSDWorkgroupName">
    
    
    -<Validator Type="Microsoft.Wizard.Validation.NonEmpty">
    
    <Setter Property="Message">The workgroup name must be between 1 and 15 characters long, and cannot contain any of these characters: " : ; | = + * ? < ></Setter>
    
    </Validator>
    
    
    -<Validator Type="Microsoft.Wizard.Validation.RegEx">
    
    <Setter Property="Message">The workgroup name must be between 1 and 15 characters long, and cannot contain any of these characters: " : ; | = + * ? < ></Setter>
    
    <Setter Property="NamedPattern">Workgroup</Setter>
    
    </Validator>
    
    </Field>
    
    
    -<Field Name="Username" Summary="Join Domain Account:" Enabled="true" VarName="OSDJoinAccount">
    
    
    -<Validator Type="Microsoft.Wizard.Validation.NonEmpty">
    
    <Setter Property="Message">You have to input user name. Example is domain\user.</Setter>
    
    </Validator>
    
    
    -<Validator Type="Microsoft.Wizard.Validation.RegEx">
    
    <Setter Property="Message">User name format is invalid. Example is domain\user.</Setter>
    
    <Setter Property="Pattern">^([A-Za-z0-9-\.]+)\\([^+#,*"<>;=\[\]:?/|']+)$</Setter>
    
    </Validator>
    
    </Field>
    
    
    -<Field Name="Password" Summary="" Enabled="true" VarName="OSDJoinPassword">
    
    
    -<Validator Type="Microsoft.Wizard.Validation.NonEmpty">
    
    <Setter Property="Message">Password is required. Please enter the password.</Setter>
    
    </Validator>
    
    </Field>
    
    </Fields>
    
    <Setter Property="ADCredentialCheck" Type="boolean">true</Setter>
    
    <Setter Property="ADComputerObjectCheck" Type="boolean">true</Setter>
    
    <Setter Property="UseExistingComputerName" Type="boolean">false</Setter>
    
    <Data Name="Domain"/>
    
    </Page>
    
    
    -<Page Name="AdminAccounts" Type="Microsoft.SharedPages.AdminAccountsPage" DisplayName="Administrator Password">
    
    
    -<Fields>
    
    
    -<Field Name="Username" Summary="Add as Administrator:" Enabled="true" VarName="OSDAddAdmin">
    
    <Default>%OSDJoinAccount%</Default>
    
    
    -<Validator Type="Microsoft.Wizard.Validation.InvalidChars">
    
    <Setter Property="Message">One of the characters in the Account Name(s) field is not valid.</Setter>
    
    <Setter Property="InvalidChars">/[]:|=,+*<>?"</Setter>
    
    </Validator>
    
    </Field>
    
    
    -<Field Name="Password" Summary="" Enabled="true" VarName="OSDLocalAdminPassword">
    
    <Default/>
    
    
    -<Validator Type="Microsoft.Wizard.Validation.NonEmpty">
    
    <Setter Property="Message">Password is required. Please enter the password.</Setter>
    
    </Validator>
    
    </Field>
    
    </Fields>
    
    </Page>
    
    
    -<Page Name="UDAPage" Type="Microsoft.OSDRefresh.UDAPage" DisplayName="User Device Affinity">
    
    
    -<Fields>
    
    
    -<Field Name="DeviceAfinity" Summary="" Enabled="true">
    
    <Default>false</Default>
    
    </Field>
    
    
    -<Field Name="Username" Summary="User Device Affinity Account:" Enabled="true" VarName="SMSTSUdaUsers">
    
    <Default>%OSDJoinAccount%</Default>
    
    
    -<Validator Type="Microsoft.Wizard.Validation.NonEmpty">
    
    <Setter Property="Message">You have to input user name. Example is domain\user.</Setter>
    
    </Validator>
    
    
    -<Validator Type="Microsoft.Wizard.Validation.RegEx">
    
    <Setter Property="Message">User name format is invalid. Example is domain\user.</Setter>
    
    <Setter Property="Pattern">^([A-Za-z0-9-]+)\\([^+#,*"<>;=\[\]:?/|']+)$</Setter>
    
    </Validator>
    
    </Field>
    
    <Field Name="Password" Enabled="true"/>
    
    </Fields>
    
    </Page>
    
    
    -<Page Name="LanguagePage" Type="Microsoft.OSDRefresh.LanguagePage" DisplayName="Language">
    
    
    -<Fields>
    
    
    -<Field Name="LanguagePack" Summary="Language Pack:" Enabled="true" VarName="UILanguage">
    
    <Default>DE-DE</Default>
    
    </Field>
    
    
    -<Field Name="InputLocale" Summary="Locale:" Enabled="true" VarName="UserLocale">
    
    <Default>en-US</Default>
    
    </Field>
    
    
    -<Field Name="KeyboardLocale" Summary="Keyboard Locale:" Enabled="true" VarName="KeyboardLocale">
    
    <Default>00000409</Default>
    
    </Field>
    
    
    -<Field Name="TimeZone" Summary="Time Zone:" Enabled="true" VarName="OSDTimeZone">
    
    <Default>Pacific Standard Time</Default>
    
    </Field>
    
    </Fields>
    
    
    -<Data Name="LanguagePacks">
    
    
    -<DataItem>
    
    <Setter Property="DisplayName">English (United States)</Setter>
    
    <Setter Property="Language">EN-US</Setter>
    
    </DataItem>
    
    
    -<DataItem>
    
    <Setter Property="DisplayName">Chinese (Hong Kong S.A.R.)</Setter>
    
    <Setter Property="Language">ZH-HK</Setter>
    
    </DataItem>
    
    
    -<DataItem>
    
    <Setter Property="DisplayName">German (Germany)</Setter>
    
    <Setter Property="Language">DE-DE</Setter>
    
    </DataItem>
    
    
    -<DataItem>
    
    <Setter Property="DisplayName">Japanese (Japan)</Setter>
    
    <Setter Property="Language">JA-JP</Setter>
    
    </DataItem>
    
    
    -<DataItem>
    
    <Setter Property="DisplayName">Polish (Poland)</Setter>
    
    <Setter Property="Language">PL-PL</Setter>
    
    </DataItem>
    
    
    -<DataItem>
    
    <Setter Property="DisplayName">Romanian (Romania)</Setter>
    
    <Setter Property="Language">RO-RO</Setter>
    
    </DataItem>
    
    </Data>
    
    </Page>
    
    
    -<Page Name="ApplicationPage" Type="Microsoft.OSDRefresh.ApplicationPage" DisplayName="Install Programs">
    
    <Setter Property="Link.Uri">%temp%\AppDiscoveryresult.xml.app</Setter>
    
    <Setter Property="TsAppBaseVariable">PACKAGES</Setter>
    
    <Setter Property="TsApplicationBaseVariable">APPLICATIONS</Setter>
    
    <Setter Property="TsWindowsAppPackageAppBaseVariable">WINDOWSAPPPACKAGEAPPS</Setter>
    
    <Setter Property="TsAppInstall">AppInstall</Setter>
    
    </Page>
    
    <Page Name="SummaryPage" Type="Microsoft.Shared.SummaryPage" DisplayName="Summary"/>
    
    
    -<Page Name="UserCapturePageOldPC" Type="Microsoft.OSDRefresh.UserStatePage" DisplayName="Select Target">
    
    
    -<Fields>
    
    <RadioGroup Name="LocationGroup" Locked="false"/>
    
    
    -<Field Name="TargetDrive" Enabled="true" VarName="">
    
    
    -<Validator Type="Microsoft.Wizard.Validation.NonEmpty">
    
    <Setter Property="Message">No target drive found. Please insert a valid USB drive and click the Refresh button.</Setter>
    
    </Validator>
    
    </Field>
    
    
    -<Field Name="NetworkLocation" Enabled="true" VarName="SMSConnectNetworkFolderPath">
    
    
    -<Validator Type="Microsoft.Wizard.Validation.NonEmpty">
    
    <Setter Property="Message">No valid network share.</Setter>
    
    </Validator>
    
    </Field>
    
    
    -<Field Name="Username" Summary="User:" Enabled="true" VarName="OSDUserStateKey">
    
    
    -<Validator Type="Microsoft.Wizard.Validation.NonEmpty">
    
    <Setter Property="Message">You have to input user name. Example is domain\user.</Setter>
    
    </Validator>
    
    
    -<Validator Type="Microsoft.Wizard.Validation.RegEx">
    
    <Setter Property="Message">User name format is invalid. Example is domain\user.</Setter>
    
    <Setter Property="Pattern">^([A-Za-z0-9-\.]+)\\([^+#,*"<>;=\[\]:?/|']+)$</Setter>
    
    </Validator>
    
    </Field>
    
    
    -<Field Name="Password" Summary="" Enabled="true" VarName="OSDUserStateKeyPassword">
    
    
    -<Validator Type="Microsoft.Wizard.Validation.NonEmpty">
    
    <Setter Property="Message">Password is required. Please enter the password.</Setter>
    
    </Validator>
    
    </Field>
    
    <Field Name="NoDataRadio" Enabled="false" VarName=""/>
    
    <Field Name="LocalRadio" Enabled="false" VarName=""/>
    
    <Field Name="USBRadio" Enabled="true" VarName=""/>
    
    <Field Name="NetworkRadio" Enabled="true" VarName=""/>
    
    </Fields>
    
    <Setter Property="NetworkPassword"/>
    
    <Setter Property="NetworkUsername"/>
    
    <Setter Property="DataSourceText">Please select a location where user data will be captured.</Setter>
    
    <Setter Property="Format">disable</Setter>
    
    <Setter Property="FormatPrompt">disable</Setter>
    
    <Setter Property="MinimumDriveSize">10</Setter>
    
    <Setter Property="State">Capture</Setter>
    
    <Setter Property="NetworkDrive">n:</Setter>
    
    <Data Name="Network"/>
    
    </Page>
    
    
    -<Page Name="ProgressPage" Type="Microsoft.OSDRefresh.ProgressPage" DisplayName="Capture Data">
    
    <Setter Property="LogFilename">$LogPath$\USMTcapture.prg</Setter>
    
    
    -<Tasks StatusTitle="Status" NameTitle="Task Name">
    
    
    -<Task Type="Microsoft.Wizard.CopyFilesTask" DisplayName="Copy AppDiscovery XML">
    
    <File Dest="$DriveLetter$\%OSDDataSourceDirectory%" Source="%temp%\AppDiscoveryresult.xml.app"/>
    
    <Setter Property="BitmapFilename">images\copy.bmp</Setter>
    
    
    -<ExitCodes>
    
    <ExitCode Type="0" Text="" Value="0" State="Success"/>
    
    <ExitCode Type="-1" Text="Copy failed." Value="*" State="Error"/>
    
    <Error Type="-1" Text="Copy failed. Please check the OSD Wizard log file for details." Value="*" State="Error"/>
    
    </ExitCodes>
    
    </Task>
    
    
    -<Task Type="Microsoft.Wizard.CopyFilesTask" DisplayName="Copy Printers XML">
    
    <File Dest="$DriveLetter$\%OSDDataSourceDirectory%" Source="%temp%\PrinterList.xml"/>
    
    <Setter Property="BitmapFilename">images\Printers.ico</Setter>
    
    
    -<ExitCodes>
    
    <ExitCode Type="0" Text="" Value="0" State="Success"/>
    
    <ExitCode Type="-1" Text="Copy failed. Please check the OSD Wizard log file for details." Value="*" State="Error"/>
    
    </ExitCodes>
    
    </Task>
    
    
    -<Task Type="Microsoft.Wizard.CopyFilesTask" DisplayName="Copy ProductsList">
    
    <File Dest="$DriveLetter$\%OSDDataSourceDirectory%" Source="%temp%\ProductsInstalled.txt"/>
    
    <Setter Property="BitmapFilename">images\copy.bmp</Setter>
    
    
    -<ExitCodes>
    
    <ExitCode Type="0" Text="" Value="0" State="Success"/>
    
    <ExitCode Type="-1" Text="Copy failed." Value="*" State="Error"/>
    
    <Error Type="-1" Text="Copy failed. Please check the OSD Wizard log file for details." Value="*" State="Error"/>
    
    </ExitCodes>
    
    </Task>
    
    
    -<Task Type="Microsoft.Wizard.ShellExecuteTask" DisplayName="Run USMT">
    
    <Setter Property="BitmapFilename">images\usmt.bmp</Setter>
    
    <Setter Property="filename">%windir%\system32\wscript.exe</Setter>
    
    <Setter Property="parameters">//B %ScriptRoot%\ZTIUserState.wsf /capture /OSDStateStorePath:$DriveLetter$\%OSDDataSourceDirectory% /UserDataKey:%OSDUserStateKeyPassword%</Setter>
    
    
    -<ExitCodes>
    
    <ExitCode Type="0" Text="" Value="0" State="Success"/>
    
    <ExitCode Type="-1" Text="USMT scan state failed." Value="*" State="Error"/>
    
    </ExitCodes>
    
    </Task>
    
    </Tasks>
    
    </Page>
    
    
    -<Page Name="RebootAfterCapture" Type="Microsoft.OSDRefresh.RebootPage" DisplayName="Reboot">
    
    
    -<Fields>
    
    
    -<Field Name="RebootText" Summary="" Enabled="true">
    
    <Default> Your machine will now be rebooted. Click on the 'Finish' button to reboot. </Default>
    
    </Field>
    
    </Fields>
    
    </Page>
    
    
    -<Page Name="BitLocker" Type="Microsoft.OSDRefresh.BitLockerPage" DisplayName="BitLocker">
    
    
    -<Fields>
    
    <!-- Valid values: TPM,TPMPIN,TPMKey and ExternalKey-->
    
    
    
    -<RadioGroup Name="BitLockerRadioGroup" Locked="false">
    
    <Default>TPMPIN</Default>
    
    </RadioGroup>
    
    
    -<RadioGroup Name="LocationGroup" Locked="false">
    
    <Default>AD</Default>
    
    </RadioGroup>
    
    
    -<Field Name="BitLocker" Summary="" Enabled="true" VarName="BDEInstallSuppress">
    
    <Default>True</Default>
    
    </Field>
    
    
    -<Field Name="PIN" Summary="" Enabled="true" VarName="BDEPIN">
    
    
    -<Validator Type="Microsoft.Wizard.Validation.NonEmpty">
    
    <Setter Property="Message">The PIN must not be emtpy</Setter>
    
    </Validator>
    
    
    -<Validator Type="Microsoft.Wizard.Validation.RegEx">
    
    <Setter Property="Message">PIN should be a number between 4-20 digits</Setter>
    
    <Setter Property="Pattern">^[0-9-]{4,20}$</Setter>
    
    </Validator>
    
    </Field>
    
    
    -<Field Name="WaitForEncryption" Summary="" Enabled="true" VarName="OSDBitlockerWaitForEncryption">
    
    <Default>True</Default>
    
    </Field>
    
    </Fields>
    
    <Setter Property="KeyLocation"/>
    
    </Page>
    
    
    -<Page Name="Build Type" Type="Microsoft.Wizard.CustomPage" DisplayName="Build Type">
    
    
    -<Fields>
    
    
    -<Field Name="label3" Summary="" Enabled="true" VarName="">
    
    <Default>Choose Language Type</Default>
    
    </Field>
    
    
    -<RadioGroup Name="Group1" Summary="ABBLan" Enabled="true" VarName="ABBLang" Locked="false">
    
    <Default>radiobutton1</Default>
    
    </RadioGroup>
    
    
    -<Field Name="combo5" Summary="ABBLang" Enabled="true" VarName="ABBLang">
    
    <Default>English</Default>
    
    </Field>
    
    </Fields>
    
    
    -<Data Name="CustomFields">
    
    
    -<DataItem>
    
    <Setter Property="ControlType">label</Setter>
    
    <Setter Property="ID">3</Setter>
    
    <Setter Property="X">37.27</Setter>
    
    <Setter Property="Y">3.67</Setter>
    
    <Setter Property="Width">100</Setter>
    
    <Setter Property="Height">12</Setter>
    
    <Setter Property="Name">label3</Setter>
    
    <Setter Property="Label">Choose Language Type</Setter>
    
    </DataItem>
    
    
    -<DataItem>
    
    <Setter Property="ControlType">combo</Setter>
    
    <Setter Property="ID">5</Setter>
    
    <Setter Property="X">36.87</Setter>
    
    <Setter Property="Y">21.25</Setter>
    
    <Setter Property="Width">100</Setter>
    
    <Setter Property="Height">12</Setter>
    
    <Setter Property="Name">combo5</Setter>
    
    </DataItem>
    
    </Data>
    
    
    -<Data Name="combo5">
    
    
    -<DataItem>
    
    <Setter Property="DisplayName">English</Setter>
    
    <Setter Property="Value">0</Setter>
    
    </DataItem>
    
    
    -<DataItem>
    
    <Setter Property="DisplayName">Chinese</Setter>
    
    <Setter Property="Value">1</Setter>
    
    </DataItem>
    
    
    -<DataItem>
    
    <Setter Property="DisplayName">Japanese</Setter>
    
    <Setter Property="Value">2</Setter>
    
    </DataItem>
    
    
    -<DataItem>
    
    <Setter Property="DisplayName">German</Setter>
    
    <Setter Property="Value">3</Setter>
    
    </DataItem>
    
    
    -<DataItem>
    
    <Setter Property="DisplayName">Lang-2</Setter>
    
    <Setter Property="Value">4</Setter>
    
    </DataItem>
    
    
    -<DataItem>
    
    <Setter Property="DisplayName">Lang-3</Setter>
    
    <Setter Property="Value">5</Setter>
    
    </DataItem>
    
    
    -<DataItem>
    
    <Setter Property="DisplayName">Lang-4</Setter>
    
    <Setter Property="Value">6</Setter>
    
    </DataItem>
    
    
    -<DataItem>
    
    <Setter Property="DisplayName">Lang-5</Setter>
    
    <Setter Property="Value">7</Setter>
    
    </DataItem>
    
    
    -<DataItem>
    
    <Setter Property="DisplayName">Lang-6</Setter>
    
    <Setter Property="Value">8</Setter>
    
    </DataItem>
    
    
    -<DataItem>
    
    <Setter Property="DisplayName">Lang-7</Setter>
    
    <Setter Property="Value">9</Setter>
    
    </DataItem>
    
    </Data>
    
    </Page>
    
    </Pages>
    
    
    -<StageGroups>
    
    
    -<StageGroup DisplayName="New Computer">
    
    
    -<Stage Name="NEWCOMPUTER" DisplayName="New Computer">
    
    <PageRef Page="WelcomePage"/>
    
    <PageRef Page="LanguagePage"/>
    
    <PageRef Page="SummaryPage"/>
    
    </Stage>
    
    
    -<Stage Name="NEWCOMPUTER.Prestaged" DisplayName="New Computer (prestaged media)">
    
    <PageRef Page="WelcomePage"/>
    
    <PageRef Page="BitLocker"/>
    
    <PageRef Page="UserRestorePage"/>
    
    <PageRef Page="ConfigScanBareMetal"/>
    
    <PageRef Page="ComputerPage"/>
    
    <PageRef Page="AdminAccounts"/>
    
    <PageRef Page="UDAPage"/>
    
    <PageRef Page="LanguagePage"/>
    
    <PageRef Page="ApplicationPage"/>
    
    <PageRef Page="SummaryPage"/>
    
    </Stage>
    
    </StageGroup>
    
    
    -<StageGroup DisplayName="Refresh">
    
    
    -<Stage Name="REFRESH" DisplayName="Refresh">
    
    <PageRef Page="WelcomePage"/>
    
    <PageRef Page="VolumePage"/>
    
    <PageRef Page="UserRestorePage"/>
    
    <PageRef Page="ConfigScanPage"/>
    
    <PageRef Page="ComputerPage"/>
    
    <PageRef Page="AdminAccounts"/>
    
    <PageRef Page="LanguagePage"/>
    
    <PageRef Page="ApplicationPage"/>
    
    <PageRef Page="SummaryPage"/>
    
    </Stage>
    
    </StageGroup>
    
    
    -<StageGroup DisplayName="Replace">
    
    
    -<Stage Name="REPLACE" DisplayName="Replace, in full OS">
    
    <PageRef Page="WelcomePageReplace"/>
    
    <PageRef Page="ConfigScanPage"/>
    
    <PageRef Page="RebootPage"/>
    
    </Stage>
    
    
    -<Stage Name="REPLACE.WinPE" DisplayName="Replace, in WinPE">
    
    <PageRef Page="UserCapturePageOldPC"/>
    
    <PageRef Page="ProgressPage"/>
    
    <PageRef Page="RebootAfterCapture"/>
    
    </Stage>
    
    </StageGroup>
    
    </StageGroups>
    
    </Wizard>

    Wednesday, March 18, 2015 3:27 PM

All replies