Page 1 of 17 123411 ... LastLast
Results 1 to 10 of 165

Thread: Windows x86 and x64 AIO, full instructions

  1. #1
    MDL Junior Member
    Join Date
    18 Sep 2009
    Posts
    63
    Thanks
    1
    Thanked 55 Times in 3 Posts

    Default Windows x86 and x64 AIO, full instructions (This one can repair and upgrade x64)

    I think I've retraced my steps from when I created my AIO capable of repairing, installing, and upgrading both x86 and x64 systems. I am posting it here because I think such a guide should have its own thread, to make it easy to find.

    I should be seeing a torrent at some point, but for those of you who already have the materials:

    Materials required:
    Windows 7 x32 install media
    Windows 7 x64 install media
    Hex editor with search-and-replace, and support for unicode strings. I recommend HxD ( http://mh-nexus.de/en/hxd/ ) if you do not already have this.
    WAIK 2.0 ( http://www.microsoft.com/downloads/d...displaylang=en )

    Optional materials:
    Windows 7 Enterprise x32 & x64 install media
    (only required if you wish to have these editions available)

    Stage 1: arranging files

    Okay, in this guide we shall be working on the D: drive, but any drive letter you have available shall do.

    In this stage we set up a directory structure to be used for the rest of the stages.

    Firstly, create the folders:
    D:\AIO\DVD

    and

    D:\AIO\WIMs

    Next, extract contents of the x86 DVD into D:\AIO\DVD

    Delete all .clg files from D:\AIO\DVD\sources

    delete ei.cfg from D:\AIO\DVD\sources

    Then move install.wim from D:\AIO\DVD\sources to D:\AIO\WIMs, and rename it ULTx86.wim
    Then extract install. wim from the x64 DVD to WIMs, and rename it ULTx64.wim

    And optionally, extract the install.wim from the x86 and x64 Enterprise DVDs, renaming them ENTx86.wim and ENTx64.wim respectively.

    Finally, extract the content of the sources directory (except install.wim and ei.cfg) from the x64 DVD to D:\AIO\DVD\sourc64, and copy the setup.exe from the x64 DVD to D:\AIO\DVD as setup64.exe

    Stage 2: Building the WIM

    Now we must build the install.wim (that's the file that contains the different versions of windows, if you didn't know), by exporting images from the .WIMS we have.

    Assuming you've done exactly as I've said, open the deployment tools command prompt (from WAIK), and enter these commands:

    Code:
    Imagex /export "D:\AIO\WIMs\ULTx86.wim" 1 "D:\AIO\DVD\sources\install.wim" "Windows 7 STARTER"
    Imagex /export "D:\AIO\WIMs\ULTx86.wim" 2 "D:\AIO\DVD\sources\install.wim" "Windows 7 HOME BASIC"
    Imagex /export "D:\AIO\WIMs\ULTx86.wim" 3 "D:\AIO\DVD\sources\install.wim" "Windows 7 HOME PREMIUM"
    Imagex /export "D:\AIO\WIMs\ULTx86.wim" 4 "D:\AIO\DVD\sources\install.wim" "Windows 7 PROFESSIONAL"
    Imagex /export "D:\AIO\WIMs\ENTx86.wim" 1 "D:\AIO\DVD\sources\install.wim" "Windows 7 ENTERPRISE"
    Imagex /export "D:\AIO\WIMs\ULTx86.wim" 5 "D:\AIO\DVD\sources\install.wim" "Windows 7 ULTIMATE"
    
    Imagex /export "D:\AIO\WIMs\ULTx64.wim" 1 "D:\AIO\DVD\sources\install.wim" "Windows 7 HOME BASIC (x64)"
    Imagex /export "D:\AIO\WIMs\ULTx64.wim" 2 "D:\AIO\DVD\sources\install.wim" "Windows 7 HOME PREMIUM (x64)"
    Imagex /export "D:\AIO\WIMs\ULTx64.wim" 3 "D:\AIO\DVD\sources\install.wim" "Windows 7 PROFESSIONAL (x64)"
    Imagex /export "D:\AIO\WIMs\ENTx64.wim" 1 "D:\AIO\DVD\sources\install.wim" "Windows 7 ENTERPRISE (x64)"
    Imagex /export "D:\AIO\WIMs\ULTx64.wim" 4 "D:\AIO\DVD\sources\install.wim" "Windows 7 ULTIMATE (x64)"
    You can skip the Enterprise ones if you chose not to include Enterprise. Well, you could skip any of them, but I reccommend including all you can, as it does not take up much additional room (I assume WIM automatically reuses files), and you never know when you might need to do a clean install for someone!

    Sage 3: Modifying the BCD

    Here we modify the DVD's BCD, so as to add an x64 recovery option. The recovery option is just that: it cannot install. To improve user transparency, the boot timeout shall be set to 3 sec, so as to be almost unnoticeable if not needed.

    Ok, open an administative command prompt.

    Navigate to D:\AIO\DVD

    Now make a copy of the default loader by executing:

    Code:
    bcdedit /store boot\bcd /copy {default} /d "x64 Recovery Mode"
    This command shall tell you the GUID of the copy made, make a note of it.

    Next set the new loader to load the 64 bit PE by executing:
    Code:
    bcdedit /store boot\bcd /set {GUID} device ramdisk=[boot]\sourc64\boot.wim,{7619dcc8-fafe-11d9-b411-000476eba25f}
    bcdedit /store boot\bcd /set {GUID} osdevice ramdisk=[boot]\sourc64\boot.wim,{7619dcc8-fafe-11d9-b411-000476eba25f}
    (Replace {GUID} with the GUID you noted down)

    Finally, alter the boot timeout by executing:
    Code:
    bcdedit /store boot\bcd /timeout 3
    Stage 4: getting upgrade to work
    Now, the one problem left is upgrade installs on 64 bit. This involves hex editing files, and so breaks the digital signature, causing the ugly yellow UAC prompt. This is, I am almost ashamed to say, the first of two such cosmetic glitches.

    Now first open D:\AIO\DVD\setup64.exe in your hex editor. Search and replace all instances of the unicode string "sources\" with "sourc64\". Although this breaks the signature, it does not break the program, because both strings are the same length.
    Now, open D:\AIO\DVD\sourc64\autorun.dll, and replace all instances of the unicode string "sources\setup.exe" with "sourc64\lunch.cmd"

    (in case you were wondering, it was going to be launch.cmd, but I had to drop one letter...)

    Now, create a file in D:\AIO\DVD\sourc64 called lunch.cmd containing exactly this:

    Code:
    setup.exe /m:sourc64 /installfrom:\sources\install.wim
    NOTE: If you are using a SP1 slipstreamed image, lunch.cmd should instead contain exactly this:

    Code:
    setup.exe /installfrom:\sources\install.wim
    This is the cause of the second cosmetic glitch. A command prompt is briefly visible before setup is launched.

    Now, the autorun.inf must be modified so that it runs setup64 on x64 systems. Modify it so it contains:
    Code:
    [Autorun.Amd64]
    open=setup64.exe
    icon=setup64.exe,0
    
    [Autorun]
    open=setup.exe
    icon=setup.exe,0
    Now, finally, we're ready to master a DVD. Open up the deployment tools command prompt, and enter:
    Code:
    oscdimg.exe -l7_AIO -t10/22/2009:00:00 -m -u2 -bD:\AIO\DVD\Boot\etfsboot.com D:\AIO\DVD D:\7_AIO.ISO
    Do this, test it. Tell me if it goes wrong, because my iso works perfectly, so I would have typed up the instructions wrong.
    Last edited by DKane; 13 Mar 2011 at 02:47 AM.

  2. The Following 45 Users Say Thank You to DKane For This Useful Post:

    akspa420 (27 Jan 2011), aldemaz (10 Mar 2011), Alphawaves (25 Sep 2011), bdjfreestyle (23 Feb 2011), Biriba (02 Mar 2011), canouna (27 Jan 2011), cat0 (10 Feb 2011), Cctudyn (23 Mar 2011), cengizhan (25 Jan 2011), comahmedtito (22 Aug 2011), DARKOR04 (05 Oct 2010), DjEsko (22 Jan 2011), ElPanDice (20 Jun 2011), fiekert123 (27 Apr 2011), flukyoralpha (01 Mar 2011), gandarin (20 Nov 2010), iamanoob (11 Apr 2010), jabbah (19 Apr 2011), jacquesp (13 Oct 2011), Kamar (07 Apr 2011), kittu8_in2002 (26 Jan 2011), LostED (07 Oct 2010), luky (26 Jan 2011), Mal15 (12 Mar 2011), mOBSCENE (25 Jan 2011), mr-roboto (08 Jun 2010), myluck1990 (27 Jan 2011), nasa (30 Jan 2011), nipun.narang (19 Jul 2010), nostradamus (19 Jan 2012), Phixer (16 May 2011), PHPete (21 May 2011), ponanovn (27 Apr 2010), racky29 (01 May 2011), rasputinuk (15 Mar 2011), steven4554 (24 Aug 2011), testerhn2005 (30 Oct 2011), THE ROYAL (19 Apr 2011), Tito (15 Oct 2010), tlstls (19 Mar 2011), Tom Mix (24 Feb 2011), U-Fig (04 Apr 2011), walleystone (17 Apr 2011), WCCobra (19 Jul 2010), winning (17 Mar 2011)

  3. #2
    MDL Expert genuine555's Avatar
    Join Date
    04 Oct 2009
    Location
    3rd Rock From The Sun
    Posts
    1,639
    Thanks
    2
    Thanked 28 Times in 12 Posts

    Default

    Dear admins, could this maybe be Sticky-fied ?
    He that is taught only by himself has a fool for a master

    Windows 7 Theme & Resource Mods
    Vista Style Builder Forums
    The Official Windows 7 Repository

  4. #3
    MDL Novice
    Join Date
    09 Jul 2009
    Posts
    49
    Thanks
    0
    Thanked 4 Times in 3 Posts

    Default

    Imagex /export "D:\AIO\WIMs\ULTx86.wim" 1 "D:\AIO\DVD\sources\install.wim" "Windows 7 STARTER"
    Imagex /export "D:\AIO\WIMs\ULTx86.wim" 2 "D:\AIO\DVD\sources\install.wim" "Windows 7 HOME BASIC"
    Imagex /export "D:\AIO\WIMs\ULTx86.wim" 3 "D:\AIO\DVD\sources\install.wim" "Windows 7 HOME PREMIUM"
    Imagex /export "D:\AIO\WIMs\ULTx86.wim" 4 "D:\AIO\DVD\sources\install.wim" "Windows 7 PROFESSIONAL"
    Imagex /export "D:\AIO\WIMs\ENTx86.wim" 1 "D:\AIO\DVD\sources\install.wim" "Windows 7 ENTERPRISE"
    Imagex /export "D:\AIO\WIMs\ULTx86.wim" 5 "D:\AIO\DVD\sources\install.wim" "Windows
    don`t understand why i should export the x86 again into the x86 install wim.
    this step must be a mistake

  5. #4
    MDL Member DAz999's Avatar
    Join Date
    20 May 2007
    Location
    Norway
    Posts
    123
    Thanks
    65
    Thanked 17 Times in 12 Posts

    Default Message for DKane

    DKane,

    May I refer you to this post, maybe you could help out there or may they could help you, it doesn t matter, it just seems to me that you are working in the same direction.

    Creating auto-activating DVD's-With or Without Loader

    http://forums.mydigitallife.info/showthread.php?t=9989

    Regards
    DAz999

  6. #5
    MDL Junior Member
    Join Date
    18 Sep 2009
    Posts
    63
    Thanks
    1
    Thanked 55 Times in 3 Posts

    Default

    Quote Originally Posted by btf-tribal View Post
    don`t understand why i should export the x86 again into the x86 install wim.
    this step must be a mistake
    At the start it tells you to *move* the x86 install.wim, not copy. You are making an install.wim from scratch, so the entries will be in the right order.

    Quote Originally Posted by DAz999 View Post
    DKane,

    May I refer you to this post, maybe you could help out there or may they could help you, it doesn t matter, it just seems to me that you are working in the same direction.

    Creating auto-activating DVD's-With or Without Loader

    http://forums.mydigitallife.info/showthread.php?t=9989

    Regards
    DAz999
    Well, they might be, it's hard to tell. The key point of my DVD is the ability to upgrade and repair both architectures. I don't know if such an auto-activating mechanism could be added to it, but anyone is welcome to try.
    Last edited by DKane; 04 Nov 2009 at 11:58 PM.

  7. #6
    MDL Senior Member luke's Avatar
    Join Date
    23 Jun 2007
    Posts
    298
    Thanks
    7
    Thanked 9 Times in 7 Posts

    Default

    LOL i got all the way up to

    open an administative command prompt.

    Navigate to D:\AIO\DVD

    Now make a copy of the default loader by executing:

    Code:

    bcdedit /store boot\bcd /copy {default} /d "x64 Recovery Mode"


    and then got lost from there were is there administative command prompt and how do i navigate PS i did mine C:\AIO\DVD
    Last edited by luke; 05 Nov 2009 at 01:57 AM.

  8. #7
    MDL Junior Member
    Join Date
    18 Sep 2009
    Posts
    63
    Thanks
    1
    Thanked 55 Times in 3 Posts

    Default

    Quote Originally Posted by luke View Post
    LOL i got all the way up to

    open an administative command prompt.

    Navigate to D:\AIO\DVD

    Now make a copy of the default loader by executing:

    Code:

    bcdedit /store boot\bcd /copy {default} /d "x64 Recovery Mode"


    and then got lost from there were is there administative command prompt and how do i navigate PS mine C:\AIO\DVD D drive in my dvd drive on my system
    Ok, commandline basics:

    click the windows button, and type cmd. Right click on cmd.exe when it appears, and click "run as administrator". The window that opens is an administrative prompt.

    Navigation: Switch to D drive by entering D:, then hitting enter, can switch to other drives in same way.

    use CD to change directory on a drive.

    eg, to get to D:\AIO\DVD, one would do:

    D:
    cd AIO\DVD

  9. #8
    MDL Novice
    Join Date
    06 May 2009
    Posts
    6
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Not sure what/where went wrong but only Ultimate x86 and x64 show up.

  10. #9
    MDL Novice
    Join Date
    06 May 2009
    Posts
    6
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    This time all works as advertised!!

    This time I cut and pasted all code and command line instructions/info both to and from all command windows rather than doing any typing (not one of my better skills).

    This time I deleted all ei.cfg and all *.clg files from both "sources" and "sourc64" folders.

    This time I downloaded and installed MS free utility, XML Notepad 2007, to make the needed "unattend.xml" file.

    I have not actually installed any version as of yet but repair promt shows and starts to work and all choices/versions show up. Will let you know if any problems arise.

    One official "ATTABOY" for DKane!!

  11. The Following User Says Thank You to HOGCALLER For This Useful Post:

    Kamar (07 Apr 2011)

  12. #10
    MDL Junior Member
    Join Date
    18 Sep 2009
    Posts
    63
    Thanks
    1
    Thanked 55 Times in 3 Posts

    Default

    Quote Originally Posted by HOGCALLER View Post
    Not sure what/where went wrong but only Ultimate x86 and x64 show up.
    BALLS! Forgot a step, I knew it! Delete ei.cfg from D:\AIO\DVD\sources, and D:\AIO\DVD\sourc64

    Instructions amended. Also, thankkyou hogcaller ^^ always nice to know one is appreciated.

Similar Threads

  1. Windows Vista With SP2 x32/x64 MSDN Multilanguage DVD
    By esports in forum Windows Vista
    Replies: 155
    Last Post: 16 Jan 2010, 09:20 PM
  2. Replies: 27
    Last Post: 03 Dec 2009, 05:15 AM
  3. Windows 7 PPF Edition Patches
    By damox in forum Windows 7
    Replies: 17
    Last Post: 22 Aug 2009, 10:20 AM
  4. WINDOWS 7 Multilanguage and No official ISO
    By juzzi in forum Windows 7
    Replies: 1
    Last Post: 14 Aug 2009, 05:11 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •