Introduction

Here I document the steps that are needed to create a Windows 7 installation media that contains all retail editions of both 32-bit and 64-bit versions of the operating system. You’ll need original retail DVD media of both versions. It doesn’t matter which edition your’re using, since all Windows 7 DVDs contain the same installation image[1]. You also need a Windows 7 installation with about 10GB of free disk space.

This posting borrows a lot from this article[2]. Thanks and greetings to the author. Also Microsoft’s Windows 7 Technical Library Roadmap[3] has something to say about the topic[4],[5].

Windows Automated Installation Kit

  1. Download and install WAIK for Windows 7[6].

  2. Start Deployment Tools Command Prompt as Administrator. All subsequent commands are typed in the command prompt.

Extracting the original 32-bit media

  1. Create the following directory structure holding the installation image remastering data on a disk that can be used as scratch space. I’m using d:\aio as the base directory.

    md d:\aio
    md d:\aio\build
    md d:\aio\temp
    
    
  2. We use the 32-bit edition as basis for the image due to the reasons described in detail in the article referenced above[2]. Insert Windows 7 32-bit installation DVD into the drive. I’m using g:\ as the DVD drive letter in this listing.

  3. Copy the content of the DVD to d:\aio\build

    xcopy /e g:\ d:\aio\build
    
    
  4. Delete the ei.cfg file in order to unlock all editions[7].

    del d:\aio\build\sources\ei.cfg
    
    
  5. Eject Windows 7 32-bit installation media from the DVD drive

Integrate 64-bit install

  1. Insert Windows 7 64-bit installation media to the DVD drive

  2. Copy the install.wim file that holds the installation image to d:\aio\temp

    copy g:\sources\install.wim d:\aio\temp
    
    
  3. Now we can use ImageX[8] tool to integrate 64-bit editions from the 64-bit installation image with the 32-bit installation image.

    imagex /export d:\aio\temp\install.wim "Windows 7 HOMEBASIC" d:\aio\build\sources\install.wim "Windows 7 HOMEBASIC 64-bit"
    imagex /export d:\aio\temp\install.wim "Windows 7 HOMEPREMIUM" d:\aio\build\sources\install.wim "Windows 7 HOMEPREMIUM 64-bit"
    imagex /export d:\aio\temp\install.wim "Windows 7 PROFESSIONAL" d:\aio\build\sources\install.wim "Windows 7 PROFESSIONAL 64-bit"
    imagex /export d:\aio\temp\install.wim "Windows 7 ULTIMATE" d:\aio\build\sources\install.wim "Windows 7 ULTIMATE 64-bit"
    
    

Remaster ISO image of the installation media

  1. Finally, you can remaster the installation ISO image using Oscdimg[9].

    oscdimg -u2 -bd:\aio\build\boot\etfsboot.com -lGRMCULFRER_EN_DVD -t7/14/2009,12:26:40 d:\aio\build d:\aio\Windows_7_Retail_AIO.iso
    
    
  2. Now you have the final ISO image of the Windows 7 AIO installation media in the file d:\aio\Windows_7_Retail_AIO.iso. You could burn it to a DVD or create bootable USB installation stick[10],[11] or what ever.

References

Just excellent - many thx from the Lake of Constanze, Germany
Comment by Anonymous 2010-10-22T10:11:52 EEST
Does the same principal work for oem?
Comment by Tricky 2012-01-10T16:06:11 EET