TUTO: slipstream MUI language pack in installation DVD

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

  1. Yurek3

    Yurek3 MDL Novice

    May 1, 2009
    27
    0
    0
    I not understand this GUI do not working for you.

    For me and other guys working perfect.

    I See you not understand wot happened how you use some patch and script.
     
  2. roylion15

    roylion15 MDL Member

    May 1, 2009
    127
    10
    10
    following WAIK or tutorial ... two methods seems to be working here ...

    finding WAIK method is more complicated but the batch file that use it more usefull and faster than all the copy-paste ,:)

    some difference in structure or but same results on final , both installations working here in french on x86 ...

    One question , more ...

    can i delete english (default language) of the distribution without having problems ?

    Many thanks for help and all these usefull informations ...
     
  3. Yurek3

    Yurek3 MDL Novice

    May 1, 2009
    27
    0
    0
    #63 Yurek3, May 28, 2009
    Last edited: May 28, 2009
    You can change this batch not for files from WAIK.
    You can move WAIK files to directory 7Work and change the batch and will working perfect too
     
  4. Domozilla

    Domozilla MDL Novice

    May 8, 2009
    41
    0
    0
    #64 Domozilla, May 28, 2009
    Last edited by a moderator: Apr 20, 2017
    You can only delete English (or whatever the default language is) on an offline .wim. See:

    Code:
    /Remove-Package {/PackagePath:<path_to_package> | /PackageName:<name_in_image>}
    
      Removes one or more packages unless there are online, unprocessed pending
      actions. If online actions are pending, the resources remain in the image and
      the package state is set to Uninstall Requested. You must boot the image to
      process pending actions before the package can be removed.
    
      You cannot use this command to remove .msu files.
    
        Examples:
          DISM.exe /Image:C:\test\offline /Remove-Package
            /PackagePath:C:\MyPackages\package.cab
    
          DISM.exe /Image:C:\test\offline /Remove-Package
            /PackageName:Microsoft.Windows.Calc.Demo~6595b6144ccf1df~x86~en~1.0.0.0
    Then add your localised non-English package. It probably wouldn't be wise to try it the other way round, as English is used for fall-back and might unreference stuff, causing strange bugs.
     
  5. xinxilas

    xinxilas MDL Novice

    May 24, 2009
    42
    0
    0
  6. xinxilas

    xinxilas MDL Novice

    May 24, 2009
    42
    0
    0
    #67 xinxilas, May 28, 2009
    Last edited: May 28, 2009
    My include didnt work because i used index 4 instead 5(for 32 bits)

    Look...

    Using the tutorial, on the second part is really Okay like you said (the .bat uses some same actions that have in the tutorial) -> OK

    But...
    It is missing some part that have on technet AND on .bat, this part is:
    (this is not to make the boot.wim, its just to put it on the new dvd copy)
    add the folder pt-BR
    from lp.cab - \sources\license
    to dvd\sources\license
    like in this line:
    xcopy LP\sources\license\*.* DVD\sources\fr-FR /cheryki


    and..
    add the folder pt-BR
    from lp.cab - \sources
    to dvd\sources
    like in this line:
    xcopy LP\setup\sources\fr-FR\*.*DVD\sources\license /cheryki


    -----------------------------

    BUT....
    A "ERROR" USING THIS .BAT IS THE LANG.INI:
    The right way is in this:
    right?

    And.. the last comand on the bat (to make the new.iso didnt work)
    So you should add mannualy (like in the tuto) the new/modiffied files.
     
  7. Yurek3

    Yurek3 MDL Novice

    May 1, 2009
    27
    0
    0
    #68 Yurek3, May 29, 2009
    Last edited by a moderator: Apr 20, 2017
    Second part of my tutorial - Modifying the "boot.wim" file.

    Now that we have a "install.wim" file with our language pack, we're going to modify the "boot.wim" file to have it use our language.

    I) Preparation :

    - We need to unpack the "lp.cab" file. I used WinRar to do it. I unpacked the file to "F:\7Work\LP". In this folder, more than 4000 files and more than 3000 folders.

    - To speed up things because of these tons of files and folders, you can delete all files and folders in "F:\7Work\LP" *EXCEPT* folders "setup" and "sources".

    II) Let's do it ! (again, read carefully !)

    - Launch again GImageX,

    - Click on the "Mount" tab,

    - In the "Mount Point" field, enter "F:\7Work\WIM" or just browse to it,

    - In the "Source" field, enter "F:\7Work\DVD\sources\boot.wim" or browse to it,

    - Set "Image" value to 2,

    - Click on the "Read and write" checkbox so it's activated,

    - Click on the "Mount" button (should take a lot shorter time than the "install.wim" file !),

    - Click on the "Close" button when image is mounted.

    Next step:

    - Open a command prompt as administrator, and CD to "F:\7Work".

    - Type the following :

    Code:
    Code:
    xcopy DVD\sources\lang.ini WIM\sources\ /cheryki
    - Type :

    Code:
    Code:
    mkdir WIM\sources\fr-FR
    Replace "fr-FR" with your language code.

    - Then type :
    Code:
    Code:
    xcopy LP\setup\sources\fr-FR\*.* WIM\sources\fr-FR /cheryki
    Code:
    xcopy LP\setup\sources\fr-FR\*.* DVD\sources\fr-FR /cheryki 


    Again, replacing all "fr-FR" occurences with your language code.

    - Now type :
    Code:
    Code:
    xcopy LP\sources\license\*.* WIM\sources\license /cheryki
    Code:
    xcopy LP\sources\license\*.* DVD\sources\license /cheryki


    - Finally, go back in GImageX,

    - Don't forget to click on the "Commit Changes" checkbox, else your changes won't be saved,

    - Click once on the "R/W F:\7Work\WIM F:\7Work\DVD\sources\boot.wim 2" so the line turn blue,

    - Click on the "Unmount" button.

    Our new "boot.wim" file is created and all files & folders in the WIM folder are deleted.

    And finally you just have to inject your modified "boot.wim", "install.wim" and "lang.ini" files to your Win7 7077 iso and burn it !

    I used UltraISO, opened my existing 7077 x64 iso, removed all files and folders, inject my "F:\7Work\DVD" folder and saved a new 7077 iso file.

    For my tests purposes, I used a 8 Gb USB flash drive.

    If you have any question/remark/error correction/improvement, don't hesitate to post !

    Sorry I do not herd you good but now all is OK
     
  8. Domozilla

    Domozilla MDL Novice

    May 8, 2009
    41
    0
    0
    Ugh... people are still copying the wrong set of files into the DVD share.

    Look... pay attention to what you are doing. When you extract the MUI, you get a folder called ".\setup" and one called ".\sources", each having only one sub-folder, called ".\setup\sources" and ".\sources\license".

    The stuff in ".\setup\sources" goes into WIM\sources and DVD\sources (because these are the MUI files, which take a configuration from lang.ini. WIM\sources shows whatever languages when you boot the PC from DVD as it uses boot.wim, and DVD\sources show whatever languages when you run the setup.exe from Windows).

    The stuff in ".\sources\license" goes into WIM\sources\license and DVD\sources\license and is just a bunch of .rtf files license files. These are not MUI and getting the two confused will give you a broken installation disc!
     
  9. Yurek3

    Yurek3 MDL Novice

    May 1, 2009
    27
    0
    0
    Sorry Domozilla my bad now is all OK
     
  10. roylion15

    roylion15 MDL Member

    May 1, 2009
    127
    10
    10
    #71 roylion15, Jun 1, 2009
    Last edited: Jun 1, 2009
    The batch is working for me with some minor modifications ...
    don't forget to create all the dirs >>> Mount,LP, LPEXT and ISO before starting the batch to avoid problems with initialising dir variables.
    note : run the batch called for me "Start.bat" from dir "7Work" with Administrator rights

    iso building is working but you need to put the file "etfsboot.com" from DVD \Boot dir in root dir "c:\ 7Work"

    Successfull 7137 french x86 and x64 integration with this batch file.
    using WAIK version 7100

    Warning you need to choice "5" for x86 and "4" for x64 at the begin.

     
  11. mick711

    mick711 MDL Junior Member

    Apr 14, 2008
    80
    2
    0
    THANKS !!!!! Work very great !!!!! :)

    Very good more simpler you dies :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. shadow_shd

    shadow_shd MDL Junior Member

    Nov 21, 2007
    76
    5
    0
    Nice shot Roylion ;-) !!

    ++
     
  13. Yurek3

    Yurek3 MDL Novice

    May 1, 2009
    27
    0
    0
    #74 Yurek3, Jun 1, 2009
    Last edited: Jun 2, 2009
    MagicAndre1981


    @echo Off

    rem ######################################################################
    rem # Configure Paths here #
    rem ######################################################################

    set WORKLW=C:
    set WORKDIR=7Work

    set WAIK=C:\Program Files\Windows AIK
    set LANG=de-DE You can make here for feature do not need change de-DE .pl-PL etc.

    rem ######################################################################
    rem # AB HIER NICHTS MEHR Ă„NDERN !!!! #
    rem ######################################################################

    set WIM=%WORKLW%\%WORKDIR%\Mount
    set WD=%WORKLW%\%WORKDIR%\DVD
    set LP=%WORKLW%\%WORKDIR%\LP\lp.cab
    set ELP=%WORKLW%\%WORKDIR%\LPEXT
    set ISO=%WORKLW%\%WORKDIR%\ISO

    Echo Geben sie die Version an:
    Echo 1 - Starter
    Echo 2 - HOMEBASIC
    Echo 3 - HOMEPREMIUM
    Echo 4 - Professional
    Echo 5 - Ultimate
    Set /p EDITION=Zahl:
    Echo.

    %WORKLW%
    cd %WORKDIR%

    echo =====================================
    echo Aktualisiere "install.wim"
    echo =====================================
    echo.
    echo Mounte "install.wim" nach "%WIM%"...
    "%WAIK%\Tools\x86\Imagex.exe" /mountrw "%WD%\Sources\install.wim" %EDITION% "%WIM%"
    pause
    echo Integriere Sprachpaket von "%LP%...
    "%WAIK%\Tools\x86\Servicing\DISM.exe" /Image:%WIM% /Add-Package /PackagePath:%LP%

    echo Setzte Sprache "%LANG%" als Oberflaechensprache...
    "%WAIK%\Tools\x86\Servicing\DISM.exe" /Image:%WIM% /Set-UILang:%LANG%

    echo Setzte Sprache "%LANG%" als Benutzersprache...
    "%WAIK%\Tools\x86\Servicing\DISM.exe" /Image:%WIM% /Set-UserLocale:%LANG%

    echo Setzte Sprache "%LANG%" als Systemsprache...
    "%WAIK%\Tools\x86\Servicing\DISM.exe" /Image:%WIM% /Set-SysLocale:%LANG%

    echo Setzte Sprache "%LANG%" als Eingabesprache...
    "%WAIK%\Tools\x86\Servicing\DISM.exe" /Image:%WIM% /Set-InputLocale:%LANG%
    do not unmoute and integrate many language from folder LP/LP1 ,LP2 next,next,onetime we can integrate many language
    echo Erstelle "lang.ini"...
    "%WAIK%\Tools\x86\intlcfg.exe" -genlangini -dist:"%WD%" -image:"%WIM%" -f
    echo Packe und Unmounte "install.wim"...
    "%WAIK%\Tools\x86\Imagex.exe" /unmount /commit "%WIM%"


    echo =====================================
    echo Aktualisiere "boot.wim"
    echo =====================================
    echo.
    Rd /S /Q "%ELP%"
    Mkdir "%ELP%"

    echo Entpacke Sprachpaket "%LANG%" nach "%ELP%"
    Expand "%LP%" -f:* "%ELP%"
    echo Kopiere Dateien...
    Xcopy "%ELP%\setup\sources\%LANG%\*" "%WD%\sources\%LANG%" /cherkyi
    Xcopy "%ELP%\sources\license\%LANG%\*" "%WD%\sources\license\%LANG%" /cherkyi

    echo Mounte "boot.wim" nach "%WIM%"...
    "%WAIK%\Tools\x86\Imagex.exe" /mountrw "%WD%\Sources\boot.wim" 2 "%WIM%"

    echo Kopiere Dateien...
    Xcopy "%ELP%\setup\sources\%LANG%\*" "%WIM%\sources\%LANG%" /cherkyi
    Xcopy "%ELP%\sources\license\%LANG%\*" "%WIM%\sources\license\%LANG%" /cherkyi
    Copy "%WD%\sources\Lang.ini" "%WIM%\sources\Lang.ini"
    Rd /S /Q "%ELP%"
    And in boot.wim too do not unmoute now and copy all information to integrate few language onetime
    echo Packe und Unmounte "boot.wim"...
    "%WAIK%\Tools\x86\Imagex.exe" /unmount /commit "%WIM%"

    echo.
    echo Das Languagepack wurde integriert!
    echo.
    echo Erstelle bootbares ISO...
    "%WAIK%\Tools\x86\oscdimg.exe" -n -m -betfsboot.com "%WD%" "%ISO%\Windows 7.iso"
    echo Alles erledigt! Das ISO befindet sich im Verzeichnis "%ISO%"
    pause

    Thanks for interesting for my question.
     
  14. shadow_shd

    shadow_shd MDL Junior Member

    Nov 21, 2007
    76
    5
    0
    Hi Ludacris : your links don't work :(
     
  15. Ludacris

    Ludacris MDL Junior Member

    May 25, 2009
    67
    27
    0
    ok,i've fixed it
     
  16. Yurek3

    Yurek3 MDL Novice

    May 1, 2009
    27
    0
    0
    #78 Yurek3, Jun 2, 2009
    Last edited: Jun 2, 2009
    english version do not working, dowloading now is Ok but do not working
     
  17. shadow_shd

    shadow_shd MDL Junior Member

    Nov 21, 2007
    76
    5
    0
    Same for me here, downloading is OK, but error at launch of "LangPack Integrator.exe" :

    LPIntegrator.jpg

    :(
     
  18. Yurek3

    Yurek3 MDL Novice

    May 1, 2009
    27
    0
    0
    Use germeny version working but i do not now integrate good or not