October 27, 201015 yr Hi.I'm trying to modify my Windows 7 x86 Ultimate with rt7lite.Normally when I install I have this:But I wanna make it install like this:With regshot I have compared the registry before and after modifying manually and I have made this registry settings:Windows Registry Editor Version 5.00[HKEY_CURRENT_USER\Keyboard Layout\Substitutes]"00000409"=-[HKEY_CURRENT_USER\Keyboard Layout\Preload]"1"="00000409""2"="00000418""3"="d0010418"[HKEY_CURRENT_USER\Software\Microsoft\CTF\Assemblies\0x00000409][HKEY_CURRENT_USER\Software\Microsoft\CTF\Assemblies\0x00000409\{34745C63-B2F0-4784-8B67-5E12C8701A31}]"Default"="{00000000-0000-0000-0000-000000000000}""Profile"="{00000000-0000-0000-0000-000000000000}""KeyboardLayout"=dword:04090409[HKEY_CURRENT_USER\Software\Microsoft\CTF\SortOrder\AssemblyItem\0x00000409\{34745C63-B2F0-4784-8B67-5E12C8701A31}\00000000]"KeyboardLayout"=dword:04090409When I run it after installation is changing fine.But if I add it as a reg file in rt7lite is not. Windows installs the same.What am I doing wrong...?Please help me.Thank you.Best regards, Cosmin3
October 27, 201015 yr It does not work because no matter what keyboard you add with the regtweak it will change it back to whatever you have in your autounattend.xml
October 27, 201015 yr Author In Windows XP worked but I guess in Windows 7 is different...So what can I do then...? Edited October 27, 201015 yr by Cosmin3
October 27, 201015 yr Author I found a solution: I converted (manually) the reg file to a cmd file:@reg delete "HKCU\Keyboard Layout\Substitutes" /v 00000409 /f@reg add "HKCU\Keyboard Layout\Preload" /v 1 /t REG_SZ /d 00000409 /f@reg add "HKCU\Keyboard Layout\Preload" /v 2 /t REG_SZ /d 00000418 /f@reg add "HKCU\Keyboard Layout\Preload" /v 3 /t REG_SZ /d d0010418 /f@reg add "HKCU\Software\Microsoft\CTF\Assemblies\0x00000409\{34745C63-B2F0-4784-8B67-5E12C8701A31}" /v Default /t REG_SZ /d {00000000-0000-0000-0000-000000000000} /f@reg add "HKCU\Software\Microsoft\CTF\Assemblies\0x00000409\{34745C63-B2F0-4784-8B67-5E12C8701A31}" /v Profile /t REG_SZ /d {00000000-0000-0000-0000-000000000000} /f@reg add "HKCU\Software\Microsoft\CTF\Assemblies\0x00000409\{34745C63-B2F0-4784-8B67-5E12C8701A31}" /v KeyboardLayout /t REG_DWORD /d 04090409 /f@reg add "HKCU\Software\Microsoft\CTF\SortOrder\AssemblyItem\0x00000409\{34745C63-B2F0-4784-8B67-5E12C8701A31}\00000000" /v KeyboardLayout /t REG_DWORD /d 04090409 /fI add it in Un-attended >> RunOnce.A question: is there a program to convert reg to cmd? I searched with Google but I couldn't find a good one.
October 28, 201015 yr Author Here it is:<?xml version="1.0" encoding="utf-8"?><!--This answer file generated by RT Seven Lite--><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="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SetupUILanguage> <UILanguage>en-US</UILanguage> </SetupUILanguage> <InputLocale>0418:00010418</InputLocale> <UserLocale>ro-RO</UserLocale> <UILanguage>en-US</UILanguage> <SystemLocale>en-US</SystemLocale> </component> <component name="Microsoft-Windows-Setup" 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"> <ImageInstall> <OSImage> <InstallFrom> <MetaData wcm:action="add"> <Key>/IMAGE/NAME</Key> </MetaData> </InstallFrom> <InstallToAvailablePartition>false</InstallToAvailablePartition> <WillShowUI>OnError</WillShowUI> </OSImage> </ImageInstall> <UserData> <ProductKey> <Key>XXXX-XXXX-XXXX-XXXX-XXXX</Key> <WillShowUI>OnError</WillShowUI> </ProductKey> <AcceptEula>true</AcceptEula> </UserData> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-Setup" 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"> <UserAccounts> <LocalAccounts /> </UserAccounts> <OOBE> <NetworkLocation>Home</NetworkLocation> <HideEULAPage>true</HideEULAPage> <ProtectYourPC>1</ProtectYourPC> <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> <SkipMachineOOBE>false</SkipMachineOOBE> <SkipUserOOBE>false</SkipUserOOBE> </OOBE> <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet> <TimeZone>GTB Standard Time</TimeZone> <Themes> <WindowColor>Sky</WindowColor> </Themes> </component> </settings> <settings pass="specialize"> <component name="Microsoft-Windows-Shell-Setup" 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"> <Themes> <WindowColor>Sky</WindowColor> </Themes> </component> <component name="Microsoft-Windows-Security-Licensing-SLC-UX" 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"> <SkipAutoActivation>true</SkipAutoActivation> </component> </settings></unattend>I need these: <InputLocale>0418:00010418</InputLocale> <UserLocale>ro-RO</UserLocale>because I want that Windows 7 install both English and Romanian keyboard layouts.But maybe you know a better way to modify in rt7lite options and/or this xml... Edited October 28, 201015 yr by Cosmin3
October 29, 201015 yr Author Like I said, adding those registry settings in RunOnce works.But there is a small problem: I have to restart Windows so it can "see" these changes 100%.Is there any way to "notify" Windows about this so it can "see" them without restarting...? Just like when you click OK on that "Text services and input languages" window...
Create an account or sign in to comment