TUTO: slipstream MUI language pack in installation DVD

Discussion in 'Windows 7' started by shadow_shd, Apr 20, 2009.

  1. Riemen

    Riemen MDL Novice

    Jul 23, 2009
    30
    0
    0
    Thanks BubeXP to this great guide. I used it to change my Windows x64 DVD to german and it worked great.

    I still have one little question:
    In my boot folder on the new created DVD, I still have an en-US folder containing bootmgr.exe.mui,
    bootsect.exe.mui,
    and memtest.exe.mui
    besides the new de-DE folder containing
    bootmgr.exe.mui,
    and memtest.exe.mui.

    Is it save to delete this folder before creating the ISO? Maybe after moving the bootsect.exe.mui to the de-DE folder?


    And one more hint for the guys having problems to unmount (for me unmounting never worked completely although I disabled Anitvir Windows Search): Just delete the WIM folder after every unmount and recreate it. This could be also a good solution for the guys creating scripts...
     
  2. Badgerkiller

    Badgerkiller MDL Novice

    Aug 12, 2009
    9
    0
    0
    #322 Badgerkiller, Aug 12, 2009
    Last edited: Aug 12, 2009
  3. roylion15

    roylion15 MDL Member

    May 1, 2009
    127
    10
    10
    #323 roylion15, Aug 12, 2009
    Last edited: Aug 12, 2009
    it's normal ...
    the compression algorithm for wim files with Dism or Image X may be a little different thus the size is different ...

    I see that there is a switch to ajust compression in image X in the BuBxup tuto ...

    ex : ...Image X /compress maximum /etc...

    My previous batch worked with WAIK and Image X , now i use only Dism RTM version 7600.1385 because it's easyer and faster to rebuild image.

    The result seems to be exactly the same after installation on my ultimate version ...

    Number of files and folders are identical thus just not identical compression or also some work temp small file stay in the install and boot.wim , the difference is only some Kb.
     
  4. China4Ever

    China4Ever Bios Mod.

    Apr 25, 2007
    2,181
    287
    90
    Enjoy your holidays and thanks for the great effort you gave on MDL. I really appreciate what you've done. ;)
     
  5. Badgerkiller

    Badgerkiller MDL Novice

    Aug 12, 2009
    9
    0
    0
    #325 Badgerkiller, Aug 12, 2009
    Last edited: Aug 12, 2009
    Ok, I understand this point but if you watch my simple batch on the top in attached image you can see I don't even use compression.
    Like you can see this simple batch mount, add langpack & local, remove US, set default language FR and unmount.
    Finally sizes are differents though the temp dirs are in another root directory, 7Work and 7Work2.

    So we can never obtain similars ISOs whenever restart implement process after extracting original image ?
     
  6. Lenmaer

    Lenmaer MDL Addicted

    Jul 3, 2009
    577
    3
    30
    It's the same as winrar, you can rar several times the same file, you'll always get another size.
     
  7. Badgerkiller

    Badgerkiller MDL Novice

    Aug 12, 2009
    9
    0
    0
    Thanks Lenmaer and roylion15,
    I didn't know the compression algorithm generate always different file size. :)
     
  8. roylion15

    roylion15 MDL Member

    May 1, 2009
    127
    10
    10
    #328 roylion15, Aug 12, 2009
    Last edited: Aug 12, 2009
    If the content of the wimfile is the same and give the same files and folders after install , the size of the wim is not very important for me...

    have something wrong ?

    I don't know if MS uses same tools as us to create their images ...:) or there is a combinaison of switch options to clean or compress the wim identically.
     
  9. Badgerkiller

    Badgerkiller MDL Novice

    Aug 12, 2009
    9
    0
    0
    No something wrong but I wanted to share my french ISO on torrent network and submit work directory and all batchs.
    That's all to prove this generated ISO is malware free, users could compare the SHA1 of their created ISO with my mine.
    Finally if I understand I can't do that.
     
  10. Lenmaer

    Lenmaer MDL Addicted

    Jul 3, 2009
    577
    3
    30
    Yes you cannot, sorry.
     
  11. ghostwriter

    ghostwriter MDL Novice

    Aug 14, 2009
    1
    0
    0
    Hi just registered as well, to confirm that this works for me and to thank you!
    I was nearly giving it up, cause i failed right at the beginning :)
     
  12. Raoul

    Raoul MDL Junior Member

    Aug 8, 2009
    61
    10
    0
    #332 Raoul, Aug 15, 2009
    Last edited by a moderator: Apr 20, 2017
    Hello,

    Could you also add Step IX to XI (bcdedit etc) in the batch?


    Thanks in advance! :)
     
  13. roylion15

    roylion15 MDL Member

    May 1, 2009
    127
    10
    10
    #333 roylion15, Aug 15, 2009
    Last edited by a moderator: Apr 20, 2017
    yes if you want translate all that stuff , facultative :)

    you can paste this section before creation of the ISO ...

    thus before
    Code:
    echo.
    echo The language pack has been integrated!
    
    paste this ...( not tested myself at this time )

    Code:
    echo Mount again "boot.wim" to "%WIM%"...
    
    DISM.EXE /Mount-Wim /WimFile:%WD%\sources\boot.wim /index:1 /MountDir:%WIM%
    
    xcopy %WIM%\Windows\Boot\DVD\PCAT\%LANG%\bootfix.bin %WD%\boot\ /cherkyi
    xcopy %WIM%\Windows\boot\PCAT\memtest.exe %WD%\boot\ /cherkyi
    xcopy %WIM%\Windows\boot\PCAT\%LANG%\* %WD%\boot\en-US\ /cherkyi
    xcopy %\WIM%\Windows\boot\PCAT\%LANG%\* %WD%\boot\%LANG%\ /cherkyi
    
    echo Unpack and Unmount "boot.wim"...
    
    DISM.EXE /Unmount-Wim /MountDir:%WIM% /commit
    
    bcdedit /store %WD%\boot\bcd /set {default} locale %LANG%
    bcdedit /store %WD%\efi\microsoft\boot\bcd /set {default} locale %LANG%
    erase /F /Q /A:SH %WD%\boot\*.log*
    erase /F /Q /A:SH %WD%\efi\microsoft\boot\*.log*
    
    
     
  14. Raoul

    Raoul MDL Junior Member

    Aug 8, 2009
    61
    10
    0
    #334 Raoul, Aug 15, 2009
    Last edited by a moderator: Apr 20, 2017
    Ok will try that.

    And about updates/drivers, what should i add then, i have "Updates" and "Drivers" folder.

    edit:
    BTW I dont see the lines about the WindowsPE files anywhere? (Step X)
     
  15. roylion15

    roylion15 MDL Member

    May 1, 2009
    127
    10
    10
    #335 roylion15, Aug 15, 2009
    Last edited by a moderator: Apr 20, 2017
    In the batch i had not followed the Bubu's tutorial ...
    the batch was written before all these additions ...

    yes i forgot the line of WinPE ... ( you need to create and place the winPE subfolder with files in 7work\LP

    7work\LP\WinPE

    add just after the line of mounting boot.wim again ...( image index 1 )

    Code:
    DISM.EXE /image:%WIM% /Add-Package /PackagePath:%WORKLW%\%WORKDIR%\LP\WinPE

    Now back to install.wim drivers and updates section

    add these lines before the line of unmounting the image ( you need to create the 2 new folders and place the updates or drivers in them )

    7work\Updates
    7work\Drivers

    Code:
    echo Now installing Updates and hotfixes
    
    DISM.EXE /Image:%WIM% /Add-Package /PackagePath::%WORKLW%\%WORKDIR%\UPDATES
    
    echo Now installing Drivers
    
    DISM.EXE /Image:%WIM% /Add-Package /PackagePath::%WORKLW%\%WORKDIR%\DRIVERS /recurse
    note that you may encounter some errors if there are no driver or update to include


    voilĂ  ....
     
  16. Raoul

    Raoul MDL Junior Member

    Aug 8, 2009
    61
    10
    0
    #336 Raoul, Aug 15, 2009
    Last edited by a moderator: Apr 20, 2017
    Thanks! :D

    But
    Should be added after:
    Also? Bubu is doing that also.

    Will test the whole thing, thanks for the help.


    edit:
    One more question, do you have the lines for localpack also? :D
     
  17. roylion15

    roylion15 MDL Member

    May 1, 2009
    127
    10
    10
    #337 roylion15, Aug 15, 2009
    Last edited by a moderator: Apr 20, 2017
    for a local pack ...

    before lines for updates and drivers

    Code:
    echo Installation of local packs
    
    DISM.EXE  /Image:%WIM% /Add-Package /PackagePath:%WORKLW%\%WORKDIR%\LP\Windows-LocalPack-FR-Package.cab
    
    DISM.EXE  /Image:%WIM% /Add-Package /PackagePath:%WORKLW%\%WORKDIR%\LP\Windows-LocalPack-AU-Package.cab
    for the local pack you can activate them after the installation with a reg file of manualy by clicking each theme installed, i don't like to include that reg stuff in the batch ... but you can try

    ( you must show hidden files and protected system files in folder options , see in c:\windows\Globalization\MCT)

    etc.... add a line for each local pack

    for winPE

    after unmounting boot.win index : 2 section

    Code:
    echo Mount again "boot.wim" to "%WIM%"...
    
    DISM.EXE /Mount-Wim /WimFile:%WD%\sources\boot.wim /index:1 /MountDir:%WIM%
    
    DISM.EXE /image:%WIM% /Add-Package /PackagePath:%WORKLW%\%WORKDIR%\LP\WinPE
    
    xcopy %WIM%\Windows\Boot\DVD\PCAT\%LANG%\bootfix.bin %WD%\boot\ /cherkyi
    xcopy %WIM%\Windows\boot\PCAT\memtest.exe %WD%\boot\ /cherkyi
    xcopy %WIM%\Windows\boot\PCAT\%LANG%\* %WD%\boot\en-US\ /cherkyi
    xcopy %\WIM%\Windows\boot\PCAT\%LANG%\* %WD%\boot\%LANG%\ /cherkyi
    
    echo Unpack and Unmount "boot.wim"...
    
    DISM.EXE /Unmount-Wim /MountDir:%WIM% /commit
    
    bcdedit /store %WD%\boot\bcd /set {default} locale %LANG%
    bcdedit /store %WD%\efi\microsoft\boot\bcd /set {default} locale %LANG%
    erase /F /Q /A:SH %WD%\boot\*.log*
    erase /F /Q /A:SH %WD%\efi\microsoft\boot\*.log*
     
  18. Jaymatt69

    Jaymatt69 MDL Novice

    Jun 3, 2007
    20
    0
    0
    Help Please

    Hello

    It is possible to upload the latest lpintegrator modify with the latest modification wiht localpack et modify the langage of boot.wim

    Thx!!:)
     
  19. tuvi123

    tuvi123 MDL Addicted

    Jul 29, 2009
    623
    86
    30
    #339 tuvi123, Aug 20, 2009
    Last edited by a moderator: Apr 20, 2017
    GUYS, please help me:
    I can't do step "XI" (to change the WinPE setup to my language") in BubuXP guide, I want to change "Windows is loading files to my language which is hebrew.
    before I unmount the boot.wim I neew to copy some file like it's written in the guide BUT The PROBLEM I have not got the he-IL folder!
    I add the winpe language package to index 2, but still he-IL folder is not there!
    so this commandlines does not work for me:
    Code:
    xcopy F:\7Work\WIM\Windows\Boot\DVD\PCAT\fr-FR\bootfix.bin F:\7Work\DVD\boot\ /cheriky
    xcopy F:\7Work\WIM\Windows\boot\PCAT\memtest.exe F:\7Work\DVD\boot\ /cheriky
    xcopy F:\7Work\WIM\Windows\boot\PCAT\fr-FR\* F:\7Work\DVD\boot\en-US\ /cheriky
    xcopy F:\7Work\WIM\Windows\boot\PCAT\fr-FR\* F:\7Work\DVD\boot\fr-FR\ /cheriky
    I change fr-FR to he-IL
    IT doesn't work because there isn't any "he-IL" directory in the mounted boot.wim (after I add the winpe language package)


    I have the original ms iso:
    7600.16385.090713-1255_x86fre_client_en-us_Retail_Ultimate-GRMCULFRER_EN_DVD.iso
    I have the original x86 winpe heb language (extracted it).
    Windows is loading files" and "Starting Windows" are still not in my language - hebrew.
    (maybe download the he-IL folder? but from where? or somthing else..)

    so does anyone know what do I do?
    please help me out..


    please everyone mount the boot.wim with index 2, and add the he-il winpe language and check
    if you have the he-il folder in in "7Work\WIM\Windows\boot\PCAT" and in "F:\7Work\WIM\Windows\Boot\DVD\PCAT" there is'nt he-IL folder!
    because is not there for me.
    please help
     
  20. tuvi123

    tuvi123 MDL Addicted

    Jul 29, 2009
    623
    86
    30
    anyone?
    I think my problem is simple.
    roylion15? BubuXP? loomes? please help.