HowTo : create a multi language Windows 7 DVD installer

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

  1. luky

    luky MDL Addicted

    Dec 21, 2008
    729
    33
    30
    tcntad ImageX recognize both x86 and x64 versions, or be for any other version?
     
  2. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,488
    1,506
    150
    Its both in amd64 and x86 but versions you export, but imagex /export , it doesnt care if its x86.. It doesnt even know.
     
  3. luky

    luky MDL Addicted

    Dec 21, 2008
    729
    33
    30
    tcntad send a PM.
     
  4. ttmax

    ttmax MDL Member

    Oct 27, 2009
    168
    44
    10
    Kouryu is talking about his own "Dell" method.

    When integrating langpack directly in each index of Install.wim (as my initial and last post try to explain), there's no platform issue, as you integrate, of course, x86 version of lang pack in x86 indexes, and amd64 version of lang pack in amd64 indexes.

    ...
     
  5. Kouryu

    Kouryu MDL Senior Member

    Jan 19, 2011
    423
    132
    10
    #85 Kouryu, Jan 25, 2011
    Last edited: Jan 25, 2011
    Thanks for clarifying this ttmax :)
    no issues at all when combining x86 and x64 together if language packs are integrated your way... it is tried and true... quite proven by others :worthy:

    but it doesn't appear possible doing it the "Dell" way... I'm fine with 2 discs like what the pressed discs are anyway, so I'm not going to take the time to attempt to make a x86 + x64 image with Dell style language pack integration ;)
     
  6. reniew

    reniew MDL Novice

    Aug 13, 2009
    29
    7
    0
    "Update 01/2011 (SP1) :
    ----------------------
    SP1 Rtm :
    x86 version : offset 0x77AF3h: replace 74 with EB
    x64 version : offset 0x84A58h: replace 74 with EB"

    Could anyone upload modyfied winsetup.dll files (both for x86 and x64) with these values?
    Thank you in advance
     
  7. ttmax

    ttmax MDL Member

    Oct 27, 2009
    168
    44
    10
  8. ttmax

    ttmax MDL Member

    Oct 27, 2009
    168
    44
    10
    #88 ttmax, Jan 25, 2011
    Last edited: Jan 30, 2011
    (OP)
    AIO creation - 11 Win7 editions localized in 2 langages (English + another) :
    ------------------------------------------------------------------------------------------


    :cool:

    SCRIPT is now part of initial post #1 in this thread

    :cool:
     
  9. Kouryu

    Kouryu MDL Senior Member

    Jan 19, 2011
    423
    132
    10
    #89 Kouryu, Jan 26, 2011
    Last edited: Jan 26, 2011
    Very nice script ttmax, but you need to add a check for the Asian languages so that the following files are integrated:
    winpe-fontsupport-ja-jp.cab
    winpe-fontsupport-ko-kr.cab
    winpe-fontsupport-zh-cn.cab
    winpe-fontsupport-zh-hk.cab
    winpe-fontsupport-zh-tw.cab

    Without those files integrated, the boot time installer will NOT allow you to choose those languages. I'm pretty sure the recovery console won't work either.
    I suggest updating your first page's tutorial to reflect this too. :)



    On another note, I don't use daemon tools anymore... not since it became shareware and the free version was reported to have spyware. I've been happy with slysoft's virtual clone drive. :) It supports command line mount/unmount too. For any users of it, look in \Program files (x86)\Elaborate Bytes\VirtualCloneDrive for daemon.exe
     
  10. mOBSCENE

    mOBSCENE MDL Junior Member

    Feb 9, 2010
    68
    39
    0
    Thank you for this guide ttmax ! I have used it to create an 11in1 x86+x64 SP1 DVD5 ISO with 2 languages, including x64 recovery mode & x64 upgrade support (yes, this actually does fit DVD5! :biggrin:).

    Some useful things I learned along the way (and didn't notice in this guide):

    You can use this command to export all indexes in a WIM file at once (to recompress/reorganize):
    imagex.exe /export install.wim * newinstall.wim /check /compress maximum

    Also you can use this command for boot.wim and winRE.wim, to save some more space.
     
  11. luky

    luky MDL Addicted

    Dec 21, 2008
    729
    33
    30
    I wonder whether a possible integration of language in the pre-merged install.wim x86 and x64. Thank you.
     
  12. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,488
    1,506
    150
    Well why woudnt it be?

    Its the same as having only 32bit editions.. You just need to change path or name of language pack for 64bit and indexnumbers..
     
  13. ttmax

    ttmax MDL Member

    Oct 27, 2009
    168
    44
    10
    #93 ttmax, Jan 28, 2011
    Last edited: Jan 28, 2011
    (OP)


    I know that, but it's not necessary the way my script is done, as I create all the index localized as individual files, and only at the end I recreate the AIO Install.wim using Imagex with /compress maximum parameter. (it's the reason why you need so much free space during execution of this script).
    Note : I just added /compress maximum to WinRE.wim and Boot.wim finalizations, as I forgot to do it initially (some bytes saved).

    The most important is to always (when possible) use the exact same files you re-inject in such a AIO wim, as Imagex will detect that and physically do only one copy (so called de-duplication in some computer areas). I do that for WinRE.wim as an example.


    Thanks anyway.
     
  14. reniew

    reniew MDL Novice

    Aug 13, 2009
    29
    7
    0
    How to remove english lang pack from boot.win or install.wim?
    I could use Dism /image:c:\mnt /remove-package /packagepath:xxxxx en-en xxxxxxxxxx" but is it possible to do it automatically with all language files?
    In example, in boot.wim file, using Dism /image:C:\mnt /get-packages I listed en-lang packages, which are:
    lp.cab
    winpe-setup_en-en.cab
    setup-client_en-en.cab
    scripting_en-en.cab
    srt_en-en.cab
    winpe-wds-tools_en-en.cab
    winpe-wmi_en-en.cab
    How to remove them all? Is there a command to type, to remove all of them or should I do it manually typing every file name?
     
  15. Cyberjack

    Cyberjack MDL Novice

    Aug 20, 2009
    29
    8
    0
    #95 Cyberjack, Jan 31, 2011
    Last edited by a moderator: Apr 20, 2017
    I use a Batch-File for this

    Code:
    Dism /Mount-WIM /WimFile:C:\images\install.wim /Index:5 /MountDir:C:\offline
    Dism /Image:C:\offline /Remove-Package /PackageName:Microsoft-Windows-Client-Refresh-LanguagePack-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514
    Dism /Unmount-WIM /MountDir:C:\offline /Commit
    
    Dism /Mount-WIM /WimFile:C:\images\boot.wim /Index:1 /MountDir:C:\offline
    Dism /Image:C:\offline /Remove-Package /PackageName:Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514
    Dism /Image:C:\offline /Remove-Package /PackageName:WinPE-Scripting-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514
    Dism /Image:C:\offline /Remove-Package /PackageName:WinPE-SRT-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514
    Dism /Image:C:\offline /Remove-Package /PackageName:WinPE-Wds-Tools-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514
    Dism /Image:C:\offline /Remove-Package /PackageName:WinPE-Wmi-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514
    Dism /Unmount-WIM /MountDir:C:\offline /Commit
    
    Dism /Mount-WIM /WimFile:C:\images\boot.wim /Index:2 /MountDir:C:\offline
    Dism /Image:C:\offline /Remove-Package /PackageName:Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514
    Dism /Image:C:\offline /Remove-Package /PackageName:WinPE-Scripting-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514
    Dism /Image:C:\offline /Remove-Package /PackageName:WinPE-Setup-Client-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514
    Dism /Image:C:\offline /Remove-Package /PackageName:WinPE-Setup-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514
    Dism /Image:C:\offline /Remove-Package /PackageName:WinPE-SRT-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514
    Dism /Image:C:\offline /Remove-Package /PackageName:WinPE-Wds-Tools-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514
    Dism /Image:C:\offline /Remove-Package /PackageName:WinPE-Wmi-Package~31bf3856ad364e35~x86~en-US~6.1.7601.17514
    Dism /Unmount-WIM /MountDir:C:\offline /Commit
     
  16. petehap

    petehap MDL Novice

    Jan 31, 2011
    2
    0
    0
    Hi there

    Im a Newbie and bad speller so bear over with me :)

    I think this is a Typo ...

    Even if this i corrected I don't get the moddet lang.ini in the final iso's ??? (da-DK)
    so there may be more typo's

    And you get lots of errors if your language isn't avable in the local pack (da-DK)

    Thanks ttmax for all the work !
     
  17. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,488
    1,506
    150
    Of course, if there are no files available or your local pack that will happen. the code seems right but im not sure as i havent seen the code.
     
  18. next

    next MDL Senior Member

    Jan 31, 2011
    313
    103
    10
    very useful thanks
     
  19. petehap

    petehap MDL Novice

    Jan 31, 2011
    2
    0
    0
    This is the last 5 lines of the script

    del %IsoDVD64%\sources\ei.cfg
    copy /y %TempWim%\lang.ini %IsoDVD46%\sources\
    copy /y %TempWim%\bootW7x64.wim %IsoDVD64%\sources\boot.wim
    copy /y %TempWim%install_Std_3264.wim %IsoDVD64%\sources\install.wim
    oscdimg -b%IsoDVD64%\boot\etfsboot.com -lGRMCULXFREO_EN%LangAdd1%_DVD -t11/21/2010,09:33:00 %IsoDVD64% %LangAdd1%_en_X_windows_7_SP1_AIO_STD_x86_x64_dvd_hand_made.iso -u2 -m -h -o

    46 needs to be 64 ... right ?