TUTO: slipstream MUI language pack in installation DVD

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

  1. BubuXP

    BubuXP MDL Member

    Jul 21, 2009
    179
    86
    10
    #141 BubuXP, Jul 27, 2009
    Last edited by a moderator: Apr 20, 2017
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. takui

    takui MDL Novice

    Sep 11, 2007
    41
    0
    0
    no one can help me to solve my problem? :/
     
  3. BubuXP

    BubuXP MDL Member

    Jul 21, 2009
    179
    86
    10
    Hai aperto il terminale come amministratore (Esegui come amministratore)?
    Have you opened the command prompt as administrator?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. razorex

    razorex MDL Novice

    Jul 20, 2009
    6
    0
    0
    Is there a way to skip the fist menu where you must select what is your language. I have tried the method mentioned by BubuXP in post 117, but with no result :(

    Sorry for my english.
     
  5. BubuXP

    BubuXP MDL Member

    Jul 21, 2009
    179
    86
    10
    #145 BubuXP, Jul 27, 2009
    Last edited by a moderator: Apr 20, 2017
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. razorex

    razorex MDL Novice

    Jul 20, 2009
    6
    0
    0
    I've edited the lang.ini in boot.wim and now I don't have to choose which language i want to install, its already polish.

    my lang.ini :

    [Available UI Languages]
    pl-PL = 3

    [Fallback Languages]
    pl-PL = pl-PL

    Thanks for help :)
     
  7. BubuXP

    BubuXP MDL Member

    Jul 21, 2009
    179
    86
    10
    #147 BubuXP, Jul 27, 2009
    Last edited: Jul 27, 2009
    You just deleted the EN language from the lang.ini in the boot.wim file... the simple and straight solution is often the right :D
    I've made 3 ISOs to test the various possibilities and nothing worked :)

    I've updated my version of the guide to include this "feature", thanks for your test ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. takui

    takui MDL Novice

    Sep 11, 2007
    41
    0
    0
    #148 takui, Jul 27, 2009
    Last edited: Jul 27, 2009
    Sì..

    yes...but it return me that error...with the script from zelda, the process go much furter but with some errors...in the end I got an image, but it's still in english, so I can't upgrade my italian version :/

    I'm trying to slipstream this image: 7600.16385.090713-1255_x86fre_client_en-us_Retail_Ultimate-GRMCULFRER_EN_DVD

    with this .cab file: it-it, LP, x86.cab

    thx

    ps.: ma sei italiano? Uff non capisco che diamine ha che non va...tempo fa con una beta è filato tutto liscio, con questa non riesco a cavarci piede...
     
  9. BubuXP

    BubuXP MDL Member

    Jul 21, 2009
    179
    86
    10
    Ma dove stai operando? Sei su windows 7 o su vista o su XP?
    Io ho fatto tutto da xp...
    Controllata l'originalità della iso di win7 e del language pack?
    E riprova cancellando tutta la cartella 7Work e seguendo la versione modificata da me della guida, qualche post prima di questo.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. takui

    takui MDL Novice

    Sep 11, 2007
    41
    0
    0
    #150 takui, Jul 27, 2009
    Last edited: Jul 27, 2009
    Sono da win7, ho scaricato la versione del thread di zukona...come faccio a controllare l'ash? L'lp l'ho preso sempre da un thread qua sul forum...tra l'altro non capisco come mai, usando la procedura manuale della guida, mi dia quell'errore...usando lo script di zelda, vada più avanti...nonostante cmq non integri il lp...
     
  11. angelo1

    angelo1 MDL Novice

    Jan 13, 2008
    31
    0
    0
    Ciao senti se non ti didpiace protresti mandarmi in pm una tua guida?.
    Grazie.
     
  12. takui

    takui MDL Novice

    Sep 11, 2007
    41
    0
    0
    leggere le ultime pagine del thread non mi sembra così faticoso.
     
  13. b4nd0ler0

    b4nd0ler0 MDL Novice

    Jul 27, 2009
    16
    2
    0
    Gimagex: ERROR unable to mount

    Mount Path:D:\7Work\WIM
    Image File: D:\7Work\DVD\sources\install.wim
    Image Index:5
    Mounted R/W:1

    Opening WIM...please wait...

    ERROR: Unable to mount image.
    ERROR: El sistema no puede hallar el archivo especificado.

    That is "the system cannot find specified file"

    I'm running this on Windows XP Pro, any ideas?

    Thanks.
     
  14. BubuXP

    BubuXP MDL Member

    Jul 21, 2009
    179
    86
    10
    #154 BubuXP, Jul 27, 2009
    Last edited: Jul 27, 2009
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. BubuXP

    BubuXP MDL Member

    Jul 21, 2009
    179
    86
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. quad

    quad MDL Junior Member

    Dec 9, 2008
    94
    163
    0
    @BubuXP

    La tua guida è perfetta e non sussistono problemi (la bootabilità l'ho poi creata con OSCDIMG ... ).

    Solo un dettaglio: come lo hai eseguito da XP se gimagex.exe non risulta un'applicazione valida (WIMGAPI.DLL).
     
  17. BubuXP

    BubuXP MDL Member

    Jul 21, 2009
    179
    86
    10
    La guida la sto aggiornando continuamente...
    Anch'io ho inserito la creazione dell'iso con oscdimg e avevo anche scritto che se gimagex.exe si sposta direttamente in 7Work funziona.

    I'm continuously updating my version of the guide.
    If you move gimagex.exe to 7Work it will work even on XP
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. zelda2000

    zelda2000 MDL Novice

    Jul 24, 2009
    12
    4
    0
    #159 zelda2000, Jul 27, 2009
    Last edited by a moderator: Apr 20, 2017
    Hi, I have updated my code and bring some beautiful new functions:

    1- Integrations of local packs or other cabs
    2- The script now can patch the entire disc and all versions of windows
    3- You can now prepare before your directories or follow the procedure when asked
    4- Some minor improvements like log files, more stability using DISM.exe...
    5- Some bugs corrections: now the iso file is created correctly...

    What you have to do to install and slipstream your own disc:

    1- Install the English Windows Seven RTM on your computer or virtual machine
    2- Put in windows\system32 the oscdimg.exe file provided with my script (if you want to have your iso produced)
    3- Edit the script and change eventually the working directory (7Work default) and change the language (fr-FR default)
    4- Prepare your directories as subdirectories of your working directory
    DVD is for your original windows disc files
    CABS is for your add-ons like the Local packs
    LP is for your lp.cab language file
    5- Run the script as administrator and follow instructions...
    6- Enjoy !

    And post your feedback here !

    To BubuXp:
    I prefer using DISM.exe because:
    - it's provided with seven
    - it's the last tool of MS

    Here is the code:
    Code:
    @echo Off
    cls
    
    Echo *******************************
    Echo **    LP Integrator 1.01     **
    Echo *******************************
    Echo.
    
    rem ##################################################
    rem # Configure Paths here #
    rem ##################################################
    
    set WORKLW=C:
    set WORKDIR=7Work
    set LANG=fr-FR
    
    rem #################################################
    rem # FROM HERE NOTHING MORE CHANGE !!!! #
    rem #################################################
    
    Echo Creating directories...
    Echo.
    Set LOGS=%WORKLW%\%WORKDIR%\LOGS
    md %LOGS%
    Echo %LOGS% created...
    set WD=%WORKLW%\%WORKDIR%\DVD
    md %WD%
    Echo %WD% created...
    set LP=%WORKLW%\%WORKDIR%\LP
    md %LP%
    Echo %LP% created...
    set ELP=%WORKLW%\%WORKDIR%\LPEXT
    md %ELP%
    Echo %ELP% created...
    set CABS=%WORKLW%\%WORKDIR%\CABS
    md %CABS%
    Echo %CABS% created...
    set ISO=%WORKLW%\%WORKDIR%\ISO
    md %ISO%
    Echo %ISO% created...
    Echo.
    
    Echo Give the Windows version you want to modify:
    Echo 1 - STARTER x86 or HOMEBASIC x64 or ENTERPRISE X86-X64
    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
    Echo 6 - ALL VERSIONS x86
    Echo 7 - ALL VERSIONS x64
    Set /p EDITION=Number: 
    Echo.
    %WORKLW%
    cd\%WORKDIR%
    
    echo Setup variables OK ...
    echo.
    dir
    Echo.
    Echo Copy your Windows installation disc in %WD%
    Echo.
    Echo Copy your language pack lp.cab in %LP%
    Echo.
    Echo Copy your others Add-ons in %CABS% and hit a key when done
    Echo.
    pause
    Echo.
    echo When you are ready to integrate language pack, hit a key
    echo.
    pause
    if %EDITION%==1 GOTO CREAINSTALLONE
    if %EDITION%==2 GOTO CREAINSTALLONE
    if %EDITION%==3 GOTO CREAINSTALLONE
    if %EDITION%==4 GOTO CREAINSTALLONE
    if %EDITION%==5 GOTO CREAINSTALLONE
    if %EDITION%==6 GOTO CREAINSTALLX86
    if %EDITION%==7 GOTO CREAINSTALLX64
    if %EDITION%==8 GOTO Test
    goto End
    
    
    :CREAINSTALLX86
    Cls
    echo =======================
    echo  Refresh "install.wim" 
    echo =======================
    rem Install STARTER X86
    echo.
    set WIM=%WORKLW%\%WORKDIR%\installWIM1
    md %WIM%
    Echo %WIM% created...
    Echo.
    echo Mount "install.wim" to "%WIM%"...
    DISM.exe /LogPath:%LOGS%\MountOSInstallWim1.log /LogLevel:1 /Mount-Wim /WimFile:%WD%\Sources\install.wim /index:1 /MountDir:%WIM%
    echo.
    echo Adding Package...
    DISM.exe /LogPath:%LOGS%\AddLangPack1.log /LogLevel:1 /image:%WIM% /Add-Package /PackagePath:%LP%\lp.cab
    rem Wait for 15 seconds for finish adding package
    ping -n 15 127.0.0.1 >NUL
    DISM.exe /LogPath:%LOGS%\Set-AllIntl1.log /LogLevel:1 /image:%WIM% /Set-AllIntl:%LANG%
    DISM.exe /LogPath:%LOGS%\Gen-LangINI1.log /LogLevel:1 /image:%WIM% /Gen-LangINI /distribution:%WD%
    echo.
    echo Adding other Packages...
    for /f %%f in ('dir /b %CABS%') do DISM.exe /LogPath:%LOGS%\AddCABS.log /LogLevel:1 /image:%WIM% /Add-Package /PackagePath:%CABS%\%%f
    rem Wait for 15 seconds for finish adding package
    ping -n 15 127.0.0.1 >NUL
    echo.
    echo Unpack and Unmount "install.wim"...
    DISM.exe /LogPath:%LOGS%\UnMountOSInstallWim1.log /LogLevel:1 /Unmount-Wim /MountDir:%WIM% /Commit
    echo.
    echo ============================================================================
    echo        1- STARTER X86 done, Install.wim updated with your language
    echo ============================================================================
    echo.
    rem Wait for 15 seconds for finish adding package
    ping -n 15 127.0.0.1 >NUL
    echo Delete Temp files...
    Rd /S /Q %WIM%
    
    
    rem Install HOMEBASIC X86
    echo.
    set WIM=%WORKLW%\%WORKDIR%\installWIM2
    md %WIM%
    Echo %WIM% created...
    Echo.
    echo Mount "install.wim" to "%WIM%"...
    DISM.exe /LogPath:%LOGS%\MountOSInstallWim2.log /LogLevel:1 /Mount-Wim /WimFile:%WD%\Sources\install.wim /index:2 /MountDir:%WIM%
    echo.
    echo Adding Package...
    DISM.exe /LogPath:%LOGS%\AddLangPack2.log /LogLevel:1 /image:%WIM% /Add-Package /PackagePath:%LP%\lp.cab
    rem Wait for 15 seconds for finish adding package
    ping -n 15 127.0.0.1 >NUL
    DISM.exe /LogPath:%LOGS%\Set-AllIntl2.log /LogLevel:1 /image:%WIM% /Set-AllIntl:%LANG%
    DISM.exe /LogPath:%LOGS%\Gen-LangINI2.log /LogLevel:1 /image:%WIM% /Gen-LangINI /distribution:%WD%
    echo.
    echo Adding other Packages...
    for /f %%f in ('dir /b %CABS%') do DISM.exe /LogPath:%LOGS%\AddCABS.log /LogLevel:1 /image:%WIM% /Add-Package /PackagePath:%CABS%\%%f
    rem Wait for 15 seconds for finish adding package
    ping -n 15 127.0.0.1 >NUL
    echo.
    echo Unpack and Unmount "install.wim"...
    DISM.exe /LogPath:%LOGS%\UnMountOSInstallWim2.log /LogLevel:1 /Unmount-Wim /MountDir:%WIM% /Commit
    echo.
    echo ============================================================================
    echo       2- HOMEBASIC X86 done, Install.wim updated with your language
    echo ============================================================================
    echo.
    rem Wait for 15 seconds for finish adding package
    ping -n 15 127.0.0.1 >NUL
    echo Delete Temp files...
    Rd /S /Q %WIM%
    
    
    rem Install HOMEPREMIUM X86
    echo.
    set WIM=%WORKLW%\%WORKDIR%\installWIM3
    md %WIM%
    Echo %WIM% created...
    Echo.
    echo Mount "install.wim" to "%WIM%"...
    DISM.exe /LogPath:%LOGS%\MountOSInstallWim3.log /LogLevel:1 /Mount-Wim /WimFile:%WD%\Sources\install.wim /index:3 /MountDir:%WIM%
    echo.
    echo Adding Package...
    DISM.exe /LogPath:%LOGS%\AddLangPack3.log /LogLevel:1 /image:%WIM% /Add-Package /PackagePath:%LP%\lp.cab
    rem Wait for 15 seconds for finish adding package
    ping -n 15 127.0.0.1 >NUL
    DISM.exe /LogPath:%LOGS%\Set-AllIntl3.log /LogLevel:1 /image:%WIM% /Set-AllIntl:%LANG%
    DISM.exe /LogPath:%LOGS%\Gen-LangINI3.log /LogLevel:1 /image:%WIM% /Gen-LangINI /distribution:%WD%
    echo.
    echo Adding other Packages...
    for /f %%f in ('dir /b %CABS%') do DISM.exe /LogPath:%LOGS%\AddCABS.log /LogLevel:1 /image:%WIM% /Add-Package /PackagePath:%CABS%\%%f
    rem Wait for 15 seconds for finish adding package
    ping -n 15 127.0.0.1 >NUL
    echo.
    echo Unpack and Unmount "install.wim"...
    DISM.exe /LogPath:%LOGS%\UnMountOSInstallWim3.log /LogLevel:1 /Unmount-Wim /MountDir:%WIM% /Commit
    echo.
    echo ============================================================================
    echo       3- HOMEPREMIUM X86 done, Install.wim updated with your language
    echo ============================================================================
    echo.
    rem Wait for 15 seconds for finish adding package
    ping -n 15 127.0.0.1 >NUL
    echo Delete Temp files...
    Rd /S /Q %WIM%
    
    
    rem Install PROFESSIONAL X86
    echo.
    set WIM=%WORKLW%\%WORKDIR%\installWIM4
    md %WIM%
    Echo %WIM% created...
    Echo.
    echo Mount "install.wim" to "%WIM%"...
    DISM.exe /LogPath:%LOGS%\MountOSInstallWim4.log /LogLevel:1 /Mount-Wim /WimFile:%WD%\Sources\install.wim /index:4 /MountDir:%WIM%
    echo.
    echo Adding Package...
    DISM.exe /LogPath:%LOGS%\AddLangPack4.log /LogLevel:1 /image:%WIM% /Add-Package /PackagePath:%LP%\lp.cab
    rem Wait for 15 seconds for finish adding package
    ping -n 15 127.0.0.1 >NUL
    DISM.exe /LogPath:%LOGS%\Set-AllIntl4.log /LogLevel:1 /image:%WIM% /Set-AllIntl:%LANG%
    DISM.exe /LogPath:%LOGS%\Gen-LangINI4.log /LogLevel:1 /image:%WIM% /Gen-LangINI /distribution:%WD%
    echo.
    echo Adding other Packages...
    for /f %%f in ('dir /b %CABS%') do DISM.exe /LogPath:%LOGS%\AddCABS.log /LogLevel:1 /image:%WIM% /Add-Package /PackagePath:%CABS%\%%f
    rem Wait for 15 seconds for finish adding package
    ping -n 15 127.0.0.1 >NUL
    echo.
    echo Unpack and Unmount "install.wim"...
    DISM.exe /LogPath:%LOGS%\UnMountOSInstallWim4.log /LogLevel:1 /Unmount-Wim /MountDir:%WIM% /Commit
    echo.
    echo ============================================================================
    echo       4- PROFESSIONAL X86 done, Install.wim updated with your language
    echo ============================================================================
    echo.
    rem Wait for 15 seconds for finish adding package
    ping -n 15 127.0.0.1 >NUL
    echo Delete Temp files...
    Rd /S /Q %WIM%
    
    
    rem Install ULTIMATE X86
    echo.
    set WIM=%WORKLW%\%WORKDIR%\installWIM5
    md %WIM%
    Echo %WIM% created...
    Echo.
    echo Mount "install.wim" to "%WIM%"...
    DISM.exe /LogPath:%LOGS%\MountOSInstallWim5.log /LogLevel:1 /Mount-Wim /WimFile:%WD%\Sources\install.wim /index:5 /MountDir:%WIM%
    echo.
    echo Adding Package...
    DISM.exe /LogPath:%LOGS%\AddLangPack5.log /LogLevel:1 /image:%WIM% /Add-Package /PackagePath:%LP%\lp.cab
    rem Wait for 15 seconds for finish adding package
    ping -n 15 127.0.0.1 >NUL
    DISM.exe /LogPath:%LOGS%\Set-AllIntl5.log /LogLevel:1 /image:%WIM% /Set-AllIntl:%LANG%
    DISM.exe /LogPath:%LOGS%\Gen-LangINI5.log /LogLevel:1 /image:%WIM% /Gen-LangINI /distribution:%WD%
    echo.
    echo Adding other Packages...
    for /f %%f in ('dir /b %CABS%') do DISM.exe /LogPath:%LOGS%\AddCABS.log /LogLevel:1 /image:%WIM% /Add-Package /PackagePath:%CABS%\%%f
    rem Wait for 15 seconds for finish adding package
    ping -n 15 127.0.0.1 >NUL
    echo.
    echo Unpack and Unmount "install.wim"...
    DISM.exe /LogPath:%LOGS%\UnMountOSInstallWim5.log /LogLevel:1 /Unmount-Wim /MountDir:%WIM% /Commit
    
    
    echo.
    echo ============================================================================
    echo       5- ULTIMATE X86 done, Install.wim updated with your language
    echo  The system will now expand thousands of files. Don't stop the procedure...
    echo ============================================================================
    echo.
    rem Wait for 15 seconds
    ping -n 15 127.0.0.1 >NUL
    echo Delete Temp files...
    Rd /S /Q %WIM%
    goto CREABOOT
    
    
    
    :CREAINSTALLX64
    Cls
    echo =======================
    echo  Refresh "install.wim" 
    echo =======================
    rem Install HOMEBASIC X64
    echo.
    set WIM=%WORKLW%\%WORKDIR%\installWIM1
    md %WIM%
    Echo %WIM% created...
    Echo.
    echo Mount "install.wim" to "%WIM%"...
    DISM.exe /LogPath:%LOGS%\MountOSInstallWim1.log /LogLevel:1 /Mount-Wim /WimFile:%WD%\Sources\install.wim /index:1 /MountDir:%WIM%
    echo.
    echo Adding Package...
    DISM.exe /LogPath:%LOGS%\AddLangPack1.log /LogLevel:1 /image:%WIM% /Add-Package /PackagePath:%LP%\lp.cab
    rem Wait for 15 seconds for finish adding package
    ping -n 15 127.0.0.1 >NUL
    DISM.exe /LogPath:%LOGS%\Set-AllIntl1.log /LogLevel:1 /image:%WIM% /Set-AllIntl:%LANG%
    DISM.exe /LogPath:%LOGS%\Gen-LangINI1.log /LogLevel:1 /image:%WIM% /Gen-LangINI /distribution:%WD%
    echo.
    echo Adding other Packages...
    for /f %%f in ('dir /b %CABS%') do DISM.exe /LogPath:%LOGS%\AddCABS.log /LogLevel:1 /image:%WIM% /Add-Package /PackagePath:%CABS%\%%f
    rem Wait for 15 seconds for finish adding package
    ping -n 15 127.0.0.1 >NUL
    echo.
    echo Unpack and Unmount "install.wim"...
    DISM.exe /LogPath:%LOGS%\UnMountOSInstallWim1.log /LogLevel:1 /Unmount-Wim /MountDir:%WIM% /Commit
    echo.
    echo ============================================================================
    echo        1- HOMEBASIC X64 done, Install.wim updated with your language
    echo ============================================================================
    echo.
    rem Wait for 15 seconds for finish adding package
    ping -n 15 127.0.0.1 >NUL
    echo Delete Temp files...
    Rd /S /Q %WIM%
    
    
    rem Install HOMEPREMIUM X64
    echo.
    set WIM=%WORKLW%\%WORKDIR%\installWIM2
    md %WIM%
    Echo %WIM% created...
    Echo.
    echo Mount "install.wim" to "%WIM%"...
    DISM.exe /LogPath:%LOGS%\MountOSInstallWim2.log /LogLevel:1 /Mount-Wim /WimFile:%WD%\Sources\install.wim /index:2 /MountDir:%WIM%
    echo.
    echo Adding Package...
    DISM.exe /LogPath:%LOGS%\AddLangPack2.log /LogLevel:1 /image:%WIM% /Add-Package /PackagePath:%LP%\lp.cab
    rem Wait for 15 seconds for finish adding package
    ping -n 15 127.0.0.1 >NUL
    DISM.exe /LogPath:%LOGS%\Set-AllIntl2.log /LogLevel:1 /image:%WIM% /Set-AllIntl:%LANG%
    DISM.exe /LogPath:%LOGS%\Gen-LangINI2.log /LogLevel:1 /image:%WIM% /Gen-LangINI /distribution:%WD%
    echo.
    echo Adding other Packages...
    for /f %%f in ('dir /b %CABS%') do DISM.exe /LogPath:%LOGS%\AddCABS.log /LogLevel:1 /image:%WIM% /Add-Package /PackagePath:%CABS%\%%f
    rem Wait for 15 seconds for finish adding package
    ping -n 15 127.0.0.1 >NUL
    echo.
    echo Unpack and Unmount "install.wim"...
    DISM.exe /LogPath:%LOGS%\UnMountOSInstallWim2.log /LogLevel:1 /Unmount-Wim /MountDir:%WIM% /Commit
    echo.
    echo ============================================================================
    echo       2- HOMEPREMIUM X64 done, Install.wim updated with your language
    echo ============================================================================
    echo.
    rem Wait for 15 seconds for finish adding package
    ping -n 15 127.0.0.1 >NUL
    echo Delete Temp files...
    Rd /S /Q %WIM%
    
    
    rem Install PROFESSIONAL X64
    echo.
    set WIM=%WORKLW%\%WORKDIR%\installWIM3
    md %WIM%
    Echo %WIM% created...
    Echo.
    echo Mount "install.wim" to "%WIM%"...
    DISM.exe /LogPath:%LOGS%\MountOSInstallWim3.log /LogLevel:1 /Mount-Wim /WimFile:%WD%\Sources\install.wim /index:3 /MountDir:%WIM%
    echo.
    echo Adding Package...
    DISM.exe /LogPath:%LOGS%\AddLangPack3.log /LogLevel:1 /image:%WIM% /Add-Package /PackagePath:%LP%\lp.cab
    rem Wait for 15 seconds for finish adding package
    ping -n 15 127.0.0.1 >NUL
    DISM.exe /LogPath:%LOGS%\Set-AllIntl3.log /LogLevel:1 /image:%WIM% /Set-AllIntl:%LANG%
    DISM.exe /LogPath:%LOGS%\Gen-LangINI3.log /LogLevel:1 /image:%WIM% /Gen-LangINI /distribution:%WD%
    echo.
    echo Adding other Packages...
    for /f %%f in ('dir /b %CABS%') do DISM.exe /LogPath:%LOGS%\AddCABS.log /LogLevel:1 /image:%WIM% /Add-Package /PackagePath:%CABS%\%%f
    rem Wait for 15 seconds for finish adding package
    ping -n 15 127.0.0.1 >NUL
    echo.
    echo Unpack and Unmount "install.wim"...
    DISM.exe /LogPath:%LOGS%\UnMountOSInstallWim3.log /LogLevel:1 /Unmount-Wim /MountDir:%WIM% /Commit
    echo.
    echo ============================================================================
    echo       3- PROFESSIONAL X64 done, Install.wim updated with your language
    echo ============================================================================
    echo.
    rem Wait for 15 seconds for finish adding package
    ping -n 15 127.0.0.1 >NUL
    echo Delete Temp files...
    Rd /S /Q %WIM%
    
    
    rem Install ULTIMATE X64
    echo.
    set WIM=%WORKLW%\%WORKDIR%\installWIM4
    md %WIM%
    Echo %WIM% created...
    Echo.
    echo Mount "install.wim" to "%WIM%"...
    DISM.exe /LogPath:%LOGS%\MountOSInstallWim4.log /LogLevel:1 /Mount-Wim /WimFile:%WD%\Sources\install.wim /index:4 /MountDir:%WIM%
    echo.
    echo Adding Package...
    DISM.exe /LogPath:%LOGS%\AddLangPack4.log /LogLevel:1 /image:%WIM% /Add-Package /PackagePath:%LP%\lp.cab
    rem Wait for 15 seconds for finish adding package
    ping -n 15 127.0.0.1 >NUL
    DISM.exe /LogPath:%LOGS%\Set-AllIntl4.log /LogLevel:1 /image:%WIM% /Set-AllIntl:%LANG%
    DISM.exe /LogPath:%LOGS%\Gen-LangINI4.log /LogLevel:1 /image:%WIM% /Gen-LangINI /distribution:%WD%
    echo.
    echo Adding other Packages...
    for /f %%f in ('dir /b %CABS%') do DISM.exe /LogPath:%LOGS%\AddCABS.log /LogLevel:1 /image:%WIM% /Add-Package /PackagePath:%CABS%\%%f
    rem Wait for 15 seconds for finish adding package
    ping -n 15 127.0.0.1 >NUL
    echo.
    echo Unpack and Unmount "install.wim"...
    DISM.exe /LogPath:%LOGS%\UnMountOSInstallWim4.log /LogLevel:1 /Unmount-Wim /MountDir:%WIM% /Commit
    
    
    echo.
    echo ============================================================================
    echo       4- ULTIMATE X64 done, Install.wim updated with your language
    echo  The system will now expand thousands of files. Don't stop the procedure...
    echo ============================================================================
    echo.
    rem Wait for 15 seconds
    ping -n 15 127.0.0.1 >NUL
    echo Delete Temp files...
    Rd /S /Q %WIM%
    goto CREABOOT
    
    
    
    
    :CREAINSTALLONE
    Cls
    echo =======================
    echo  Refresh "install.wim" 
    echo =======================
    echo.
    set WIM=%WORKLW%\%WORKDIR%\installWIM
    md %WIM%
    Echo %WIM% created...
    Echo.
    echo Mount "install.wim" to "%WIM%"...
    DISM.exe /LogPath:%LOGS%\MountOSInstallWim.log /LogLevel:1 /Mount-Wim /WimFile:%WD%\Sources\install.wim /index:%EDITION% /MountDir:%WIM%
    echo.
    echo Adding Package...
    DISM.exe /LogPath:%LOGS%\AddLangPack.log /LogLevel:1 /image:%WIM% /Add-Package /PackagePath:%LP%\lp.cab
    rem Wait for 15 seconds for finish adding package
    ping -n 15 127.0.0.1 >NUL
    DISM.exe /LogPath:%LOGS%\Set-AllIntl.log /LogLevel:1 /image:%WIM% /Set-AllIntl:%LANG%
    DISM.exe /LogPath:%LOGS%\Gen-LangINI.log /LogLevel:1 /image:%WIM% /Gen-LangINI /distribution:%WD%
    echo.
    echo Adding other Packages...
    for /f %%f in ('dir /b %CABS%') do DISM.exe /LogPath:%LOGS%\AddCABS.log /LogLevel:1 /image:%WIM% /Add-Package /PackagePath:%CABS%\%%f
    rem Wait for 15 seconds for finish adding package
    ping -n 15 127.0.0.1 >NUL
    echo.
    echo Unpack and Unmount "install.wim"...
    DISM.exe /LogPath:%LOGS%\UnMountOSInstallWim.log /LogLevel:1 /Unmount-Wim /MountDir:%WIM% /Commit
    echo.
    echo ============================================================================
    echo               Done, Install.wim updated with your language ...
    echo  The system will now expand thousands of files. Don't stop the procedure...
    echo ============================================================================
    echo.
    rem Wait for 15 seconds
    ping -n 15 127.0.0.1 >NUL
    echo Delete Temp files...
    Rd /S /Q %WIM%
    goto CREABOOT
    
    
    :CREABOOT
    Cls
    echo ====================
    echo  Refresh "boot.wim"
    echo ====================
    echo.
    set WIM=%WORKLW%\%WORKDIR%\BootWIM
    md %WIM%
    Echo %WIM% created...
    Echo.
    echo Unzip language pack "%LANG%" to "%ELP%"
    Expand %LP%\lp.cab -f:* %ELP%
    echo.
    echo Copy files...
    Xcopy %ELP%\setup\sources\%LANG%\* %WD%\sources\%LANG% /cherkyi
    Xcopy %ELP%\sources\license\%LANG%\* %WD%\sources\license\%LANG% /cherkyi
    echo.
    echo Mount "boot.wim" to "%WIM%"...
    DISM.exe /LogPath:%LOGS%\MountOSBootWim.log /LogLevel:1 /Mount-Wim /WimFile:%WD%\Sources\boot.wim /index:2 /MountDir:%WIM%
    echo.
    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
    echo.
    echo Delete Temp files...
    Rd /S /Q %ELP%
    echo.
    echo Unpack and Unmount "boot.wim"...
    DISM.exe /LogPath:%LOGS%\UnMountOSBootWim.log /LogLevel:1 /Unmount-Wim /MountDir:%WIM% /Commit
    echo.
    echo ========================================
    echo  The language pack has been integrated! 
    echo ========================================
    echo.
    rem Wait for 15 seconds
    ping -n 15 127.0.0.1 >NUL
    echo Delete Temp files...
    Rd /S /Q %WIM%
    goto CREATEISO
    
    :CREATEISO
    echo Create bootable ISO...
    oscdimg.exe -h -u2 -m -b%WD%\boot\etfsboot.com -lWindows7DVD %WD% %ISO%\Windows7.iso
    cls
    echo.
    echo ================================================
    echo  The ISO has been created ! - Hit a key to exit
    echo ================================================
    echo.
    echo Everything is done! The ISO is in the directory "%ISO%"
    echo.
    pause
    goto End
    
    :Test
    CLS
    Echo THIS IS A TEST
    pause
    goto End
    
    :End
    
     

    Attached Files:

  19. b4nd0ler0

    b4nd0ler0 MDL Novice

    Jul 27, 2009
    16
    2
    0
    Nope, gimagex was already there... it was installing the wimfltr.inf filter driver what fixed it. Thanx very much. I shall carry on and see if I can manage it.

    Grazie due mile.