Jump to content

swedish keyboard layout


Recommended Posts

I have this section in my unattend.xml file;


<component name="Microsoft-Windows-International-Core-WinPE" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">
<SetupUILanguage>
<UILanguage>en-US</UILanguage>
</SetupUILanguage>
<InputLocale>041d:0000041d</InputLocale>
<SystemLocale>sv-SE</SystemLocale>
<UILanguage>en-US</UILanguage>
<UILanguageFallback>en-US</UILanguageFallback>
<UserLocale>sv-SE</UserLocale>
</component>

I have to choose from eng to swe keybaord layout after the installation is finished.

edit:

I don't think the Microsoft-Windows-International-Core-WinPE should be placed under oobe, that braked my hole installation and it wont pass the validation test in WSIM...

Here is my full unattended.xml

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="windowsPE">
<component name="Microsoft-Windows-International-Core-WinPE" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">
<SetupUILanguage>
<UILanguage>en-US</UILanguage>
</SetupUILanguage>
<InputLocale>041d:0000041d</InputLocale>
<SystemLocale>sv-SE</SystemLocale>
<UILanguage>en-US</UILanguage>
<UILanguageFallback>en-US</UILanguageFallback>
<UserLocale>sv-SE</UserLocale>
</component>
<component name="Microsoft-Windows-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">
<WindowsDeploymentServices>
<Login>
<WillShowUI>Never</WillShowUI>
<Credentials>
<Username>Administrator</Username>
<Domain>domain.local</Domain>
<Password>pass</Password>
</Credentials>
</Login>
<ImageSelection>
<InstallImage>
<ImageName>win7</ImageName>
<ImageGroup>win7</ImageGroup>
<Filename>win7std.wim</Filename>
</InstallImage>
<WillShowUI>Never</WillShowUI>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>1</PartitionID>
</InstallTo>
</ImageSelection>
</WindowsDeploymentServices>
<DiskConfiguration>
<WillShowUI>Never</WillShowUI>
<Disk>
<CreatePartitions>
<CreatePartition>
<Order>1</Order>
<Type>Primary</Type>
<Extend>true</Extend>
</CreatePartition>
</CreatePartitions>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
<ModifyPartitions>
<ModifyPartition>
<Active>true</Active>
<Format>NTFS</Format>
<Label>SYSTEM</Label>
<Letter>C</Letter>
<PartitionID>1</PartitionID>
<Order>1</Order>
</ModifyPartition>
</ModifyPartitions>
</Disk>
</DiskConfiguration>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-UnattendedJoin" 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">
<Identification>
<UnsecureJoin>True</UnsecureJoin>
<JoinDomain>domain.local</JoinDomain>
</Identification>
</component>
<component name="Microsoft-Windows-Shell-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">
<BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled>
<DisableAutoDaylightTimeSet>true</DisableAutoDaylightTimeSet>
<RegisteredOrganization>IT</RegisteredOrganization>
<RegisteredOwner>IT</RegisteredOwner>
<ShowWindowsLive>false</ShowWindowsLive>
<DoNotCleanTaskBar>true</DoNotCleanTaskBar>
<TimeZone>W. Europe Standard Time</TimeZone>
</component>
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">
<SecurityLayer>2</SecurityLayer>
<UserAuthentication>2</UserAuthentication>
</component>
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">
<fDenyTSConnections>false</fDenyTSConnections>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-International-Core-WinPE" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">
<SetupUILanguage>
<UILanguage>en-US</UILanguage>
</SetupUILanguage>
<InputLocale>041d:0000041d</InputLocale>
<SystemLocale>sv-SE</SystemLocale>
<UILanguage>en-US</UILanguage>
<UILanguageFallback>en-US</UILanguageFallback>
<UserLocale>sv-SE</UserLocale>
</component>
<component name="Microsoft-Windows-Shell-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Work</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
<UserAccounts>
<LocalAccounts>
<LocalAccount>
<Password>
<Value>pass</Value>
<PlainText>true</PlainText>
</Password>
<Description>IT admin account</Description>
<DisplayName>it</DisplayName>
<Group>Administrators;Power Users</Group>
<Name>it</Name>
</LocalAccount>
</LocalAccounts>
<DomainAccounts>
<DomainAccountList>
<DomainAccount>
<Name>Administrator</Name>
<Group>Administrators;Power Users</Group>
</DomainAccount>
<Domain>domain.local</Domain>
</DomainAccountList>
</DomainAccounts>
</UserAccounts>
</component>
</settings>
<cpi:offlineImage cpi:source="catalog:d:/sources/install_windows 7 professional.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

Edited by zeezam
Link to comment
Share on other sites


@ zeezam

You need to write <UILanguage>sv-SE>/UILanguage>

