You are on page 1of 4

Create Windows 7 AIO (All In One) DVD at it.megocollector.

com

file:///E:/Create Windows 7 AIO (All In One) DVD at it.megocollector.c...

it.megocollector.com The information technology compendium

Search

Categories
Linux (46) Media (9) Misc (21) Scripts (129) AutoIT Scripts (15) INNO Scripts (10) Software Packaging (19) Tips and Tricks (247) Wordpress (37)

Recently Modified
06/23/2011: 06/09/2011: 06/08/2011: 05/24/2011: vBulletin 4.1.2 Link your logo to Home Page How to Completely Uninstall McAfee VirusScan Enterprise Edition MIcrosoft SQL Server 2008 Evaluation Period Has Expired. Disable Snap a new feature in Windows 7

Most Viewed
i8042prt Event ID 7026 The following boot-start or system-start driver(s) failed to load - 67,045 views Adobe Reader 9 or Adobe Acrobat 9 can not view PDF files in a Web Browser error and fix - 66,204 views #1045 - Access denied for user 'root'@'localhost' (using password: NO) fix - 31,207 views Create a 7zip Self Extractor (7zS.sfx or 7z.sfx) - 28,855 views Install JDK (Java Development Kit) on a RedHat Linux System - 19,216 views Internet Explorer 7 Gold RunOnce Removal - 19,048 views eHome Infrared Receiver not recognized by Windows XP - 17,624 views Remove WGA Notifications with AutoIT - 15,297 views SVCHOST.EXE Application Error 0XC00000FD 0X76A9F4F9 100% CPU Resolved! - 14,914 views Setup JBoss on Red Hat Enterprise Linux 5 (RHEL5) Server - 14,045 views Perl Script to Backup Event Logs (Updated) How to disable Windows Security Warning "These files might be harmful to your computer"

Create Windows 7 AIO (All In One) DVD


Published May 24th, 2011 in Software Packaging, Tips and Tricks

This article will demonstrate how to merge 11 editions of Microsoft Windows 7 onto a single-layer DVD. Except for the Enterprise edition which is not available to the general public, each edition of Microsoft Windows 7 DVD contains all available editions (Starter (available for x86 only) , Home Basic, Home Premium, Professional and Ultimate), however, is locked into a single edition. So, the use of one each 64-bit (x64) DVD and one 32-bit (x86) DVD will be sufficient to create an all-in-one single-layered DVD. For this task, the use of the following four MSDN downloaded DVDs are used (Total size: 10,984,568 KB).

1 of 5

6/30/2011 12:51 AM

Create Windows 7 AIO (All In One) DVD at it.megocollector.com

file:///E:/Create Windows 7 AIO (All In One) DVD at it.megocollector.c...

Microsoft Windows 7 Enterprise (x86) - en_windows_7_enterprise_x86_dvd_x15-70745.iso (2,344,142 KB) Microsoft Windows 7 Enterprise (x64) - en_windows_7_enterprise_x64_dvd_x15-70749.iso (3,048,062 KB) Microsoft Windows 7 Ultimate (x86) - en_windows_7_ultimate_x86_dvd_x15-65921.iso (2,443,256 KB) Microsoft Windows 7 Ultimate (x64) - en_windows_7_ultimate_x64_dvd_x15-65922.iso (3,149,108 KB) Windows Automation Installation Kit (WAIK) for Windows 7 - KB3AIK_EN.iso (1,747,600 KB) The Setup Install the Windows Automation Installation Kit. Create a folder AIO on the root of your drive with two subfolders DVD and WIMS. (ie. E:\AIO, E:\AIO\DVD, E:\AIO\WIMS) Copy the entire Microsoft Windows 7 Ultimate (x86) into the E:\AIO\DVD folder. Note: The reason for selecting the 32-bit edition over the 64-bit edition is that 64-bit systems support 32-bit operating systems and not vice versa. Delete ei.cfg from E:\AIO\DVD\sources\ Note: The ei.cfg locks the installation source to a specific edition of Windows. Deleting the file allows for other editions to be installed. Move and rename the E:\AIO\DVD\sources\install.wim to E:\AIO\WIMS as Windows_7x86_ULT.wim. Copy the \sources\install.wim from Microsoft Windows 7 Ultimate (x64) to E:\AIO\WIMS as Windows_7x64_ULT.wim. Copy the \sources\install.wim from Microsoft Windows 7 Enterprise (x86) to E:\AIO\WIMS as Windows_7x86_ENT.wim. Copy the \sources\install.wim from Microsoft Windows 7 Enterprise (x64) to E:\AIO\WIMS as Windows_7x64_ENT.wim. A distinct difference between this process versus the other articles throughout the Internet is that E:\AIO\DVD\sources \install.wim is moved to E:\AIO\WIMS and renamed as Windows_7x86_ULT.wim. Other articles will copy install.wim from E:\AIO\DVD\sources to E:\AIO\WIMS or not copy at all. The commands detailed below build off of the install.wim file, appending additional image information and indexes thus increasing the size of the original file. The reason for this difference is that a completely fresh install.wim will be created with maximum compression and with a menu that displays the order of the editions as desired as will be seen later in this article. The Process Execute each of the following commands to export each edition of Microsoft Windows from each of the wim files to create the custom install.wim. To access use the Start Menu to find and launch Imagex, Deployment Tools Command Prompt. Scroll to the appendix of this article for additional detail about the commands below. 1 Imagex /export "E:\AIO\WIMs\Windows_7x86_ULT.wim" "Windows 7 STARTER" /compress maximum 2 Imagex /export "E:\AIO\WIMs\Windows_7x86_ENT.wim" "Windows 7 ENTERPRISE" /compress maximum 3 Imagex /export "E:\AIO\WIMs\Windows_7x64_ENT.wim" "Windows 7 ENTERPRISE (x64)" /compress maximum 4 Imagex /export "E:\AIO\WIMs\Windows_7x86_ULT.wim" "Windows 7 HOMEBASIC" /compress maximum 5 Imagex /export "E:\AIO\WIMs\Windows_7x64_ULT.wim" "Windows 7 HOMEBASIC (x64)" /compress maximum 6 Imagex /export "E:\AIO\WIMs\Windows_7x86_ULT.wim" "Windows 7 HOMEPREMIUM" /compress maximum 7 Imagex /export "E:\AIO\WIMs\Windows_7x64_ULT.wim" "Windows 7 HOMEPREMIUM (x64)" /compress maximum 8 Imagex /export "E:\AIO\WIMs\Windows_7x86_ULT.wim" "Windows 7 PROFESSIONAL" /compress maximum 9 Imagex /export "E:\AIO\WIMs\Windows_7x64_ULT.wim" "Windows 7 PROFESSIONAL (x64)" /compress maximum 10 Imagex /export "E:\AIO\WIMs\Windows_7x86_ULT.wim" "Windows 7 ULTIMATE" /compress maximum 11 Imagex /export "E:\AIO\WIMs\Windows_7x64_ULT.wim" "Windows 7 ULTIMATE (x64)" /compress maximum 1 "E:\AIO\DVD\sources\install.wim" 1 "E:\AIO\DVD\sources\install.wim" 1 "E:\AIO\DVD\sources\install.wim" 2 "E:\AIO\DVD\sources\install.wim" 1 "E:\AIO\DVD\sources\install.wim" 3 "E:\AIO\DVD\sources\install.wim" 2 "E:\AIO\DVD\sources\install.wim" 4 "E:\AIO\DVD\sources\install.wim" 3 "E:\AIO\DVD\sources\install.wim" 5 "E:\AIO\DVD\sources\install.wim" 4 "E:\AIO\DVD\sources\install.wim"

