TUTO: slipstream MUI language pack in installation DVD

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

  1. leonidsl

    leonidsl MDL Novice

    May 7, 2008
    5
    0
    0
    yes I know that I can get gimagex from there but the imagex.exe command line tool you uploaded is for windows x64...it does not work for windows x86
     
  2. Marinko

    Marinko MDL Novice

    Aug 9, 2009
    1
    0
    0
    #303 Marinko, Aug 9, 2009
    Last edited by a moderator: Apr 20, 2017
  3. mor

    mor MDL Novice

    Jul 16, 2009
    14
    0
    0
    Hi I tried the manual's BubuXP and I have a problem with the part
    of boot.wim index:1 I can not find the files on the folders bootfix.bin And others
    I tried Another language fr-FR And it works well But I want he.IL
     
  4. neki6169

    neki6169 MDL Novice

    Jul 31, 2009
    7
    1
    0
    Had the same problem. I think that those files can't be changed for our languages, only for some. My is sr-latn-cs.
     
  5. mor

    mor MDL Novice

    Jul 16, 2009
    14
    0
    0
    But the same number of cab files but he.il there are more files in the cab files That in fr-FR???
     
  6. josjojo

    josjojo MDL Novice

    Aug 10, 2009
    4
    0
    0
    Upgrade from Windows Vista not translated

    Hello,
    I followed the guide from BubuXP and everything was successful.
    But when I started setup.exe from the root of the dvd, the setup was English.

    What can I do to change setup.exe to another language? I found setup.mui in F:\7Work\LP\setup\sources\fr-fr\. Can I use this to convert this file?
     
  7. Lenmaer

    Lenmaer MDL Addicted

    Jul 3, 2009
    576
    3
    30
    Have you modified "boot.wim" also?
    I know that I wasn't able to get the installation menu in japanese, it worked for every european language but not for the japanese one, maybe fonts were missing, don't know.
     
  8. josjojo

    josjojo MDL Novice

    Aug 10, 2009
    4
    0
    0
    #310 josjojo, Aug 10, 2009
    Last edited by a moderator: Apr 20, 2017
    Yes, I did all the steps. That includes modifying boot.wim (index:2 and index:1).

    When I run these commands:
    Code:
    dism /Mount-Wim /WimFile:D:\7work\DVD\sources\boot.wim /index:2 /MountDir:D:\7work\wim
    dism /image:D:\7work\wim /Add-Package /PackagePath:D:\7work\LP\WinPE
    
    ...the output is:
    Code:
    Version: 6.1.7600.16385
    
    Processing 1 of 12 - Adding package Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~x86~nl-NL~6.1.7600.16385
    [==========================100.0%==========================]
    Processing 2 of 12 - Adding package WinPE-HTA-Package~31bf3856ad364e35~x86~nl-NL~6.1.7600.16385
    
    Processing 3 of 12 - Adding package WinPE-LegacySetup-Package~31bf3856ad364e35~x86~nl-NL~6.1.7600.16385
    
    Processing 4 of 12 - Adding package WinPE-MDAC-Package~31bf3856ad364e35~x86~nl-NL~6.1.7600.16385
    
    Processing 5 of 12 - Adding package WinPE-PPPoE-Package~31bf3856ad364e35~x86~nl-NL~6.1.7600.16385
    
    Processing 6 of 12 - Adding package WinPE-Scripting-Package~31bf3856ad364e35~x86~nl-NL~6.1.7600.16385
    [==========================100.0%==========================]
    Processing 7 of 12 - Adding package WinPE-Setup-Client-Package~31bf3856ad364e35~x86~nl-NL~6.1.7600.16385
    [==========================100.0%==========================]
    Processing 8 of 12 - Adding package WinPE-Setup-Server-Package~31bf3856ad364e35~x86~nl-NL~6.1.7600.16385
    
    Processing 9 of 12 - Adding package WinPE-Setup-Package~31bf3856ad364e35~x86~nl-NL~6.1.7600.16385
    [==========================100.0%==========================]
    Processing 10 of 12 - Adding package WinPE-SRT-Package~31bf3856ad364e35~x86~nl-NL~6.1.7600.16385
    [==========================100.0%==========================]
    Processing 11 of 12 - Adding package WinPE-WDS-Tools-Package~31bf3856ad364e35~x86~nl-NL~6.1.7600.16385
    [==========================100.0%==========================]
    Processing 12 of 12 - Adding package WinPE-WMI-Package~31bf3856ad364e35~x86~nl-NL~6.1.7600.16385
    [==========================100.0%==========================]
    
    Error: 0x800f081e
    
    The specified package is not applicable to this image.
    The specified package is not applicable to this image.
    The specified package is not applicable to this image.
    The specified package is not applicable to this image.
    The specified package is not applicable to this image.
    The command completed with errors.
    For more information, refer to the log file.
    
    As you can see there is an error, but I though it is because those packages aren't needed. Maybe this error is causing the English upgrade process.
     
  9. Lenmaer

    Lenmaer MDL Addicted

    Jul 3, 2009
    576
    3
    30
    #311 Lenmaer, Aug 10, 2009
    Last edited by a moderator: May 23, 2017
  10. Demgel

    Demgel MDL Novice

    Jul 27, 2009
    28
    6
    0
    #312 Demgel, Aug 10, 2009
    Last edited by a moderator: Apr 20, 2017
    That's correct. DISM automatically skips not needed packages ;)
     
  11. josjojo

    josjojo MDL Novice

    Aug 10, 2009
    4
    0
    0
    #313 josjojo, Aug 10, 2009
    Last edited by a moderator: May 23, 2017
  12. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,297
    1,590
    60
    Anyone can re-upload the tools including Imagex/gimageix/etc.? All the linkts in this thread are not working anymore.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. roylion15

    roylion15 MDL Member

    May 1, 2009
    127
    10
    10
    #315 roylion15, Aug 11, 2009
    Last edited by a moderator: Apr 20, 2017
    Hello batch users ...

    For final version RTM , i've updated my previous working batch ...

    Following BubuXP 's tutorial ... you can also add some other lines or dir to integrate a local pack, drivers updates etc but for me it's facultative ...

    Note that this batch don't remove default english language of the distribution.

    just some little improvements :
    don't use Windows AIK tools anymore,
    Use only Dism.exe , it's part of windows.
    no need to copy the boot sector etsfboot.com in \7Work dir ...
    the batch use the boot directly from dvd content to create iso...

    tip : just download the zip attached.
    it contains oscdimg.exe to create the iso and place it in \7Work dir ...

    just place the batch "Startnew.bat" in the 7Work dir ...

    7WORK DIR with the batch "startnew.bat" and the program "oscdimg.exe" (x86) no need to change it for x64 version

    create following folders ...

    > \DVD copy entire content of the windows 7 dvd ...
    > \LP copy your lp.cab file
    > \LPEXT
    > \Mount
    > \ISO

    tip : Run always the batch as Administrator ...

    Code:
    @echo Off
    
    rem ##################################################
    rem # Configure Paths and your language here #
    rem ##################################################
    
    set WORKLW=C:
    set WORKDIR=7Work
    set LANG=fr-FR
    
    rem ################################################## 
    rem # FROM HERE NOTHING MORE CHANGE !!!! #
    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 Give them the version , Make the good choice !!! :
    Echo 1 - Starter x86 HOMEBASIC x64 or Entreprise ISO
    Echo 2 - HOMEBASIC x86 or HOMEPREMIUM x64
    Echo 3 - HOMEPREMIUM x86 or Professional x64
    Echo 4 - Professional x86 or Ultimate x64
    Echo 5 - Ultimate x86
    Set /p EDITION=Number: 
    Echo.
    
    cd\%WORKDIR%
    
    echo setup variables OK ...
    
    pause
    
    echo =====================================
    echo Refresh "install.wim"
    echo =====================================
    echo.
    echo Mount "install.wim" to "%WIM%"...
    
    DISM.EXE /Mount-Wim /WimFile:%WD%\sources\install.wim /index:%EDITION% /MountDir:%WIM%
    
    pause
    
    echo Now integrate your language package "%LP%...
    
    DISM.exe /Image:%WIM% /Add-Package /PackagePath:%LP%
    
    echo Placed Language "%LANG%" Language as the generic stuff...
    DISM.exe /Image:%WIM% /Set-UILang:%LANG%
    echo Placed Language "%LANG%" As the user language...
    DISM.exe /Image:%WIM% /Set-UserLocale:%LANG%
    echo Placed Language "%LANG%" Language as a system...
    DISM.exe /Image:%WIM% /Set-SysLocale:%LANG%
    echo Placed Language "%LANG%" As an input language...
    DISM.exe /Image:%WIM% /Set-InputLocale:%LANG%
    
    echo Now create new "lang.ini" file...
    
    DISM.EXE /image:%WIM% /Set-SKUIntlDefaults:%LANG% /Gen-LangINI /Set-SetupUILang:%LANG% /distribution:%WD%
    
    echo Save changes and Unmount "install.wim"...
    
    DISM.EXE /Unmount-Wim /MountDir:%WIM% /commit
    
    echo Done, Install.wim updated with your language ...
    
    pause
    
    echo =====================================
    echo Now Refreshing  "boot.wim"
    echo =====================================
    echo.
    Rd /S /Q "%ELP%"
    Mkdir "%ELP%"
    
    echo Unzip language pack "%LANG%" to "%ELP%"
    echo Please wait , it will take a moment ...
    
    Expand "%LP%" -f:* "%ELP%"
    echo Copy files...
    Xcopy "%ELP%\setup\sources\%LANG%\*" "%WD%\sources\%LANG%" /cherkyi
    Xcopy "%ELP%\sources\license\%LANG%\*" "%WD%\sources\license\%LANG%" /cherkyi
    
    echo Mount "boot.wim" to "%WIM%"...
    
    DISM.EXE /Mount-Wim /WimFile:%WD%\sources\boot.wim /index:2 /MountDir:%WIM%
    
    echo Copy files...
    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%"
    
    echo Unpack and Unmount "boot.wim"...
    
    DISM.EXE /Unmount-Wim /MountDir:%WIM% /commit
    
    echo.
    echo The language pack has been integrated!
    echo.
    
    echo Now finally let's go building the ISO ...
    
    pause
    
    echo Create bootable Windows 7 ISO...
    
    %WORKLW%\%WORKDIR%\oscdimg.exe -h -u2 -m -b%WD%\boot\etfsboot.com "%WD%" "%ISO%\Windows 7.iso"
    
    echo Everything is done! The ISO is in the directory "%ISO%"
    
    pause
     

    Attached Files:

  14. Raoul

    Raoul MDL Junior Member

    Aug 8, 2009
    61
    10
    0
    Hey,

    I followed BubuXP tutorial, everything is my language now except from the "Setup is loading files" or something (beginning of the installing of windows 7).
     
  15. josjojo

    josjojo MDL Novice

    Aug 10, 2009
    4
    0
    0
    #317 josjojo, Aug 11, 2009
    Last edited by a moderator: May 23, 2017
  16. BubuXP

    BubuXP MDL Member

    Jul 21, 2009
    179
    86
    10
    I'm in vacation right now, I will update my guide with the new suggestion as soon as possible. Thanks to everyone who send suggestions here and in PM.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. tuvi123

    tuvi123 MDL Addicted

    Jul 29, 2009
    623
    86
    30
    #319 tuvi123, Aug 12, 2009
    Last edited: Aug 12, 2009
    I am waiting for the updated changes on your guide and than I will make my iso.

    BubuXP- I suggest you add into your guide how to make a dvd iso that include both x86 and x64.
    (also with the corresponding LP's).

    So how to include x86 and x64 in one iso with the corresponding LP's?

    thank you.
     
  18. roylion15

    roylion15 MDL Member

    May 1, 2009
    127
    10
    10
    #320 roylion15, Aug 12, 2009
    Last edited: Aug 12, 2009
    This update was already included in the first version of the batch file ...

    For testing , today i just upgraded my daugther laptop from vista home premium to win7 home premium in french without any problems or errors , all the setup was well in french during all phases of upgrade ...

    Try even this new batch with you language, it works fine.

    Just need to change the config section at the beginning to adjust with your work drive and replace "fr-FR" variable with your language.

    it's fast and easy to rebuild a new DVD in your language ...

    you can easy add some commands to remove original english or includes some drivers , updates, but it's facultative for me.

    if you have a technet or msdn subscription:
    MS will release new languages images (included french) this week, it's better to wait for them instead of building selfmade iso's.