mounir Posted April 3, 2011 Posted April 3, 2011 Hello EverybodyI try to build Windows PE x86 with keyboard Swiss French!Here is the batch file-------------- WinRE.BAT ------------------------------------@echo offREM ------------------------------------------------------REM Microsoft Windows Setup x86 REM Vers.7 - version 6.1.7600.16385 - FrenchREM ------------------------------------------------------set HLab=E:set RLab=Laboset RMount=Mountset RLang=Langset RLIPBoot=LIPWinPE6.1.7600.16385set RDVD=DVDset Mount=%HLab%\%RLab%\%RMount%set Labo=%HLab%\%RLab%set DVD=%Labo%\%RDVD%set LangB=%Labo%\%Rlang%\%RLIPBoot%REM ---------------------------REM Traitement Boot.WIM Index:2REM ---------------------------EchoEchoEcho -------------------------------------Echo ..:: Traitement Boot.WIM Index:2 ::..Echo -------------------------------------EchoXcopy %DVD%\Boot.WIM %Labo%\WinPEx86\Boot.WIM /yImageX /MountRW %Labo%\WinPEx86\Boot.wim 2 %Mount%Start /wait dism /image:%Mount% /GET-PackagesStart /wait dism /Image:%Mount% /Add-Package /PackagePath:%LangB%\fr-FR\LP.CABStart /wait dism /Image:%Mount% /Add-Package /PackagePath:%LangB%\fr-FR\WinPE-Scripting_fr-fr.CABStart /wait dism /Image:%Mount% /Add-Package /PackagePath:%LangB%\fr-FR\WinPE-srt_fr-fr.CABStart /wait dism /Image:%Mount% /Add-Package /PackagePath:%LangB%\fr-FR\WinPE-WDS-Tools_fr-fr.CABStart /wait dism /Image:%Mount% /Add-Package /PackagePath:%LangB%\fr-FR\Winpe-wmi_fr-fr.CABStart /wait dism /Image:%Mount% /Add-Package /PackagePath:%LangB%\fr-FR\Winpe-Setup_fr-fr.CABStart /wait dism /Image:%Mount% /Add-Package /PackagePath:%LangB%\fr-FR\Winpe-Setup-Client_fr-fr.CABStart /wait dism /image:%Mount% /GET-PackagesREM ------------------Start /wait dism /image:%Mount% /GET-Intlrem Dism /Image:%Mount% /Set-UILang:fr-FRrem Dism /Image:%Mount% /Set-SySLocale:fr-CHrem Dism /Image:%Mount% /Set-UserLocale:fr-CHrem Dism /Image:%Mount% /Set-InputLocale:100c:0000100crem Dism /Image:%Mount% /Set-TimeZone:"Romance Standard Time"intlcfg -InputLocale:100C:0000100C -Image:%Mount%intlcfg -SySLocale:fr-CH -Image:%Mount%intlcfg -UserLocale:fr-CH -Image:%Mount%intlcfg -UILang:fr-FR -Image:%Mount%intlcfg -TimeZone:"Romance Standard Time" -Image:%Mount%intlcfg -report -Image:%Mount%Start /wait dism /image:%Mount% /GET-IntlREM ------------------Xcopy %Labo%\WinPEshl.ini %Mount%\Windows\System32\ /yREM %Mount%\sources\Lang.InIStart /wait dism /Image:%Mount% /Gen-LangInI /Distribution:%Mount%ImageX /boot /capture %Mount% %Labo%\WinPEx86\ISO\Sources\Boot.WIM "WinRE"OSCDImg -n -m -b%Labo%\WinPEx86\etfsboot.com %Labo%\WinPEx86\ISO %Labo%\Final1.ISOImagex /UnMount %Mount% /commitEcho -------------------------------------echo ..:: DVD WinRE Fini ::..Echo ------------------------------------------------------- WinPEshl.InI --------------[LaunchApp]AppPath=X:\Sources\Recovery\Recenv.ExE-------------------------------I check all setting in the mount and registry Default! All is fineI have keyboard "French" but need "French (swiss)" See pictures...Who can help me! somethink in batch file is wrong or i forget somethink to doThank you in advance for your answer
myselfidem Posted April 3, 2011 Posted April 3, 2011 (edited) You can find help here:Intlcfg Command-Line Options The International Settings Configuration Tool (Intlcfg.exe) is used to change the language and locale, fonts, and input settings for a Windows Vista® and Windows Server® 2008 images. Typically, you run Intlcfg.exe after applying one or more language packs to your Windows image.Caution The intlcfg tool is used to configure Windows Vista and Windows Server 2008 computers only. To change the international settings on Windows® 7 and Windows Server® 2008 R2, use the DISM tool. For more information, see Languages and International Servicing Command-Line Options.Languages and International Servicing Command-Line Options:http://technet.micro...360(WS.10).aspx You can change your batch file like this for Windows 7:REM ------------------Start /wait dism /image:%Mount% /GET-IntlDism /Image:%Mount% /Set-UILang:fr-FRDism /Image:%Mount% /Set-SySLocale:fr-FRDism /Image:%Mount% /Set-UserLocale:fr-CHDism /Image:%Mount% /Set-InputLocale:100c:0000100cDism /Image:%Mount% /Set-TimeZone:"W. Europe Standard Time"rem intlcfg -InputLocale:100C:0000100C -Image:%Mount%rem intlcfg -SySLocale:fr-FR -Image:%Mount%rem intlcfg -UserLocale:fr-CH -Image:%Mount%rem intlcfg -UILang:fr-FR -Image:%Mount%rem intlcfg -TimeZone:"W. Europe Standard Time" -Image:%Mount%rem intlcfg -report -Image:%Mount%Start /wait dism /image:%Mount% /GET-IntlREM ------------------ Edited April 3, 2011 by myselfidem
mounir Posted April 3, 2011 Author Posted April 3, 2011 Thank you for your answer!I test it and is the same way! i not have the french swiss keybard!I think is right :Dism /Image:%Mount% /Set-SySLocale:fr-CHI think in the batch file, some comand is necesary! tks for your futur help!...
myselfidem Posted April 3, 2011 Posted April 3, 2011 (edited) I will try and tell you later. *Edit:Yes you can keep /Set-SySLocale:fr-CH.But, unfortunatly, after testing, I see there is no effect : InputLocale:100c:0000100c isn't selected as default.http://technet.micro...360(WS.10).aspxLimitationsThe DISM International servicing commands cannot be used on a Windows Vista® or a Windows Server® 2008 image. The international commands can be used to change international settings only in Windows® 7 and Windows PE 3.0 images. Image winRE*Edit 2: You are trying to customize an winRE and not an winPE!. The winRE.wim is located inside install.wim image mounted: %Mounted_Folder%\Windows\System32\Recovery\winRE.wim Edited April 4, 2011 by myselfidem
mounir Posted April 6, 2011 Author Posted April 6, 2011 I need more information!In Winre.WIM have index 1 and 2!I must setting the two index or not!I test many setting but i never have the keyboard swiss frenchneed help please
myselfidem Posted April 6, 2011 Posted April 6, 2011 (edited) Could you please, paste or attach the informations about your winRE.wim. imagex /info <path to the file>\winRE.wimInformations about Windows RE:Customizing the Windows RE ExperienceWalkthrough: Create a Windows RE Image Example inside my computer x64 winRE.wim (only One index):C:\Program Files\Windows AIK\Tools\PETools>imagex /info C:\Windows\System32\Recovery\winRE.wimImageX Tool for WindowsCopyright © Microsoft Corp. All rights reserved.Version: 6.1.7600.16385WIM Information:----------------Path: C:\Windows\System32\Recovery\winRE.wimGUID: {339e18a9-f8de-47d2-8040-d938d7060e8b}Image Count: 1Compression: LZXPart Number: 1/1Boot Index: 1Attributes: 0x8 Relative path junctionAvailable Image Choices:------------------------<WIM> <TOTALBYTES>168388891</TOTALBYTES><IMAGE INDEX="1"> <DIRCOUNT>2408</DIRCOUNT> <FILECOUNT>10475</FILECOUNT> <TOTALBYTES>1056354646</TOTALBYTES> <HARDLINKBYTES>376494593</HARDLINKBYTES> <CREATIONTIME> <HIGHPART>0x01CA0435</HIGHPART> <LOWPART>0x3018893B</LOWPART> </CREATIONTIME> <LASTMODIFICATIONTIME> <HIGHPART>0x01CA0435</HIGHPART> <LOWPART>0x30E79F7F</LOWPART> </LASTMODIFICATIONTIME> <WINDOWS> <ARCH>9</ARCH> <PRODUCTNAME>Microsoft® Windows® Operating System</PRODUCTNAME> <EDITIONID>WindowsPE</EDITIONID> <INSTALLATIONTYPE>WindowsPE</INSTALLATIONTYPE> <PRODUCTTYPE>WinNT</PRODUCTTYPE> <PRODUCTSUITE></PRODUCTSUITE> <LANGUAGES> <LANGUAGE>en-US</LANGUAGE> <DEFAULT>en-US</DEFAULT> </LANGUAGES> <VERSION> <MAJOR>6</MAJOR> <MINOR>1</MINOR> <BUILD>7600</BUILD> <SPBUILD>16385</SPBUILD> <SPLEVEL>0</SPLEVEL> </VERSION> <SYSTEMROOT>WINDOWS</SYSTEMROOT> </WINDOWS> <NAME>Microsoft Windows Recovery Environment (x64)</NAME> <DESCRIPTION>Microsoft Windows Recovery Environment (x64)</DESCRIPTION> </IMAGE></WIM>C:\Program Files\Windows AIK\Tools\PETools> Edited April 6, 2011 by myselfidem
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now