Windows x86 and x64 AIO, full instructions

Discussion in 'Windows 7' started by DKane, Nov 4, 2009.

Thread Status:
Not open for further replies.
  1. DKane

    DKane MDL Junior Member

    Sep 18, 2009
    63
    63
    0
    Wow, I'd forgotten about this thread! Now that SP1 is out, I'm in the process of slipstreaming it, and I came back to check up on MDL. Thanks for all the feedback, sorry I abandoned you, and I've edited my post to let people know about the /m:sourc64 thing for SP1.
     
  2. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,634
    1,654
    150
    No worries :p

    Good to see ur back hehe.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. uragano47812

    uragano47812 MDL Novice

    Nov 25, 2007
    38
    1
    0
    hello i have read all the fantastic guide and done all the process but i have a problem i can't do this:

    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.

    Because i have open the setup64.exe but searching there isn't sources\

    Instead all done on next file ( .dll)

    Is it a problem or is it only for upgrade proccess?

    P.S. I'm using the last iso with sp1 integrated downloaded in this forum. (ita language)

    Let me know thanks
     
  4. its

    its MDL Junior Member

    Sep 13, 2007
    86
    0
    0
    Please do

    I made a SP1 AIO with recovery etc... cannot fit into a 4GB USB at all.. tried couple of times..
     
  5. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,634
    1,654
    150
    Ill see if I can do that:)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,634
    1,654
    150
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. ancient

    ancient MDL Junior Member

    Oct 11, 2009
    52
    2
    0
    For those of us who are not as young...or good with hex editors etc...is there a pre made torrent of this anywhere?

    Thanks guys.
     
  8. Nuix

    Nuix MDL Novice

    Feb 18, 2011
    1
    0
    0
    Can you elaborate more?
    Alter the autorun.dll in the sourc64 folder?

     
  9. U-Fig

    U-Fig MDL Member

    May 14, 2010
    173
    65
    10
    might be useful to update your topicstart

    thanks for this one, created an AIO by just dumping all images into install.wim, works as well, but just for installing as i do not upgrade systems, clean install FTW

    might be handy to have just in case,...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. Kamar

    Kamar MDL Junior Member

    Dec 24, 2009
    91
    17
    0
    Thanks to DrKane and all other for excellent tutorial and advice.

    I Downloaded the AIK 1.66GB , with help with IDM.. I cut and pasted the commands , with ease and they worked flawlessly.


    " Now first open D:\AIO\DVD\setup64.exe in your hex editor. Search and replace all instances of the unicode string "sources\" with "sourc64\"" .
    My setup.exe from x64 did not have a"sources\" string. that stopped me. then after reading I realized it was for only x64 images . I was only interested in X86. so I skipped all the associated work with it.

    I have digital river retail pro win7, which would not install and would quit after 20% expanding. Then I got a dvd from market which had Ultimate X86 & X64 and nothing else.

    The thread greatly informed and educated me, I was able to extract all 5 editions from my digital river dvd and made a AIO.

    However each edition from starter to Ultimate quit at about 20% expanding. So I thought about it figured that first 20 % of my Install.win from digital river is corrupt but may be the rest is ok.
    I used the install.wim from the market dvd to first install the Ultimate image in the new wim, then exported all 5 indexes from the digital river install.wim.

    I tried , the dvd had 6 options to choose , first was the ultimate from the market, then other 5 starter to ultimate from digital river . I installed all via USB, they all worked .

    Then I used this Install.wim and exported the 5 indexes from starter to Ultimate and got an AIO.

    I again installed each edition from the USB , and was able to install all. So thank you all for the great help and education.

    I had downloaded the SP1 fro MS site 1.66 GB . It had all 3 SP1 images . x64 , x86 , x 64 It.

    I thought it would be simple task to ingrate it like XP. Then I searched the forum and found the thread about slip streaming SP1 in to win7. Nice info there. I tried the updated Guide by Raoul. I read and reread , and finally I realized that the excellent Mr Raoul had written only updates just one index in the Install.wim.

    So I slowly loaded all 5 indexes one by one and integrated the SP1 in each and saved the Install.wim. I now had 5 Install.wim files with each just one Index in it.

    Then I came back to AIK command window and exported the 5 indexes one by one and making and AIO.

    Worked perfectly and now I have my win 7 x86 SP1 AIO .iso

    I booted from usb and installed all 5 editions one by one and they work and are SP1. So thanks again for education and pointing towards a great tool WAIK , without which It would not be possible.

    09:32 4/6/2011
    Imagex /export "C:\AIO\WIMs\Install1.wim" 1 "C:\AIO\DVD\sources\install.wim" "Windows 7 STARTER"
    Imagex /export "C:\AIO\WIMs\Install2.wim" 1 "C:\AIO\DVD\sources\install.wim" "Windows 7 HOME BASIC"
    Imagex /export "C:\AIO\WIMs\Install3.wim" 1 "C:\AIO\DVD\sources\install.wim" "Windows 7 HOME PREMIUM"
    Imagex /export "C:\AIO\WIMs\Install4.wim" 1 "C:\AIO\DVD\sources\install.wim" "Windows 7 PROFESSIONAL"
    Imagex /export "C:\AIO\WIMs\Install5.wim" 1 "C:\AIO\DVD\sources\install.wim" "Windows 7 ULTIMATE"

    oscdimg.exe -l7_AIO -t10/22/2009:00:00 -m -u2 -bC:\AIO\DVD\Boot\etfsboot.com C:\AIO\DVD C:\Win7x86SP1_AIO.ISO


    10:48 4/6/2011

    Updating path to include dism, oscdimg, imagex

    C:\Program Files\Windows AIK\Tools\PETools\
    C:\Program Files\Windows AIK\Tools\PETools\..\x86
    C:\Program Files\Windows AIK\Tools\PETools\..\x86\Servicing;


    C:\Program Files\Windows AIK\Tools\PETools>Imagex /export "C:\AIO\WIMs\Install1. wim" 1 "C:\AIO\DVD\sources\install.wim" "Windows 7 STARTER"

    ImageX Tool for Windows Copyright (C) Microsoft Corp. All rights reserved. Version: 6.1.7600.16385

    Exporting: [C:\AIO\WIMs\Install1.wim, 1] -> [C:\AIO\DVD\sources\install.wim]

    [ 100% ] Exporting progress .Successfully exported image #1. Total elapsed time: 1 min 15 sec


    C:\Program Files\Windows AIK\Tools\PETools>Imagex /export "C:\AIO\WIMs\Install2. wim" 1 "C:\AIO\DVD\sources\install.wim" "Windows 7 HOME BASIC"

    ImageX Tool for Windows Copyright (C) Microsoft Corp. All rights reserved. Version: 6.1.7600.16385

    Exporting: [C:\AIO\WIMs\Install2.wim, 1] -> [C:\AIO\DVD\sources\install.wim]

    [ 100% ] Exporting progress . Successfully exported image #1. Total elapsed time: 3 sec


    C:\Program Files\Windows AIK\Tools\PETools>Imagex /export "C:\AIO\WIMs\Install3. wim" 1 "C:\AIO\DVD\sources\install.wim" "Windows 7 HOME PREMIUM"

    ImageX Tool for Windows Copyright (C) Microsoft Corp. All rights reserved. Version: 6.1.7600.16385

    Exporting: [C:\AIO\WIMs\Install3.wim, 1] -> [C:\AIO\DVD\sources\install.wim]

    [ 100% ] Exporting progress Successfully exported image #1. Total elapsed time: 3 sec



    C:\Program Files\Windows AIK\Tools\PETools>Imagex /export "C:\AIO\WIMs\Install4. wim" 1 "C:\AIO\DVD\sources\install.wim" "Windows 7 PROFESSIONAL"

    ImageX Tool for Windows Copyright (C) Microsoft Corp. All rights reserved. Version: 6.1.7600.16385

    Exporting: [C:\AIO\WIMs\Install4.wim, 1] -> [C:\AIO\DVD\sources\install.wim]

    [ 100% ] Exporting progress Successfully exported image #1. Total elapsed time: 3 sec


    C:\Program Files\Windows AIK\Tools\PETools>Imagex /export "C:\AIO\WIMs\Install5. wim" 1 "C:\AIO\DVD\sources\install.wim" "Windows 7 ULTIMATE"

    ImageX Tool for Windows Copyright (C) Microsoft Corp. All rights reserved. Version: 6.1.7600.16385

    Exporting: [C:\AIO\WIMs\Install5.wim, 1] -> [C:\AIO\DVD\sources\install.wim]

    [ 100% ] Exporting progress Successfully exported image #1. Total elapsed time: 2 sec


    C:\Program Files\Windows AIK\Tools\PETools>oscdimg.exe -l7_AIO -t10/22/2009:00:0 0 -m -u2 -bC:\AIO\DVD\Boot\etfsboot.com C:\AIO\DVD C:\Win7x86SP1_AIO.ISO

    OSCDIMG 2.55 CD-ROM and DVD-ROM Premastering Utility Copyright (C) Microsoft, 1993-2007. All rights reserved. Licensed only for producing Microsoft authorized content.

    Scanning source tree (500 files in 48 directories) Scanning source tree complete (868 files in 201 directories)

    Computing directory information complete. Image file is 3114598400 bytes

    Writing 868 files in 201 directories to C:\Win7x86SP1_AIO.ISO

    100% complete . Final image file is 3116785664 bytes
     
  11. jabbah

    jabbah MDL Novice

    Apr 5, 2011
    17
    0
    0
    I haven't these string (ita version) :confused:
     
  12. MrFaust

    MrFaust MDL Novice

    Jul 27, 2009
    23
    1
    0
    #134 MrFaust, May 15, 2011
    Last edited by a moderator: Apr 20, 2017
    Thank you OP for this post. I've been looking to add the Recovery portion to my iso.
    In the original post you put that after getting the GUID you can do the following commands to add the x64 recovery
    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}
    
    So I'm curious if doing the following will add the x86 recovery since the boot.wim in the sources folder is x86
    Code:
    bcdedit /store boot\bcd /set {GUID} device ramdisk=[boot]\sources\boot.wim,{7619dcc8-fafe-11d9-b411-000476eba25f}
    bcdedit /store boot\bcd /set {GUID} osdevice ramdisk=[boot]\sources\boot.wim,{7619dcc8-fafe-11d9-b411-000476eba25f}
    
    Hopefully it will. I would like to be able to do setup, both version of recovery and maybe an x86 and an x64 PE

    edit:: after i ran the command...
    Code:
    bcdedit /store boot\bcd /copy {default} /d "x86 Recovery Mode"
    
    and then ran the commands with the new {GUID}, it did make an entry for the x86 Recovery. I have yet to test either of the x64 or x86 but I'm pretty sure that will work.
     
  13. Dionysos

    Dionysos MDL Novice

    Sep 22, 2008
    8
    0
    0
    #135 Dionysos, May 17, 2011
    Last edited: May 17, 2011
    same problem with the german version...

    I used Windows 7 Ultimate with SP 1 (x64) + (x86) (German) from MSDN, not slipstreamed myself. I guess these strings only work for the english version. Until this step everything worked perfectly, now I'm stuck. :(

    Maybe I just have to use an english version and include the language pack, or are there signs for a solution?

    Kind regards, Dionysos

    Edit:
    I just read through the thread...
    How do I alter the autorun.dll to point to lunch.exe? Only alter the autorun.dll in sources folder or also in sourc64?
    Thanks in advance!
     
  14. Error_801

    Error_801 MDL Junior Member

    Jul 31, 2009
    87
    28
    0
    #136 Error_801, May 17, 2011
    Last edited: May 17, 2011
    hex editor. Search and replace all instances of the unicode string "sources\" with "sourc64\".
    Now, open D:\AIO\DVD\sourc64\autorun.dll, and replace all instances of the unicode string "sources\setup.exe" with "sourc64\lunch.cmd"

    use HxD hex editor easy to use goto Search and replace

    whoops you reading a later post :eek:
     
  15. Dionysos

    Dionysos MDL Novice

    Sep 22, 2008
    8
    0
    0
    I think I managed it with the updated instructions:

    Stage 1: except "copy the setup.exe from the x64 DVD to D:\AIO\DVD as setup64.exe"

    Stage 2: done

    Stage 3: done

    Stage 4: Open "D:\AIO\DVD\sources\autorun.dll" in your hex editor. Search and replace all instances of the unicode string "sources\setup.exe" with "sources\lunch.exe".
    Place the file lunch.exe in "D:\AIO\DVD\sources\".
    Now, finally, we're ready to master a DVD. Open up the deployment tools command prompt, and enter:
    "oscdimg.exe -l7_AIO -t10/22/2009:00:00 -m -u2 -bD:\AIO\DVD\Boot\etfsboot.com D:\AIO\DVD D:\7_AIO.ISO"

    I think it worked, have to try it though. Thanks!
     
  16. jabbah

    jabbah MDL Novice

    Apr 5, 2011
    17
    0
    0
    The guide has been updated with a series of changes proposed in the thread?
     
  17. JUSTANOTHERUSER

    JUSTANOTHERUSER MDL Novice

    Jan 25, 2010
    11
    5
    0
    #139 JUSTANOTHERUSER, May 30, 2011
    Last edited: May 30, 2011
    I have several aio dvds I have made. One is with just win7 x86 and x64 variants. The other is with x86,x64 and server 2008. These worked fine. I then attempted to make one with x86sp1,x64sp1,and server 2008r2, but the iso was bigger than 4.7 gis, so I had to use cdimage latest version instead of OSCDIMG. OSCDIMG gave me file size error. I created the image, but when I attempted to install it, it only showed x64 and x86 Win 7 Ultimate and not server or other variants of Win 7 on the install menu OS choices. I have the MSDN Win 7 with sp1 preinstalled in image, if that matters. My understanding is that this guide is for x86 and x64 Win 7 and does not include Server 2008. I saw Sams guide, which includes Server 2008. The end result I am trying to accomplish is this:

    1. Create an AIO Win 7 (all variants) x86sp1, x64sp1,Server 2008 r2 with recovery for x86 and x64 Win 7 and after successfully doing,

    2. Then adding preactivation to it and TEST TEST TEST nad report back my results.

    Is this possible, due to file size probably being over 4 gb (4.63 GB was my iso size)? I even tried with imgburn, due to udf format it does, but still only show Ultimate x86 and x64. I think I deleted the ei.cfg file (of boy, let me double check). If not possible, then what would an experience member here recommend. I will continue reading threads. I am just not sure if I should use Sams guide or this guide or some other guide. I did search this specific thread for "Server 2008 r2", but it did not reveal any post. Thanks to all for all your help. Am I wanting something that is not possible right now.

    Would it be improper for me to post these questions in Sam's thread as well. I think yes, because if I double post, the experience MDL gurus will probably see both threads anyway, which may make them upset with me, so I guess I answered my own question, lol.



    Edit: Ok, I had not deleted the ei.cfg file. I did that and now I see 17 versions of Windows on the install list. The only ones I need to add are Windows 7 Enterprise x86/x64 and WHS 11. Is there an easy way to just add these only without redoing the whole thing. I imagine just extracting the wims of those and rebuilding and then using cdimage to remake iso. Is preactivation possible with ALL the versions I want to have on here and what drawbacks are there to dual layer dvd AIO, aside from not having a dvd drive? I imagine if DAZ loader supports it, then probably. Maybe I can't add WHS 11 on it, because it would be over a dual layer dvd I think. Anyone integrate WHS 11 yet into AIO? I also think these are sp1 installs. I am installing Ultimate x64 and will post back Sunday sometime. These are what I have on my dvd right now:

    Windows 7 Starter x86 sp1
    Windows 7 Home Basic x86 sp1
    Windows 7 Home Premium x86 sp1
    Windows 7 Professional x86 sp1
    Windows 7 Ultimate x86 sp1
    Windows 7 Home Basic x64 sp1
    Windows 7 Home Premium x64 sp1
    Windows 7 Professional x64 sp1
    Windows 7 Ultimate x64 sp1
    Windows Server 2008 R2 Standard (Full Installation) x64
    Windows Server 2008 R2 Standard (Server Core Installation) x64
    Windows Server 2008 R2 Enterprise (Full Installation) x64
    Windows Server 2008 R2 Enterprise (Server Core Installation) x64
    Windows Server 2008 R2 Data Center (Full Core Installation) x64
    Windows Server 2008 R2 Data Center (Server Core Installation) x64
    Windows Server 2008 R2 Web Server (Full Installation) x64
    Windows Server 2008 R2 Web Server (Server Core Installation) x64

    I tried to attach img link, but not enough post, I guess. Here are thumbnails. Do mods prefer image tag or attachments?

    sshot-1.jpg
    sshot-2.jpg
    sshot-3.jpg
     
  18. taz742

    taz742 MDL Novice

    Jul 24, 2011
    2
    2
    0
    Could you re-upload lunch.exe because the link is dead?
    Thanks in advance.