The resulting D:\AIO\DVD\sources\install.wim (3,674,769 KB) is approx. a 67% space savings.

2 of 5

6/30/2011 12:51 AM

Create Windows 7 AIO (All In One) DVD at it.megocollector.com

file:///E:/Create Windows 7 AIO (All In One) DVD at it.megocollector.c...

Note: Pick and choose which editions, customize any which way, however, for this article all of the above commands were used in the order listed. It would be helpful to copy all of the commands into a batch file and execute the batch. Burn the DVD The oscdimg.exe command is accessible by launching the Imagex, Deployment Tools Command Prompt. (ie. C:\Program Files\Windows AIK\Tools\PETools>). At the prompt use this command to create the ISO image to burn to DVD. 1 oscdimg.exe -lWIN_AIO_DVD -t07/14/2009 -m -u2 -be:\aio\dvd\boot\etfsboot.com e:\aio\dvd e:\aio\windows7_aio_dvd.iso The resulting ISO is less than 4GB. Use your favorite DVD burning software to create your DVD.

Appendix About IMAGEX /INFO (optional reading) Each WIM contains an index of available Microsoft Windows 7 editions. Using the command Imagex /info img_file, where img_file is the path of the WIM file to be queried for XML information, will list all available editions.

For example, Imagex /info E:\AIO\WIMS\Windows_7x64_ULT.wim will generate an XML displaying the values for each image. The WIM Information will display Image Count: 4. Scroll through the XML to reveal the indexes. <IMAGE INDEX = <IMAGE INDEX = <IMAGE INDEX = <IMAGE INDEX = "1"> ... "2"> ... "3"> ... "4"> ... <NAME>Windows 7 <NAME>Windows 7 <NAME>Windows 7 <NAME>Windows 7 HOMEBASIC</NAME> HOMEPREMIUM</NAME> PROFESSIONAL</NAME> ULTIMATE</NAME>

Each WIM will contain a unique set of indexed images. The index number and image name are essential to the process below. For this article, this process has been completed with the appropriate commands outlined below.

3 of 5

6/30/2011 12:51 AM

Create Windows 7 AIO (All In One) DVD at it.megocollector.com

file:///E:/Create Windows 7 AIO (All In One) DVD at it.megocollector.c...

About IMAGEX /EXPORT (optional reading) The following command options for IMAGEX are available for use with /EXPORT.

Usage: IMAGEX [FLAGS] /EXPORT src_file src_number | src_name dest_file dest_name Exports a copy of the specified image to another WIM file. src_file - The path of the WIM file that contains the image to be copied. src_number - The number that identifies the image within the source WIM. src_name - The name that identifies the image within the source WIM. dest_file - The path of the WIM file that will receive the image copy. dest_name - The unique name for the image in the destination WIM. Other flags exist, however, the one of interest for this example is /compress /COMPRESS [maximum | fast | none] Specifies the type of compression used when exporting to a new WIM file. About OSCDIMG (optional reading)

Usage: OSCDIMG [options] sourceroot targetfile For option information, use -help with one of the following categories ISO Options for the ISO 9660 file system Joliet Options for the Joliet file system UDF Options for the UDF file system Boot Options for bootable CDs Optimize Options for optimization Order Options for ordering the files DVD Options for DVD video and audio Mesg Options for displaying warnings and messages Other Options that do not fit in any other category References

4 of 5

6/30/2011 12:51 AM

You might also like