Some help with converting ISO language, please....

Discussion in 'Windows 8' started by -HITMAN-, May 15, 2014.

  1. -HITMAN-

    -HITMAN- MDL Junior Member

    Aug 19, 2009
    51
    10
    0
    #1 -HITMAN-, May 15, 2014
    Last edited: May 15, 2014
    Hi,

    I using an updated command set posted in this thread, Post 413

    http://forums.mydigitallife.net/threads/34664-Windows-8-x-Language-Packs/page42

    To convert an en_US language base iso to an en_GB base language iso but I am getting stuck at copying the en_GB files with xcopy as the required GB Lang files are not there, looking in the directories, they're still en_US and so get the "file not found error", looking at the command set I also cannot see how the base files are changed, so that the correct lang files/folders are present before using the xcopy commands, .

    I have converted the original command set to contain the correct version numbers to work with Win8.1 files and changed the Language references to en_GB and posted my updated command set below with the Xcopy parts I am stuck at in bold.

    Can anyone assist me in getting this to work, i'm also sure this will help other members wishing to do the same for 8.1 iso's.

    Thanks for any help!


    Updated Win8.1 Language conversion command set (x64)

    dism /Mount-Wim /WimFile:C:\8Work\DVD\sources\install.wim /index:1 /MountDir:C:\8Work\WIM
    dism /Image:C:\8Work\WIM /Add-Package /PackagePath:C:\8Work\LP\lp.cab
    dism /image:C:\8Work\WIM /Remove-Package /PackageName:Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384
    dism /image:C:\8Work\WIM /Set-SKUIntlDefaults:en-GB /Gen-LangINI /Set-SetupUILang:en-GB /distribution:C:\8Work\DVD
    dism /Unmount-Wim /MountDir:C:\8Work\WIM /commit
    imagex /export /check /compress maximum C:\8Work\DVD\sources\install.wim * C:\8Work\newinstall.wim
    copy /V /Y C:\8Work\newinstall.wim C:\8Work\DVD\sources\install.wim
    erase /F /Q C:\8Work\newinstall.wim
    xcopy C:\8Work\LP\setup\sources\* C:\8Work\DVD\sources\ /cheriky
    rmdir /s /q C:\8Work\DVD\sources\en-US
    dism /Mount-Wim /WimFile:C:\8Work\DVD\sources\boot.wim /index:2 /MountDir:C:\8Work\WIM
    dism /image:C:\8Work\WIM /Add-Package /PackagePath:C:\8Work\LP\WinPE
    dism /Image:C:\8Work\WIM /remove-package /packagename:Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384 /packagename:WinPE-EnhancedStorage-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384 /packagename:WinPE-IbsProvider-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384 /packagename:WinPE-Scripting-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384 /packagename:WinPE-SecureStartup-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384 /packagename:WinPE-SRT-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384 /packagename:WinPE-Setup-Client-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384 /packagename:WinPE-Setup-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384 /packagename:WinPE-WDS-Tools-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384 /packagename:WinPE-WMI-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384
    dism /image:C:\8Work\WIM /Gen-LangINI /distribution:C:\8Work\WIM
    dism /Unmount-Wim /MountDir:C:\8Work\WIM /commit
    dism /Mount-Wim /WimFile:C:\8Work\DVD\sources\boot.wim /index:1 /MountDir:C:\8Work\WIM
    dism /image:C:\8Work\WIM /Add-Package /PackagePath:C:\8Work\LP\WinPE
    dism /Image:C:\8Work\WIM /remove-package /packagename:Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384 /packagename:WinPE-EnhancedStorage-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384 /packagename:WinPE-IbsProvider-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384 /packagename:WinPE-Scripting-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384 /packagename:WinPE-SecureStartup-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384 /packagename:WinPE-SRT-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384 /packagename:WinPE-Setup-Client-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384 /packagename:WinPE-Setup-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384 /packagename:WinPE-WDS-Tools-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384 /packagename:WinPE-WMI-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384
    xcopy C:\8Work\WIM\Windows\Boot\DVD\PCAT\en-GB\bootfix.bin C:\8Work\DVD\boot\ /cheriky
    xcopy C:\8Work\WIM\Windows\boot\PCAT\memtest.exe C:\8Work\DVD\boot\ /cheriky
    xcopy C:\8Work\WIM\Windows\boot\PCAT\en-GB\* C:\8Work\DVD\boot\en-US\ /cheriky
    xcopy C:\8Work\DVD\boot\en-GB\* C:\8Work\DVD\boot\en-US\ /cheriky

    dism /Unmount-Wim /MountDir:C:\8Work\WIM /commit
    imagex /export /boot /check /compress maximum C:\8Work\DVD\sources\boot.wim * C:\8Work\newboot.wim
    copy /V /Y C:\8Work\newboot.wim C:\8Work\DVD\sources\boot.wim
    erase /F /Q C:\8Work\newboot.wim
    bcdedit /store C:\8Work\DVD\boot\bcd /set {default} locale en-GB
    bcdedit /store C:\8Work\DVD\efi\microsoft\boot\bcd /set {default} locale en-GB
    erase /F /Q /A:SH C:\8Work\DVD\boot\*.log*
    erase /F /Q /A:SH C:\8Work\DVD\efi\microsoft\boot\*.log*
    oscdimg -h -u2 -m -bC:\8Work\DVD\boot\etfsboot.com -lWindows8 C:\8Work\DVD C:\8Work\Windows8.iso
     
  2. -HITMAN-

    -HITMAN- MDL Junior Member

    Aug 19, 2009
    51
    10
    0
    Wow, so many views, no one any help with this?

    Anyway after investigating the process I have found that there is a file missing from the copied WinPE cab files for en_GB called "packagename:WinPE-IbsProvider-Package~31bf3856ad364e35~amd64~en-GB~6.2.9200.16384", obviously the process removes the en_US package but is not replaced.

    So i'm currently downloading a en_GB fresh iso to extract the needed cab file and inject it into my new.iso to see if it resolves the problem, if not i'll have to find another way using the GB iso and adding WMC separately etc...
     
  3. Thamarai

    Thamarai MDL Novice

    May 6, 2014
    34
    4
    0
    May be you should have posted your query in that thread itself, someone would have replied.
     
  4. -HITMAN-

    -HITMAN- MDL Junior Member

    Aug 19, 2009
    51
    10
    0
    Thanks, I thought i'd try my own thread as the original discussion is quite old but i'm still struggling with this as I am stuck again extracting .cab packages from the boot.wim.

    I'll try your suggestion.
     
  5. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    6,682
    10,139
    210
    You should know that removing a previous language, doesn't really do anything until it's processed when your system is running.
    It will set the removal as a pending operation.

    As far as your methods... It's hard to tell. It's so jumbled.
    Most of it looks correct, but some things are not necessary.
    Also some parts are incorrect.
    For example:
    xcopy C:\8Work\WIM\Windows\Boot\DVD\PCAT\en-GB\bootfix.bin C:\8Work\DVD\boot\ /cheriky
    xcopy C:\8Work\WIM\Windows\boot\PCAT\memtest.exe C:\8Work\DVD\boot\ /cheriky
    Unnecessary

    xcopy C:\8Work\WIM\Windows\boot\PCAT\en-GB\* C:\8Work\DVD\boot\en-US\ /cheriky
    xcopy C:\8Work\DVD\boot\en-GB\* C:\8Work\DVD\boot\en-US\ /cheriky
    Incorrect.

    You are supposed to change the locale of the boot.wim indexes and change the lang.ini in the mounted boot.wim index:2 sources\lang.ini
    Also you should use the dism set-intl stuff to change the default locale.

    Just... so much of this is wrong or a bad direction to go. I'd recommend using abbodi1406's lang changing stuff and learning from that at least.
    Even then, it's not just the mui files and dism settings that correctly change languages.
    A lot of the language conversions are only partial. You're really better off finding an en-GB version of your OS.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. -HITMAN-

    -HITMAN- MDL Junior Member

    Aug 19, 2009
    51
    10
    0
    Thanks murphy, I have already ended up ditching this and Dl'd an en_gb pro ISO, which I have converted to WMC as couldn't find any proWMC GB iso's.