How to extrac cab files from windows6.1-kb972813-x64-pt-pt_f8310aa4a73841aec29b3f4e74ecaece56b695e9.exe? if i run exe i will install that language if i open with 7 zip i got a lot of amd64 files and folders but not cab files
Wow the thread isnt dead!. you can use exe2cab tool. Run the exe and wait, the lp.cab will be created.
It should work fine yea Havent tried server yet but SVR 2008 is build on vista..kinda. Well modifying vista image with waik 2 (for 7) doesnt seem to work but if you install waik for vista it may.
You have not think about build an UI for this i think it wuld make it easyer for all to edit the ISOs :=) And one other thing i have check the bat file im not fully understand it, Do i need to edit mutch to get it to work whit 2008? Where do i put the language package and how does it separate x64 and x86 language.. Im going to use update all x64/x86 anyways
Im not sure which version youre using but ive continued updating it so latest (for now) is V3.5 All 32bit updates in workfolder\updates\32 and all 64bit updates in the 64 folder. My script will create all necessary folders so just move or copy to right folder. All language packs in the LP folder and it doesnt really seperate anything, you will have to make all choices yourself First you enter path to workfolder, waik, windows/setup architecture, then what you want to do (add lp, drivers etc) then to what indexnumber, all 32bit, all 64bit or AIO. Well yea, i thoug about it but i cant make those nice software like daz loader etc I asked another guy if he could help me bout with that but we havent started it yet, maybe we will maybe we wont. Edit: About modifying vista or server 2008, try install Windows Automated Installation Kit (WAIK) for vista and please report back
"If you want a DVD with every Windows7 version in your language, you must restart the procedure from point III changing the /index: value each time when mounting with DISM (each index value correspond to a Win7 version, as written before)." If i wan`t to use the update option do i then have to apply them for each version ?
With the permission from BubuXP and zelda2000 i ask if i can upload my contribution, i picked the batch idea (the most part) from zelda2000 and all commands line from BubuXP and i remade the batch , now is more iterative. all credits for all one that had worked on the command lines and other stuff Raffaello
erros logs que aconteceram, não sei se isso afeta algo, já que não entendi porra nenhuma hehe mas alguem talves entenda fora esses logs, o resto aparente foi ok AddLangPack1.log add-Winpe.log add-Winpe2.log
i follow the post and created an en-us/zh-cn dual language windows 7 installation disc last year successfully and now i'm trying to create a new one for sp1 and add ja-jp too, nothing goes wrong except the language choosing menu shows only "My language is English" i checked what the lang.ini contains: Code: [Available UI Languages] en-US = 3 ja-JP = 2 zh-CN = 2 [Fallback Languages] en-US = en-us ja-JP and zh-CN shares the same value, is that normal? //edit: never mind, i forgot the font pack for windows pe again... I asked exactly the same question a year ago on another forum and i just found that post through google -_-b
Hi i need some help i want only to slip the language pack, but i still want to show the screen that let you choose the language setup (my language is English/ sua lingua e portugues and etc) and also want to still let en-us at the default OS installation selected BUT available to choose for other language installation OS too what i need to change on the dism / batch command for that happens ? here is my little modification on the original batch LP INTEGRATOR + owner of this thread all credits remained i only put some new menu, a check menu, and update and driver line still need oscdimg.exe bat have already variable for pt-br en-us, it-it, de-gr for add new variable just see the simple in red inside the {code area} without "::"(is a comment parameter ) copy to notepad and save as what name you want .BAT Code: @echo off cls rem ################################################## rem # Configure Paths here # rem ################################################## set WORKLW=C: set WORKDIR=7Work 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 winpe=%WORKLW%\%WORKDIR%\LP\winpe md %winpe% echo %winpe% created... set DRIVER=%WORKLW%\%WORKDIR%\DRIVER md %DRIVER% echo %Driver% created... set UPDATE=%WORKLW%\%WORKDIR%\UPDATE md %UPDATE% echo %UPDATE% created.... set ISO=%WORKLW%\%WORKDIR%\ISO md %ISO% Echo %ISO% created... 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 Drivers in %DRIVER% Echo. Echo Copy your Updates in %UPDATE% Echo. Echo Copy your Local packs Add-ons in %CABS% and hit a key when done Echo. pause>null Echo. echo When you are ready to integrate language pack, hit a key echo. pause>null :bgm cls Echo ************************************ Echo ** LP Integrator 1.02 Beta ** Echo ************************************ Echo. set var1= '' :: ADD NEW LANG VARIABLE JUST FOLLOW THE SIMPLE :pri set lang= set lang1= echo.************************************************ echo 1 for portuguese brasil pt-BR echo 2 for english en-US echo 3 for italian it-IT echo 4 for german de-GR ::ECHO 5 FOR JAPAN ja-JP set /p lang1=Number: -^> if '%lang1%'== '1' (set lang=pt-BR) & goto :priok if '%lang1%'== '2' (set lang=en_US) & goto :priok if '%lang1%'== '3' (set lang=it-IT) & goto :priok if '%lang1%'== '4' (set lang=de-GR) & goto :priok ::if '%lang1%'=='5'(set lang=ja=JP) & goto :priok cls echo "%lang1%" Is not valid, please try again goto pri :priok if %var1%== confirm goto :confirmation set var2= '' cls :sec echo ******************************************************** set EDITION= 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: -^> if '%edition%'== '1' goto secok if '%edition%'== '2' goto secok if '%edition%'== '3' goto secok if '%edition%'== '4' goto secok if '%edition%'== '5' goto secok if '%edition%'== '6' goto secok if '%edition%'== '7' goto secok cls echo "%edition%" Is not valid, please try again goto sec :secok if %var2%== confirm2 goto confirmation set var3= '' cls :Driver echo ************************************* set dr= echo choose if you want add drivers in dvd set /p dr=yes/no: -^> if /i '%dr%'== 'yes' (set gtd= dvr) & goto driverok if /i '%dr%'== 'no' (set gtd= int) & goto driverok cls echo "%dr%" Is not valid, please try again goto driver :driverok if %var3%== confirm3 goto confirmation set var4= '' cls :update echo ***************************************** set up= echo choose if you want add updates in dvd set /p up=yes/no: -^> if /i '%up%'=='yes' (set gty= upt) & goto updateok if /i '%up%'=='no' (set gty= stIV) & goto updateok cls echo "%up%" Is not valid, please try again goto :update :updateok if %var4%== confirm4 goto confirmation cls :confirmation echo ************************************************************************** set opt= set var1= set var2= set var3= set var4= set var5= echo. echo you choose the defaut lang %lang% echo. if %edition%== 1 set version= STARTER x86 or HOMEBASIC x64 or ENTERPRISE X86-X64 if %edition%== 2 set version= HOMEBASIC x86 or HOMEPREMIUM x64 if %edition%== 3 set version= HOMEPREMIUM x86 or PROFESSIONAL x64 if %edition%== 4 set version= PROFESSIONAL x86 or ULTIMATE x64 if %edition%== 5 set version= ULTIMATE x86 if %edition%== 6 set version= ALL VERSIONS x86 if %edition%== 7 set version= ALL VERSIONS x64 echo you choose the %version% version echo. echo you choose %dr% for add driver echo. echo you choose %up% for add updates echo. :opt echo **************************************************** echo What you want to do? echo lg if you want to change only the defaut language echo ed if you want to change only the edition version echo dv if you want to change only add new driver option echo ut if you want to change only add new updates option echo all if you want to change all above option echo ok if you want to continue with slipstream set /p opt=Code: -^> if /i '%opt%'=='lg' (set var1= confirm) & goto pri if /i '%opt%'=='ed' (set var2= confirm2) & goto sec if /i '%opt%'=='dv' (set var3= confirm3 ) & goto driver if /i '%opt%'=='ut' (set var4= confirm4) & goto update if /i '%opt%'=='all' goto :bgm if /i '%opt%'=='ok' goto :ok cls echo "%opt%" Is not valid, please try again goto opt :ok 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 echo "voce não deveria ler isto" :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 STEP 1 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 STEP 2 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 ECHO STEP 3 ::DISM.exe /LogPath:%LOGS%\GenLangINI1_SetSKUIntlDefaults1_SetSetupUILang1.log /LogLevel:1 /image:%WIM% /Set-SKUIntlDefaults:%LANG% /Gen-LangINI /Set-SetupUILang:%LANG% /distribution:%WD% 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% goto %gtd% :dvr ECHO STEP_DVR DISM.exe /LogPath:%LOGS%\add-driver1.log /LogLevel:1 /image:%WIM% /Add-Driver /driver:%driver% /recurse goto %gty% :int goto %gty% :upt ECHO STEP_UPT DISM.exe /LogPath:%LOGS%\add-update1.log /LogLevel:1 /Image:%WIM% /Add-Package /PackagePath:%update% goto STIV :STIV ECHO STEP 4 echo. echo Adding other Packages... for /f %%f in ('dir /b %CABS%') do DISM.exe /LogPath:%LOGS%\AddCABS1.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 STEP 5 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 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 STEP 1 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 STEP 2 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 ECHO STEP 3 ::DISM.exe /LogPath:%LOGS%\GenLangINI2_SetSKUIntlDefaults2_SetSetupUILang2.log /LogLevel:1 /image:%WIM% /Set-SKUIntlDefaults:%LANG% /Gen-LangINI /Set-SetupUILang:%LANG% /distribution:%WD% 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% goto %gtd% :dvr ECHO STEP_DVR DISM.exe /LogPath:%LOGS%\add-driver2.log /LogLevel:1 /image:%WIM% /Add-Driver /driver:%driver% /recurse goto %gty% :int goto %gty% :upt ECHO STEP_UPT DISM.exe /LogPath:%LOGS%\add-update2.log /LogLevel:1 /Image:%WIM% /Add-Package /PackagePath:%update% goto STIV :STIV ECHO STEP 4 echo. echo Adding other Packages... for /f %%f in ('dir /b %CABS%') do DISM.exe /LogPath:%LOGS%\AddCABS2.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 STEP 5 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 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 STEP 1 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 STEP 2 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 ECHO STEP 3 ::DISM.exe /LogPath:%LOGS%\GenLangINI3_SetSKUIntlDefaults3_SetSetupUILang3.log /LogLevel:1 /image:%WIM% /Set-SKUIntlDefaults:%LANG% /Gen-LangINI /Set-SetupUILang:%LANG% /distribution:%WD% 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% goto %gtd% :dvr ECHO STEP_DVR DISM.exe /LogPath:%LOGS%\add-driver3.log /LogLevel:1 /image:%WIM% /Add-Driver /driver:%driver% /recurse goto %gty% :int goto %gty% :upt ECHO STEP_UPT DISM.exe /LogPath:%LOGS%\add-update3.log /LogLevel:1 /Image:%WIM% /Add-Package /PackagePath:%update% goto STIV :STIV ECHO STEP 4 echo. echo Adding other Packages... for /f %%f in ('dir /b %CABS%') do DISM.exe /LogPath:%LOGS%\AddCABS3.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 STEP 5 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 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 STEP 1 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 STEP 2 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 ECHO STEP 3 ::DISM.exe /LogPath:%LOGS%\GenLangINI4_SetSKUIntlDefaults4_SetSetupUILang4.log /LogLevel:1 /image:%WIM% /Set-SKUIntlDefaults:%LANG% /Gen-LangINI /Set-SetupUILang:%LANG% /distribution:%WD% 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% goto %gtd% :dvr ECHO STEP_DVR DISM.exe /LogPath:%LOGS%\add-driver4.log /LogLevel:1 /image:%WIM% /Add-Driver /driver:%driver% /recurse goto %gty% :int goto %gty% :upt ECHO STEP_UPT DISM.exe /LogPath:%LOGS%\add-update4.log /LogLevel:1 /Image:%WIM% /Add-Package /PackagePath:%update% goto STIV :STIV ECHO STEP 4 echo. echo Adding other Packages... for /f %%f in ('dir /b %CABS%') do DISM.exe /LogPath:%LOGS%\AddCABS4.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 STEP 5 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 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 STEP 1 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 STEP 2 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 ECHO STEP 3 ::DISM.exe /LogPath:%LOGS%\GenLangINI5_SetSKUIntlDefaults5_SetSetupUILang5.log /LogLevel:1 /image:%WIM% /Set-SKUIntlDefaults:%LANG% /Gen-LangINI /Set-SetupUILang:%LANG% /distribution:%WD% 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% goto %gtd% :dvr ECHO STEP_DVR DISM.exe /LogPath:%LOGS%\add-driver5.log /LogLevel:1 /image:%WIM% /Add-Driver /driver:%driver% /recurse goto %gty% :int goto %gty% :upt ECHO STEP_UPT DISM.exe /LogPath:%LOGS%\add-update5.log /LogLevel:1 /Image:%WIM% /Add-Package /PackagePath:%update% goto STIV :STIV ECHO STEP 4 echo. echo Adding other Packages... for /f %%f in ('dir /b %CABS%') do DISM.exe /LogPath:%LOGS%\AddCABS5.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 STEP 5 echo Unpack and Unmount "install.wim"... DISM.exe /LogPath:%LOGS%\UnMountOSInstallWim5.log /LogLevel:1 /Unmount-Wim /MountDir:%WIM% /Commit eecho. 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 STEP 1 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 STEP 2 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 ECHO STEP 3 ::DISM.exe /LogPath:%LOGS%\GenLangINI1_SetSKUIntlDefaults1_SetSetupUILang1.log /LogLevel:1 /image:%WIM% /Set-SKUIntlDefaults:%LANG% /Gen-LangINI /Set-SetupUILang:%LANG% /distribution:%WD% 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% goto %gtd% :dvr ECHO STEP_DVR DISM.exe /LogPath:%LOGS%\add-driver1.log /LogLevel:1 /image:%WIM% /Add-Driver /driver:%driver% /recurse goto %gty% :int goto %gty% :upt ECHO STEP_UPT DISM.exe /LogPath:%LOGS%\add-update1.log /LogLevel:1 /Image:%WIM% /Add-Package /PackagePath:%update% goto STIV :STIV ECHO STEP 4 echo. echo Adding other Packages... for /f %%f in ('dir /b %CABS%') do DISM.exe /LogPath:%LOGS%\AddCABS1.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 STEP 5 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 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 STEP 1 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 STEP 2 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 ECHO STEP 3 ::DISM.exe /LogPath:%LOGS%\GenLangINI2_SetSKUIntlDefaults2_SetSetupUILang2.log /LogLevel:1 /image:%WIM% /Set-SKUIntlDefaults:%LANG% /Gen-LangINI /Set-SetupUILang:%LANG% /distribution:%WD% 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% goto %gtd% :dvr ECHO STEP_DVR DISM.exe /LogPath:%LOGS%\add-driver2.log /LogLevel:1 /image:%WIM% /Add-Driver /driver:%driver% /recurse goto %gty% :int goto %gty% :upt ECHO STEP_UPT DISM.exe /LogPath:%LOGS%\add-update2.log /LogLevel:1 /Image:%WIM% /Add-Package /PackagePath:%update% goto STIV :STIV ECHO STEP 4 echo. echo Adding other Packages... for /f %%f in ('dir /b %CABS%') do DISM.exe /LogPath:%LOGS%\AddCABS2.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 STEP 5 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 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 STEP 1 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 STEP 2 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 ECHO STEP 3 ::DISM.exe /LogPath:%LOGS%\GenLangINI3_SetSKUIntlDefaults3_SetSetupUILang3.log /LogLevel:1 /image:%WIM% /Set-SKUIntlDefaults:%LANG% /Gen-LangINI /Set-SetupUILang:%LANG% /distribution:%WD% 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% goto %gtd% :dvr ECHO STEP_DVR DISM.exe /LogPath:%LOGS%\add-driver3.log /LogLevel:1 /image:%WIM% /Add-Driver /driver:%driver% /recurse goto %gty% :int goto %gty% :upt ECHO STEP_UPT DISM.exe /LogPath:%LOGS%\add-update3.log /LogLevel:1 /Image:%WIM% /Add-Package /PackagePath:%update% goto STIV :STIV ECHO STEP 4 echo. echo Adding other Packages... for /f %%f in ('dir /b %CABS%') do DISM.exe /LogPath:%LOGS%\AddCABS3.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 STEP 5 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 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 STEP 1 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 STEP 2 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 ECHO STEP 3 ::DISM.exe /LogPath:%LOGS%\GenLangINI4_SetSKUIntlDefaults4_SetSetupUILang4.log /LogLevel:1 /image:%WIM% /Set-SKUIntlDefaults:%LANG% /Gen-LangINI /Set-SetupUILang:%LANG% /distribution:%WD% 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% goto %gtd% :dvr ECHO STEP_DVR DISM.exe /LogPath:%LOGS%\add-driver4.log /LogLevel:1 /image:%WIM% /Add-Driver /driver:%driver% /recurse goto %gty% :int goto %gty% :upt ECHO STEP_UPT DISM.exe /LogPath:%LOGS%\add-update4.log /LogLevel:1 /Image:%WIM% /Add-Package /PackagePath:%update% goto STIV :STIV ECHO STEP 4 echo. echo Adding other Packages... for /f %%f in ('dir /b %CABS%') do DISM.exe /LogPath:%LOGS%\AddCABS4.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 STEP 5 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 STEP 1 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 STEP 2 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 ECHO STEP 3 ::DISM.exe /LogPath:%LOGS%\GenLangINI_SetSKUIntlDefaults_SetSetupUILang.log /LogLevel:1 /image:%WIM% /Set-SKUIntlDefaults:%LANG% /Gen-LangINI /Set-SetupUILang:%LANG% /distribution:%WD% 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% goto %gtd% :dvr ECHO STEP_DVR DISM.exe /LogPath:%LOGS%\add-driver.log /LogLevel:1 /image:%WIM% /Add-Driver /driver:%driver% /recurse goto %gty% :int goto %gty% :upt ECHO STEP_UPT DISM.exe /LogPath:%LOGS%\add-update.log /LogLevel:1 /Image:%WIM% /Add-Package /PackagePath:%update% goto STIV :STIV ECHO STEP 4 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 STEP 5 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% echo. goto CREABOOT :CREABOOT Cls ECHO STEP 6 echo ==================== echo Refresh "boot.wim" echo ==================== echo. set WIM=%WORKLW%\%WORKDIR%\BootWIM md %WIM% Echo %WIM% created... Echo. ECHO STEP 6B rem Wait for 5 seconds ping -n 5 127.0.0.1 >NUL echo Unzip language pack "%LANG%" to "%ELP%" Expand %LP%\lp.cab -f:* %ELP% echo. ECHO STEP 6C rem Wait for 5 seconds ping -n 5 127.0.0.1 >NUL echo Copy files... Xcopy %ELP%\setup\sources\* %WD%\sources\ /cherkyi Xcopy %ELP%\sources\license\* %WD%\sources\license\ /cherkyi echo. ECHO STEP 7 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 STEP 8 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 DISM.exe /LogPath:%LOGS%\add-Winpe.log /LogLevel:1 /image:%WIM% /Add-Package /PackagePath:%winpe% DISM.exe /LogPath:%LOGS%\gen-langini.log /LogLevel:1 /image:%WIM% /Gen-LangINI /distribution:%WIM% echo. echo Delete Temp files... Rd /S /Q %ELP% echo. ECHO STEP 9 echo Unpack and Unmount "boot.wim"... DISM.exe /LogPath:%LOGS%\UnMountOSBootWim.log /LogLevel:1 /Unmount-Wim /MountDir:%WIM% /Commit echo. ECHO STEP9B echo Mount "boot.wim part 2" to "%WIM%"... DISM.exe /LogPath:%LOGS%\MountOSBootWim2.log /LogLevel:1 /Mount-Wim /WimFile:%WD%\Sources\boot.wim /index:1 /MountDir:%WIM% echo. DISM.exe /LogPath:%LOGS%\add-Winpe2.log /LogLevel:1 /image:%WIM% /Add-Package /PackagePath:%winpe% ECHO STEP 10 ECHO. xcopy %WIM%\Windows\Boot\DVD\PCAT\%LANG%\bootfix.bin %WD%\boot\ /cheriky xcopy %WIM%\Windows\boot\PCAT\memtest.exe %WD%\boot\ /cheriky xcopy %WIM%\Windows\boot\PCAT\%LANG%\* %WD%\boot\%LANG%\ /cheriky xcopy %WD%\boot\%LANG%\* %WD%\boot\en-US\ /cheriky ECHO STEP 11 echo Unpack and Unmount PART2 "boot.wim"... DISM.exe /LogPath:%LOGS%\UnMountOSBootWim2.log /LogLevel:1 /Unmount-Wim /MountDir:%WIM% /Commit ECHO STEP 12 echo. 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* 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 :END
Hi, i used this method a long time ago to create my multi language win7 isos, but i was wondering if i can still use the same LP's provided here if i want to do it with a windows 7 sp1 iso?