Create a Windows 7 AIO DVD
The idea of this guide will be to create a Windows 7 AIO DVD that has all x86 and x64 editions including Enterprise editions. I will also show how you can integrate languages and local-packs. And this while still being able to fit it onto a 4GB DVD. So without wasting your time, lets roll ..
Requires
- Windows 7 DVD/ISO (x86 & x64) – Any edition will do, because the DVD holds all editions i.e. Starter, Home Basic, Home Premium, Professional and Ultimate.
- Windows 7 Enterprise DVD/ISO (x86 & x64) – You can find the 90-day trail here.
- Windows 7 Language packs & localisation packs – Get these on MSDN/Technet
- WAIK 2.0 – The Windows® Automated Installation Kit (AIK) for Windows® 7
We will merge all x64 editions one by one onto a x86 DVD, because the x64 has 64bit contents that can’t run under Win32 mode but it can visa versa.
The first step would be to install WAIK 2.0 so we can make use of the WIM Mount drivers and other tools. You can however just download this pack and you’ll have all the files you need. If you’re not following this guide on a Windows 7 pc you’ll need these files (Deployment Image Servicing and Management) as well.
Preparation
It’s time to make a folder where we will put all the needed files, best is to make in in the root and make it short, that will make it easier on yourself later on. For example D:\Win7AIO (Naturally, replace D: with your own drive letter).
In this folder we’ll make 5 new subfolders: cmd, DVD, WIM, WIMs and LP.
In the DVD-folder you can copy (or extract) the files from the x86 DVD (or ISO).
In the WIMs-folder you can copy (or extract) the install.wim files from the x64 DVD (or iso), and the same for the enterprise DVD’s (or ISO’s). These files are located in the sources folder of the appropriate DVD/ISO. While i was doing all this I moved every install.wim to this folder, including the one from the DVD-folder and named them the following Win7_x86.wim, Win7_x64.wim, Win7Ent_x86.wim and Win7Ent_x64.wim.
The language packs we will put in the LP-folder (must be the cab-files, exe won’t work). If you have local packs too you can copy them into the LP-folder aswell.
Next we’ll unzip WinMount.7z (and DISM.7z too if you’re not in Win7) in the cmd-folder.
If you’re working on XP or Vista, go in the cmd-folder and choose the actual OS architecture folder (wim-x86 or win-amd64) then right click on the wimmount.inf and choose “Install”. No need in windows 7 as it’s already present.
This will give us the following structure:
D:\Win7AIO
╠═══ [cmd] > with some .exe files, DISM files if needed and wimmount folders
╠═══ [DVD] > with all folders and files from the Win7 install DVD
╠═══ [LP] > with your lp.cab and Windows-LocalPack-XX-Package.cab
║. . . . ╠═══ [setup]
║. . . . ╚═══ [sources]
╠═══ [WIMs] > will contain the install.wim files from all DVD’s/ISO’s
╚═══ [WIM] > will contain the expanded files from "install.wim"
With all these steps taken we’re ready to modify our Windows 7 DVD. In this first part we’ll be adding language packs and local-packs, if you want to skip to the part where we create the AIO image, click here.
Mounting “install.wim”
Open a command prompt as administrator, point to D:\Win7AIO\cmd and mount the image with:
dism /Mount-Wim /WimFile:D:\Win7AIO\WIMs\Win7_x86.wim /index:4 /MountDir:D:\Win7AIO\WIM
Where the /index: value is:
for 32bit > 1=Starter 2=HomeBasic 3=HomePremium 4=Professional 5=Ultimate
for 64bit > 1=HomeBasic 2=HomePremium 3=Professional 4=Ultimate
enterprise (both 32bit & 64bit) > 1=Enterprise
Adding and removing packages
To install the LP, type at the command primt, alsways as adminstrator from D:\Win7AIO\cmd:
dism /Image:D:\Win7AIO\WIM /Add-Package /PackagePath:D:\Win7AIO\LP\lp.cab
Now you need to wait till the process is finished and you should see this at the end:
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385
Image Version: 6.1.7600.16385
Processing 1 of 1 – Adding package Microsoft-Windows-Client-LanguagePack-Package
~31bf3856ad364e35~amd64~nl-NL~6.1.7600.16385
[==========================100.0%==========================]
The operation completed successfully.
D:\Win7AIO\cmd>
If you have the local pack, it’s time to integrate it. A local pack is only a desktop theme for Win7, that have for subject the country specified on the local pack.
Skip this step if you are modifying the Starter Edition image, because in Starter you cannot even change the wallpaper.. so it’s useless.
dism /ImageD:\Win7AIO\WIM /Add-Package /PackagePath:D:\Win7AIO\LP\Windows-LocalPack-NL-Package.cab
replace the NL in the file name with your language code. You should have a result similar to the above at the end.
Optional: if you want to remove the en-US language pack from the available languages on Windows 7, typ:
dism /image:D:\Win7AIO\WIM /Remove-Package /PackageName:Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~amd64~en-US~6.1.7600.16385
In the example we’re removing the en-US LP from a 64bit DVD; change the amd64 to x86 if you’re modifying the 32bit DVD. Leave the en-US specified as it’s the language we’re removing.
You can also remove the 5 english local packs already included in the DVD.
Skip this command in Starter Edition, because there are no local packs in Starter and you will get an error.
dism /image:D:\Win7AIO\WIM /Remove-Package /PackageName:Microsoft-Windows-LocalPack-AU-Package~31bf3856ad364e35~amd64~~6.1.7600.16385 /PackageName:Microsoft-Windows-LocalPack-CA-Package~31bf3856ad364e35~amd64~~6.1.7600.16385 /PackageName:Microsoft-Windows-LocalPack-GB-Package~31bf3856ad364e35~amd64~~6.1.7600.16385 /PackageName:Microsoft-Windows-LocalPack-US-Package~31bf3856ad364e35~amd64~~6.1.7600.16385 /PackageName:Microsoft-Windows-LocalPack-ZA-Package~31bf3856ad364e35~amd64~~6.1.7600.16385
Always change amd64 to x86 if DVD is 32bit.
Setting the language options
Come back in your command prompt, and type this:
dism /image:D:\Win7AIO\WIM /Set-SKUIntlDefaults:nl-NL /Gen-LangINI /Set-SetupUILang:nl-NL /distribution:D:\Win7AIO\DVD
Replace nl-NL with your language code, i.e. de-DE
You should have something like this:
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385
Image Version: 6.1.7600.16385
Set SKU default settings for: nl-NL
A new Lang.ini file has been generated
The default language in Lang.ini file has been updated to: nl-NL
The operation completed successfully.
D:\Win7AIO\cmd>
Unmounting “install.wim”
After all these changes we can unmount and “save” our modified install.wim file:
dism /Unmount-Wim /MountDir:D:\Win7AIO\WIM /commit
And that’s it, now we need to repeat this for every version where you want to change the language, just change the /index: value each time when mounting the with DISM.
When you have updated all images, delete the file ei.cfg in D:\Win7AIO\DVD\sources to let the user choose the Windows7 version to install during setup.
With all the install.wim files in the WIMs-folder (modified or not) we can start making a new install.wim file for the dvd. I chose to make a AIO_install.wim file so i could optimize and reduce the size of the wim file in the end.
The only thing we need to do now is use ImageX to export all the versions we want into the new wim-file. Open a command prompt as administrator, point to D:\Win7AIO\cmd and type the following:
imagex /export D:\Win7AIO\WIMs\Win7_x86.wim 1 D:\Win7AIO\WIMs\AIO_install.wim "Windows 7 Starter x86"
imagex /export D:\Win7AIO\WIMs\Win7_x64.wim 1 D:\Win7AIO\WIMs\AIO_install.wim "Windows Home Basic x64"
imagex /export D:\Win7AIO\WIMs\Win7_x86.wim 2 D:\Win7AIO\WIMs\AIO_install.wim "Windows 7 Home Basic x86"
imagex /export D:\Win7AIO\WIMs\Win7_x64.wim 2 D:\Win7AIO\WIMs\AIO_install.wim "Windows 7 Home Premium x64"
imagex /export D:\Win7AIO\WIMs\Win7_x86.wim 3 D:\Win7AIO\WIMs\AIO_install.wim "Windows 7 Home Premium x86"
imagex /export D:\Win7AIO\WIMs\Win7_x64.wim 3 D:\Win7AIO\WIMs\AIO_install.wim "Windows 7 Professional x64"
imagex /export D:\Win7AIO\WIMs\Win7_x86.wim 4 D:\Win7AIO\WIMs\AIO_install.wim "Windows 7 Professional x86"
imagex /export D:\Win7AIO\WIMs\Win7Ent_x64.wim 1 D:\Win7AIO\WIMs\AIO_install.wim "Windows 7 Enterprise x64"
imagex /export D:\Win7AIO\WIMs\Win7Ent_x86.wim 1 D:\Win7AIO\WIMs\AIO_install.wim "Windows 7 Enterprise x86"
imagex /export D:\Win7AIO\WIMs\Win7_x64.wim 4 D:\Win7AIO\WIMs\AIO_install.wim "Windows 7 Ultimate x64"
imagex /export D:\Win7AIO\WIMs\Win7_x86.wim 5 D:\Win7AIO\WIMs\AIO_install.wim "Windows 7 Ultimate x86"
Once all this is done we have the AIO_install.wim file that contains all windows 7 editions, 32 and 64 bit. The only thing we need to do now is optimize the file and create or DVD.
In this guide we will optimize the AIO_install.wim file, call it install.wim and put it in the DVD/sources folder (make sure the install.wim file is out of that folder if you didn’t move it in one of the first steps). Again, open a command prompt as administrator, point to D:\Win7AIO\cmd and type the following:
imagex /export /check /compress maximum D:\Win7AIO\WIMs\AIO_install.wim * D:\Win7AIO\DVD\sources\install.wim
When finished you have an AIO Windows 7 DVD, you can either copy it to a bootable usb-stick or create an ISO.
To create the ISO simply use the following command:
oscdimg.exe -l"Windows 7 AIO" -m -u2 -bD:\Win7AIO\DVD\Boot\etfsboot.com D:\Win7AIO\DVD D:\Win7AIO\Windows7_AIO.iso
You can now burn the ISO with your favorite CD/DVD burning software!
If you want to install windows 7 from a bootable usb device, you can follow the guide here to make it bootable, copy the files to your usb device and you’re done!
I made this guide with the help of windowsvalley.com and bubuxp on mydigitallife.info, merged them together into one guide and voila
I hope this guide can be of some help!

No comments yet.