<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="windowsPE">
<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/url]">
<SetupUILanguage>
<UILanguage>sv-SE</UILanguage>
</SetupUILanguage>
<InputLocale>041d:0000041d</InputLocale>
<SystemLocale>sv-SE</SystemLocale>
<UILanguage>sv-SE</UILanguage>
<UserLocale>sv-SE</UserLocale>
<UILanguageFallback>en-US</UILanguageFallback>

And also into oobeSystem:

<settings pass="oobeSystem">
<component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/url]">
<SystemLocale>sv-SE</SystemLocale>
<UILanguage>sv-SE</UILanguage>
<UserLocale>041d:0000041d</UserLocale>
</component>

I hope that will help you!

Edited by myselfidem
Link to comment
Share on other sites

@ zeezam

You need to write <UILanguage>sv-SE>/UILanguage>

<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="windowsPE">
<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/url]">
<SetupUILanguage>
<UILanguage>sv-SE</UILanguage>
</SetupUILanguage>
<InputLocale>041d:0000041d</InputLocale>
<SystemLocale>sv-SE</SystemLocale>
<UILanguage>sv-SE</UILanguage>
<UserLocale>sv-SE</UserLocale>
<UILanguageFallback>en-US</UILanguageFallback>

And also into oobeSystem:

<settings pass="oobeSystem">
<component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/url]">
<SystemLocale>sv-SE</SystemLocale>
<UILanguage>sv-SE</UILanguage>
<UserLocale>041d:0000041d</UserLocale>
</component>

I hope that will help you!

I got an error;

WdsClient: A matching language pack was not found. Please check your client unattended installation file. Language pack [sv-SE].

I don't want to have the whole gui to be sv-SE, just the keyboard layout...

Link to comment
Share on other sites

@ zeezam

You need to write <UILanguage>sv-SE>/UILanguage>

<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="windowsPE">
<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/url]">
<SetupUILanguage>
<UILanguage>sv-SE</UILanguage>
</SetupUILanguage>
<InputLocale>041d:0000041d</InputLocale>
<SystemLocale>sv-SE</SystemLocale>
<UILanguage>sv-SE</UILanguage>
<UserLocale>sv-SE</UserLocale>
<UILanguageFallback>en-US</UILanguageFallback>

And also into oobeSystem:

<settings pass="oobeSystem">
<component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/url]">
<SystemLocale>sv-SE</SystemLocale>
<UILanguage>sv-SE</UILanguage>
<UserLocale>041d:0000041d</UserLocale>
</component>

I hope that will help you!

I got an error;

WdsClient: A matching language pack was not found. Please check your client unattended installation file. Language pack [sv-SE].

I don't want to have the whole gui to be sv-SE, just the keyboard layout...

Ofcourse you get the error when you set everything to swedish and not just keyboard layout..

Link to comment
Share on other sites

Ofcourse you get the error when you set everything to swedish and not just keyboard layout..

That's not what I first did.

myselfidem told me to put all to sv-SE.

UILanguage is the one that should på en-US (for the gui).

The sv-SE keyboard language still don't apply.

Link to comment
Share on other sites

@zeezam

Maybe here is a possibility.

You can try to download the language pack "windows6.1-kb972813-x86-sv-se_687085e8bbdf9c17a668b801f28f7f9c74e7a86a.exe", here:

http://www.free-down...-32-bit-64-bit/

Convert the exe file in cab file with "exe2cab.exe" here:

http://www.msfn.org/...to-7customizer/ (at the end of the tutorial).

After, expand the cab file with WinRAR. Select the files you need in the folder:

"x86_keyboard.inf.resources_31bf3856ad364e35_6.1.7600.16385_sv-se_139b29d615dfd01b".

You can see four files:

i8042prt.sys.mui

kbdclass.sys.mui

kbdhid.sys.mui

keyboard.inf_loc

I hope that will help you.

Edited by myselfidem
Link to comment
Share on other sites

@zeezam

Excuse me. My last post was not useful. Don't need to try it.

You can find help here:

http://www.windowsne...ista-Part7.html

Extract: "At this point let's select Validate Answer File from the Tools menu and check for any error or warning events that are displayed in the Messages pane (only informational events should be displayed, and those you can safely ignore)."

And here:

http://www.microsoft...&displaylang=en

I hope that will help you!

Edited by myselfidem
Link to comment
Share on other sites

@zeezam

Excuse me. My last post was not useful. Don't need to try it.

You can find help here:

http://www.windowsne...ista-Part7.html

Extract: "At this point let's select Validate Answer File from the Tools menu and check for any error or warning events that are displayed in the Messages pane (only informational events should be displayed, and those you can safely ignore)."

And here:

http://www.microsoft...&displaylang=en

I hope that will help you!

Solved it. I open the xml file in WSIM.

I ran the validation. There is two type of international-core. On is named international-core-winpe. I I choose them from the component list and add to my answer file it comes to right place.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...