HowTo : create a multi language Windows 7 DVD installer

Discussion in 'Windows 7' started by ttmax, Nov 4, 2009.

  1. ttmax

    ttmax MDL Member

    Oct 27, 2009
    168
    43
    10
    #1 ttmax, Nov 4, 2009
    Last edited by a moderator: May 23, 2017

    Attached Files:

  2. alxtsy

    alxtsy MDL Novice

    Nov 22, 2009
    2
    0
    0
    "copy boot.wim"

    where will I copy "boot.wim"?
     
  3. HAL

    HAL MDL Novice

    Nov 6, 2009
    32
    14
    0
    #3 HAL, Dec 6, 2009
    Last edited: Dec 6, 2009
    Copy to c:\temp


    Anyone tried this tuto and does it work?

    HAL
     
  4. heliosys

    heliosys MDL Novice

    Jul 12, 2009
    41
    0
    0
    It work, but not perfect, using this method, the F8 repair your computer is not modified, it will only show base image language, thus if you integrate ja-jp into an en-us image, when you do a repair, English will show up, even thought language installed is Japaneses.

    For perfection I'm using another method, which is more troublesome to create and install, i believe most of you could easily derive what i have done, thus i did not post it, willing to share if anyone is interested.
     
  5. mzakho

    mzakho MDL Member

    Nov 22, 2008
    162
    69
    10
    Goooood jub but it is deffical

    any one caN make it easssssssyyy
     
  6. ttmax

    ttmax MDL Member

    Oct 27, 2009
    168
    43
    10


    Sorry to contradict you, but WINRE.WIM is localized too, so F8 give you repair options in your language too. It's the chapter 5 of my methodology.

    ...
     
  7. heliosys

    heliosys MDL Novice

    Jul 12, 2009
    41
    0
    0
    Sorry miss it, thought you were like thousand of other guys, who copied form OPK and claim it as their own :p. Look interesting will try it, thanks.
     
  8. HAL

    HAL MDL Novice

    Nov 6, 2009
    32
    14
    0
    I am going to try this tuto and I will tell you, if it was a succes or not in a few days. I hope it will work. :)

    HAL
     
  9. heliosys

    heliosys MDL Novice

    Jul 12, 2009
    41
    0
    0
    I have tested it, it work:). Currently writing a batch file to automate it, will post after testing.
     
  10. HAL

    HAL MDL Novice

    Nov 6, 2009
    32
    14
    0
    Hi!

    Looking forward to your batch-file.

    HAL:)
     
  11. heliosys

    heliosys MDL Novice

    Jul 12, 2009
    41
    0
    0
    #11 heliosys, Dec 7, 2009
    Last edited by a moderator: Apr 20, 2017
    Here's the batch file, copy it and save it as anything.cmd

    My work directory look something this
    e:\win7\DvD <--Dir that i copied windows 7 setup
    e:\win7\mnt <--Mount point
    e:\win7l\angpacks.x86 <--Copied from windows 7 language pack, the container folder, with fr-fr, zh-cn, ja-jp, etc.
    e:\win7\WinPE_LangPacks <--Copied from OPK, the container folder, with fr-fr, zh-cn, ja-jp ,etc ..
    e:\win7\winre <---Temp directory used to store winre

    This batch file integrate language pack into all edition, from starter to ultimate, feel free to mod it, suiting your need. Forget to add, does not work with upgrade.

    Code:
    @echo Off
    
    Rem Enter OPK/WAIK installation directory
    set WAIK=
    
    rem Mount Point
    set mnt=
    
    rem Work Dir
    set WD=
    
    rem Language Pack Path
    set Muidir=
    
    rem windowsRe
    set winre=
    
    
    rem WinPE_LangPacks Path
    set REmui=
    
    Echo Language to add
    set /p mui=
    
    echo unlock windows installer
    del "%wd%\sources\ei.cfg"
    
    echo processing Windows Recovery
    "%WAIK%\Tools\x86\Servicing\dism.exe" /Mount-Wim /WimFile:"%WD%\Sources\install.wim" /index:1 /MountDir:"%mnt%"
    copy "%mnt%\windows\system32\recovery\winre.wim" "%winre%\"
    Dism /Unmount-Wim /MountDir:"%mnt%" /Discard
    "%WAIK%\Tools\x86\Servicing\dism.exe" /Mount-Wim /WimFile:"%winre%\winre.wim" /index:1 /MountDir:"%mnt%"
    "%WAIK%\Tools\x86\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%waik%\\Tools\PETools\x86\WinPE_FPs\winpe-fontsupport-ja-jp.cab"
    "%WAIK%\Tools\x86\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%waik%\\Tools\PETools\x86\WinPE_FPs\winpe-fontsupport-ko-kr.cab"
    "%WAIK%\Tools\x86\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%waik%\\Tools\PETools\x86\WinPE_FPs\winpe-fontsupport-zh-cn.cab"
    "%WAIK%\Tools\x86\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%waik%\\Tools\PETools\x86\WinPE_FPs\winpe-fontsupport-zh-hk.cab"
    "%WAIK%\Tools\x86\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%waik%\\Tools\PETools\x86\WinPE_FPs\winpe-fontsupport-zh-tw.cab"
    "%WAIK%\Tools\x86\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\lp.cab"
    "%WAIK%\Tools\x86\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\winpe-setup_%mui%.cab"
    "%WAIK%\Tools\x86\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\winpe-setup-client_%mui%.cab"
    "%WAIK%\Tools\x86\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\winpe-scripting_%mui%.cab"
    "%WAIK%\Tools\x86\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\winpe-srt_%mui%.cab"
    "%WAIK%\Tools\x86\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\winpe-wds-tools_%mui%.cab"
    "%WAIK%\Tools\x86\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\winpe-wmi_%mui%.cab"
    Dism /Unmount-Wim /MountDir:"%mnt%" /commit
    
    echo Processing Starter
    "%WAIK%\Tools\x86\Servicing\dism.exe" /Mount-Wim /WimFile:"%WD%\Sources\install.wim" /index:1 /MountDir:"%mnt%"
    copy "%winre%" "%mnt%\Windows\System32\Recovery"
    "%WAIK%\Tools\x86\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%muidir%\%mui%\lp.cab"
    "%WAIK%\Tools\x86\Servicing\dism.exe" /image:%mnt% /gen-langini /distribution:%wd%
    Dism /Unmount-Wim /MountDir:"%mnt%" /commit
    
    echo processing Home Basic
    "%WAIK%\Tools\x86\Servicing\dism.exe" /Mount-Wim /WimFile:"%WD%\Sources\install.wim" /index:2 /MountDir:"%mnt%"
    copy "%winre%" "%mnt%\Windows\System32\Recovery"
    "%WAIK%\Tools\x86\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%muidir%\%mui%\lp.cab"
    Dism /Unmount-Wim /MountDir:%mnt% /commit
    
    echo Processing Home Premium
    "%WAIK%\Tools\x86\Servicing\dism.exe" /Mount-Wim /WimFile:"%WD%\Sources\install.wim" /index:3 /MountDir:"%mnt%"
    copy "%winre%" "%mnt%\Windows\System32\Recovery"
    "%WAIK%\Tools\x86\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%muidir%\%mui%\lp.cab"
    Dism /Unmount-Wim /MountDir:%mnt% /commit
    
    echo processing Professional
    "%WAIK%\Tools\x86\Servicing\dism.exe" /Mount-Wim /WimFile:"%WD%\Sources\install.wim" /index:4 /MountDir:"%mnt%"
    copy "%winre%" "%mnt%\Windows\System32\Recovery"
    "%WAIK%\Tools\x86\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%muidir%\%mui%\lp.cab"
    Dism /Unmount-Wim /MountDir:%mnt% /commit
    
    echo Processing Ultimate
    "%WAIK%\Tools\x86\Servicing\dism.exe" /Mount-Wim /WimFile:"%WD%\Sources\install.wim" /index:5 /MountDir:"%mnt%"
    copy "%winre%" "%mnt%\Windows\System32\Recovery"
    "%WAIK%\Tools\x86\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%muidir%\%mui%\lp.cab"
    Dism /Unmount-Wim /MountDir:%mnt% /commit
    
    echo Processing Windows Setup
    "%WAIK%\Tools\x86\Servicing\dism.exe" /Mount-Wim /WimFile:"%WD%\Sources\boot.wim" /index:1 /MountDir:"%mnt%"
    "%WAIK%\Tools\x86\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\lp.cab"
    "%WAIK%\Tools\x86\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\winpe-scripting_%mui%.cab"
    "%WAIK%\Tools\x86\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\winpe-srt_%mui%.cab"
    "%WAIK%\Tools\x86\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\winpe-wds-tools_%mui%.cab"
    "%WAIK%\Tools\x86\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\winpe-wmi_%mui%.cab"
    Dism /Unmount-Wim /MountDir:"%mnt%" /commit
    "%WAIK%\Tools\x86\Servicing\dism.exe" /Mount-Wim /WimFile:"%WD%\Sources\boot.wim" /index:2 /MountDir:"%mnt%"
    copy /y "%wd%\sources\lang.ini" "%mnt%\sources\"
    "%WAIK%\Tools\x86\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%waik%\\Tools\PETools\x86\WinPE_FPs\winpe-fontsupport-ja-jp.cab"
    "%WAIK%\Tools\x86\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%waik%\\Tools\PETools\x86\WinPE_FPs\winpe-fontsupport-ko-kr.cab"
    "%WAIK%\Tools\x86\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%waik%\\Tools\PETools\x86\WinPE_FPs\winpe-fontsupport-zh-cn.cab"
    "%WAIK%\Tools\x86\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%waik%\\Tools\PETools\x86\WinPE_FPs\winpe-fontsupport-zh-hk.cab"
    "%WAIK%\Tools\x86\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%waik%\\Tools\PETools\x86\WinPE_FPs\winpe-fontsupport-zh-tw.cab"
    "%WAIK%\Tools\x86\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\lp.cab"
    "%WAIK%\Tools\x86\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\winpe-setup_%mui%.cab"
    "%WAIK%\Tools\x86\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\winpe-setup-client_%mui%.cab"
    "%WAIK%\Tools\x86\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\winpe-scripting_%mui%.cab"
    "%WAIK%\Tools\x86\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\winpe-srt_%mui%.cab"
    "%WAIK%\Tools\x86\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\winpe-wds-tools_%mui%.cab"
    "%WAIK%\Tools\x86\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\winpe-wmi_%mui%.cab"
    Dism /Unmount-Wim /MountDir:"%mnt%" /commit
    
    echo Type in path to save DvD, leave blank to cancel
    set /p iso=
    "%WAIK%\Tools\x86\oscdimg.exe" -u2 -b"%wd%\boot\etfsboot.com" "%wd%" "%iso%\win7_aio.iso" -m
    echo Done
    pause
    
     
  12. Joolee

    Joolee MDL Novice

    Dec 7, 2009
    1
    0
    0
    I couldn't find it in this topic so I'll post it:
    You can download the Windows 7 AIK from: ... Okay, I cannot post links yet :p Just search the downloadcenter for "The Windows® Automated Installation Kit (AIK) for Windows® 7"

    I found on another forum / topic that the Vista AIK was usable for slipstreaming new languages in Windows 7 DVD (tutorial was still for RTM). It can integrate the seperately downloaded MUI but you won't be able to use the cab's in "F:\WinPE_LangPacks\x86\nl-nl" (in my case) You really need the Windows 7 AIK for that.
     
  13. FreeStyler

    FreeStyler MDL Guru

    Jun 23, 2007
    3,503
    3,614
    120
    #13 FreeStyler, Jan 10, 2010
    Last edited by a moderator: Apr 20, 2017
    @heliosys, thx for the batch

    Question:
    Are the lines below really necessary or is it just a customization added by you to make your disc work?

     
  14. FreeStyler

    FreeStyler MDL Guru

    Jun 23, 2007
    3,503
    3,614
    120
    #14 FreeStyler, Jan 14, 2010
    Last edited by a moderator: Apr 20, 2017
    I updated the script a tiny bit for my own usage (64 bit system)
    Notice the added %cpu% variable
    This script also recreates the lang.ini automatically using the DISM /Gen-LangIN command

    Code:
    @echo Off
    
    Rem Enter OPK/WAIK installation directory
    set WAIK=C:\Program Files\Windows AIK
    
    rem processor architecur
    set cpu=amd64
    
    rem Mount Point
    set mnt=C:\Win7MUI\mount
    
    rem Work Dir
    set WD=C:\Win7MUI\DVD
    
    rem Language Pack Path
    set Muidir=C:\Win7MUI\langpacks
    
    rem WindowsRe temporary path
    set winre=C:\Win7MUI\winre
    
    rem WinPE_LangPacks Path
    set REmui=C:\Win7MUI\winpe
    
    rem Echo Language to add
    set /p mui=
    
    echo unlock windows installer
    del "%wd%\sources\ei.cfg"
    
    echo processing Windows Recovery
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /Mount-Wim /WimFile:"%WD%\Sources\install.wim" /index:1 /MountDir:"%mnt%"
    copy "%mnt%\windows\system32\recovery\winre.wim" "%winre%\"
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /Unmount-Wim /MountDir:"%mnt%" /Discard
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /Mount-Wim /WimFile:"%winre%\winre.wim" /index:1 /MountDir:"%mnt%"
    REM "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%waik%\Tools\PETools\%cpu%\WinPE_FPs\winpe-fontsupport-ja-jp.cab"
    REM "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%waik%\Tools\PETools\%cpu%\WinPE_FPs\winpe-fontsupport-ko-kr.cab"
    REM "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%waik%\Tools\PETools\%cpu%\WinPE_FPs\winpe-fontsupport-zh-cn.cab"
    REM "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%waik%\Tools\PETools\%cpu%\WinPE_FPs\winpe-fontsupport-zh-hk.cab"
    REM "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%waik%\Tools\PETools\%cpu%\WinPE_FPs\winpe-fontsupport-zh-tw.cab"
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\lp.cab"
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\winpe-setup_%mui%.cab"
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\winpe-setup-client_%mui%.cab"
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\winpe-scripting_%mui%.cab"
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\winpe-srt_%mui%.cab"
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\winpe-wds-tools_%mui%.cab"
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\winpe-wmi_%mui%.cab"
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:"%mnt%" /Gen-LangINI /distribution:"%mnt%"
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /Unmount-Wim /MountDir:"%mnt%" /commit
    
    REM not available on X64, uncomment for X32
    REM echo Processing Starter
    REM "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /Mount-Wim /WimFile:"%WD%\Sources\install.wim" /index:1 /MountDir:"%mnt%"
    REM copy "%winre%" "%mnt%\Windows\System32\Recovery"
    REM "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%muidir%\%mui%\lp.cab"
    REM "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:%mnt% /gen-langini /distribution:%wd%
    REM Dism /Unmount-Wim /MountDir:"%mnt%" /commit
    
    echo processing Home Basic
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /Mount-Wim /WimFile:"%WD%\Sources\install.wim" /index:1 /MountDir:"%mnt%"
    copy "%winre%" "%mnt%\Windows\System32\Recovery"
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%muidir%\%mui%\lp.cab"
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /Unmount-Wim /MountDir:"%mnt%" /commit
    
    echo Processing Home Premium
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /Mount-Wim /WimFile:"%WD%\Sources\install.wim" /index:2 /MountDir:"%mnt%"
    copy "%winre%" "%mnt%\Windows\System32\Recovery"
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%muidir%\%mui%\lp.cab"
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /Unmount-Wim /MountDir:"%mnt%" /commit
    
    echo processing Professional
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /Mount-Wim /WimFile:"%WD%\Sources\install.wim" /index:3 /MountDir:"%mnt%"
    copy "%winre%" "%mnt%\Windows\System32\Recovery"
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%muidir%\%mui%\lp.cab"
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /Unmount-Wim /MountDir:"%mnt%" /commit
    
    echo Processing Ultimate
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /Mount-Wim /WimFile:"%WD%\Sources\install.wim" /index:4 /MountDir:"%mnt%"
    copy "%winre%" "%mnt%\Windows\System32\Recovery"
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%muidir%\%mui%\lp.cab"
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /Unmount-Wim /MountDir:"%mnt%" /commit
    
    echo Processing Windows Setup
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /Mount-Wim /WimFile:"%WD%\Sources\boot.wim" /index:1 /MountDir:"%mnt%"
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\lp.cab"
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\winpe-scripting_%mui%.cab"
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\winpe-srt_%mui%.cab"
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\winpe-wds-tools_%mui%.cab"
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\winpe-wmi_%mui%.cab"
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:"%mnt%" /Gen-LangINI /distribution:"%mnt%"
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /Unmount-Wim /MountDir:"%mnt%" /commit
    
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /Mount-Wim /WimFile:"%WD%\Sources\boot.wim" /index:2 /MountDir:"%mnt%"
    REM "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%waik%\Tools\PETools\%cpu%\WinPE_FPs\winpe-fontsupport-ja-jp.cab"
    REM "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%waik%\Tools\PETools\%cpu%\WinPE_FPs\winpe-fontsupport-ko-kr.cab"
    REM "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%waik%\Tools\PETools\%cpu%\WinPE_FPs\winpe-fontsupport-zh-cn.cab"
    REM "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%waik%\Tools\PETools\%cpu%\WinPE_FPs\winpe-fontsupport-zh-hk.cab"
    REM "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%waik%\Tools\PETools\%cpu%\WinPE_FPs\winpe-fontsupport-zh-tw.cab"
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\lp.cab"
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\winpe-setup_%mui%.cab"
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\winpe-setup-client_%mui%.cab"
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\winpe-scripting_%mui%.cab"
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\winpe-srt_%mui%.cab"
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\winpe-wds-tools_%mui%.cab"
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:"%mnt%" /add-package /packagepath:"%remui%\%mui%\winpe-wmi_%mui%.cab"
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /image:"%mnt%" /Gen-LangINI /distribution:"%mnt%"
    "%WAIK%\Tools\%cpu%\Servicing\dism.exe" /Unmount-Wim /MountDir:"%mnt%" /commit
    
    echo Create ISO image
    echo Type in path to save DvD, leave blank to cancel
    set /p iso=
    "%WAIK%\Tools\%cpu%\oscdimg.exe" -u2 -b"%wd%\boot\etfsboot.com" "%wd%" "%iso%\win7_aio.iso" -m
    echo Done
    pause
    
     
  15. Friends4U

    Friends4U MDL Novice

    Mar 3, 2010
    8
    1
    0
    WinRE.wim doesn't change after adding langpacks. It is still English you can test this if you boot with the iso click next and then repair computer.

    What can i do to resolve this?
     
  16. Friends4U

    Friends4U MDL Novice

    Mar 3, 2010
    8
    1
    0
    Solved... needed to copy the lang.ini manually into the boot.wim
     
  17. FreeStyler

    FreeStyler MDL Guru

    Jun 23, 2007
    3,503
    3,614
    120
    What script you have been using, mine posted 3 post above?
    Above line should generate a new lang.ini and automaticly insert it in the mount directory
     
  18. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,100
    1,302
    150
    #18 tcntad, Mar 7, 2010
    Last edited: Mar 7, 2010
    Hm, how about 64Bit?
    Same procedures with boot.wim for 64bit as 32bit ?

    Thanks for this man, works fine with x86:)


    Edit: Or dont i have to do 2/ boot.wim commands beacuse installer runs in x86 ?

    How can i add this to a batch file so it asks for dism, imagex and oscdimg / waik paths
    and creates necessary folders or asks me to and then choose path to LP/packages (multiple ones too perhaps)?
     
  19. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,100
    1,302
    150
    Anyone?

    Tried lookin around myself but maybe not enough:/.
     
  20. alzaabi

    alzaabi MDL Junior Member

    Aug 27, 2010
    55
    1
    0
    shut shut very difficult