MSFN Forum: Changing Date Format in Autounattend.xml - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Changing Date Format in Autounattend.xml Rate Topic: -----

#1 User is offline   McoreD 

  • Member
  • PipPip
  • Group: Members
  • Posts: 156
  • Joined: 03-September 04

Posted 06 June 2009 - 06:07 PM

Hi Guys,

Could you please give me some XML examples that customize the date format and Language.

Basically I want to have it like this after Windows is finished installing:

Posted Image

Posted Image

Posted Image

Thanks,
McoreD


#2 User is offline   McoreD 

  • Member
  • PipPip
  • Group: Members
  • Posts: 156
  • Joined: 03-September 04

Posted 06 June 2009 - 06:20 PM

From ISO 3166-1 : http://www.iso.org/iso/english_country_nam...d_code_elements

This should cover Location and Language:

 <InputLocale>en-AU</InputLocale>
<SystemLocale>en-AU</SystemLocale> 
<UILanguage>en-AU</UILanguage> 
<UserLocale>en-AU</UserLocale>

This post has been edited by McoreD: 06 June 2009 - 06:23 PM


#3 User is offline   MAVERICKS CHOICE 

  • The Guy from Aus
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,615
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 07 June 2009 - 03:31 AM

I have also tried that in all available passes however always defaults to en-US?
Hope you track that one down.

#4 User is offline   urie 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 509
  • Joined: 30-July 03

Posted 07 June 2009 - 03:52 AM

I have this for uk

	<settings pass="windowsPE">
		<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
			<SetupUILanguage>
				<UILanguage>en-US</UILanguage>
			</SetupUILanguage>
			<InputLocale>0809:00000809</InputLocale>
			<SystemLocale>en-UK</SystemLocale>
			<UILanguage>en-US</UILanguage>
			<UserLocale>en-UK</UserLocale>
		</component>


#5 User is offline   McoreD 

  • Member
  • PipPip
  • Group: Members
  • Posts: 156
  • Joined: 03-September 04

Posted 07 June 2009 - 06:35 AM

Thanks. After a bit more googling I found the Input Locale for AU. I don't know if <InputLocale>0c09:00000409</InputLocale> is the same as <InputLocale>en-AU</InputLocale>, anyways:

		<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
			<InputLocale>0c09:00000409</InputLocale>
			<SystemLocale>en-AU</SystemLocale>
			<UILanguage>en-AU</UILanguage>
			<UILanguageFallback>en-US</UILanguageFallback>
			<UserLocale>en-AU</UserLocale>
		</component>


How to customize Date and Time format is still undetermined. Anybody have a clue?

#6 User is offline   ajua 

  • Custom Installer Maker
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,260
  • Joined: 16-April 05

Posted 13 June 2009 - 06:52 PM

For Inout locale i had to use <InputLocale>0001042f</InputLocale> because <InputLocale>es-ES</InputLocale> or even <InputLocale>es-MX</InputLocale> never worked for me since Vista came out.

For the other regional settings maybe you can use registry tweaks or read the WAIK docs. I remember seeing some info there but i'm not sure as to what extent you can modify date and time formats.

#7 User is offline   MAVERICKS CHOICE 

  • The Guy from Aus
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,615
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 14 June 2009 - 12:34 AM

I do agree something that was not overcome since Vistas inception I'm now to believe. Like McoreD I have used every combination available in the passes to get the Au to work. Always falls back to en-US.

#8 User is offline   ajua 

  • Custom Installer Maker
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,260
  • Joined: 16-April 05

Posted 15 June 2009 - 01:59 PM

Maybe trying to not set the fallback language to <UILanguageFallback>en-US</UILanguageFallback> gets yours to work.

Just leave it empty in WAIK or delete in the XML file.

My input works even in Windows 7 XML file, but I'm trying to set the TAPI settings from the XML file but I get an error that they can't be set and the installation aborts.

#9 User is offline   McoreD 

  • Member
  • PipPip
  • Group: Members
  • Posts: 156
  • Joined: 03-September 04

Posted 22 June 2009 - 04:43 AM

Everything went fine for last night's install:

		<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
			<InputLocale>0c09:00000409</InputLocale>
			<SystemLocale>en-AU</SystemLocale>
			<UILanguage>en-AU</UILanguage>
			<UILanguageFallback>en-US</UILanguageFallback>
			<UserLocale>en-AU</UserLocale>
		</component>


except the Date Formats.

These, I still have to do manually:

yyyy-MM-dd
HH:mm:ss

Are there any Autounattend.xml settings for these? I went through the WAIK's Help file but didn't see anything. So I guess there can be a registry hack for it.

#10 User is offline   MrEs 

  • Newbie
  • Group: Members
  • Posts: 15
  • Joined: 18-August 09

Posted 23 September 2009 - 01:26 AM

Thanks for the InputLocale :)

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy