NEW! Windows 7 All-in-One Instructions (NO HEX EDITING)

Discussion in 'Windows 7' started by Sabresite, Nov 1, 2011.

  1. Sabresite

    Sabresite MDL Member

    Nov 7, 2007
    210
    49
    10
    #1 Sabresite, Nov 1, 2011
    Last edited by a moderator: Apr 20, 2017

    Attached Files:

  2. Sabresite

    Sabresite MDL Member

    Nov 7, 2007
    210
    49
    10
    #2 Sabresite, Nov 2, 2011
    Last edited: Nov 4, 2011
    (OP)
    Obsolete information.
     
  3. mzakho

    mzakho MDL Member

    Nov 22, 2008
    166
    73
    10
    #3 mzakho, Nov 3, 2011
    Last edited by a moderator: Apr 20, 2017
    thanks
    Is it possible to use one code instead of all if yes how can made the code

     
  4. Sabresite

    Sabresite MDL Member

    Nov 7, 2007
    210
    49
    10
    #4 Sabresite, Nov 3, 2011
    Last edited: Nov 3, 2011
    (OP)
    yeah I will change it to be more readable.


    EDIT: I modified it so hopefully it is more readable. Please keep me informed.
     
  5. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    18,681
    18,585
    340
  6. Sabresite

    Sabresite MDL Member

    Nov 7, 2007
    210
    49
    10
    Tito, I made this tutorial because his method does not have all of the features a person may be looking for. The main feature is support of installing Windows 64bit through EFI. In addition upgrading works without having to hex edit any files.
     
  7. triggat

    triggat MDL Member

    Feb 18, 2009
    199
    12
    10
    Point taken Sabersite..your method has certain new things his doesn't but his has automation on its side. It would be great if you could work with josh to incorporate these new features into the next version of his application...so that everything is automated.....just my perspective. This is what Tito meant...I believe.
     
  8. Alphawaves

    Alphawaves Super Moderator/Developer
    Staff Member

    Aug 11, 2008
    6,222
    22,280
    210
    Good work Sabresite..;)
     
  9. Sabresite

    Sabresite MDL Member

    Nov 7, 2007
    210
    49
    10
    When I get home, I will create an automated batch file. You will only need to extract the Windows 7 DVD files to specific folders.
     
  10. triggat

    triggat MDL Member

    Feb 18, 2009
    199
    12
    10
    That would be really great indeed.
     
  11. jayblok

    jayblok MDL Guru

    Dec 26, 2010
    3,199
    2,579
    120
    This is excellent!!!:worthy::worthy:
     
  12. Sabresite

    Sabresite MDL Member

    Nov 7, 2007
    210
    49
    10
    #12 Sabresite, Nov 4, 2011
    Last edited: Nov 4, 2011
    (OP)
    Everything is working automated now! I added delays to compensate for imagex's notorious Access Denied errors, and DISM's unmounting issues. If anyone has alternatives, please tell me.

    If there are any errors, bugs, or issues; I would love the feedback!
     
  13. Sabresite

    Sabresite MDL Member

    Nov 7, 2007
    210
    49
    10
    I updated the batch files to include some more delays. I also included some housekeeping in the event that there are errors. If you have errors from DISM or imagex, simply close and reopen the batch file again.
     
  14. pantagruel

    pantagruel MDL Addicted

    Aug 30, 2007
    521
    1,901
    30
    #14 pantagruel, Nov 5, 2011
    Last edited by a moderator: Apr 20, 2017
    You have a little error which prevents the script from running (32bit / 64bit):

    Code:
    :32bit
    set PATH=C:\Program Files\Windows AIK\;C:\Program Files\Windows AIK\Tools\x86\;C:\Program Files\Windows AIK\Tools\x86\Servicing;%PATH%;
    set var=C:\Program Files\Windows AIK\
    GOTO CheckInstalled
    
    :64bit
    set PATH=C:\Program Files (x86)\Windows AIK\;C:\Program Files (x86)\Windows AIK\Tools\amd64\;C:\Program Files (x86)\Windows AIK\Tools\amd64\Servicing;%PATH%;
    set var=C:\Program Files (x86)\Windows AIK\
    GOTO CheckInstalled
    This should be:

    Code:
    :64bit
    set PATH=C:\Program Files\Windows AIK\;C:\Program Files\Windows AIK\Tools\x86\;C:\Program Files\Windows AIK\Tools\x86\Servicing;%PATH%;
    set var=C:\Program Files\Windows AIK\
    GOTO CheckInstalled
    
    :32bit
    set PATH=C:\Program Files (x86)\Windows AIK\;C:\Program Files (x86)\Windows AIK\Tools\amd64\;C:\Program Files (x86)\Windows AIK\Tools\amd64\Servicing;%PATH%;
    set var=C:\Program Files (x86)\Windows AIK\
    GOTO CheckInstalled
    Everything worked OK after I fixed that.

    A question:

    How do I open the EFI firmware shell?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. sebus

    sebus MDL Guru

    Jul 23, 2008
    6,356
    2,026
    210
    Makes no sense:

    :64bit
    set PATH=C:\Program Files\Windows AIK\;C:\Program Files\Windows AIK\Tools\x86

    You chose UEFI by pressing a key as if you were to access BIOS, like F2

    sebus
     
  16. pantagruel

    pantagruel MDL Addicted

    Aug 30, 2007
    521
    1,901
    30
    Yeah, I'm a bit sloppy myself, aren't I. Anyway, there is a problem with the paths, the batch file always returned 'WAIK not installed' on my 64bit system.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. Josh Cell

    Josh Cell MDL Developer

    Jan 8, 2011
    3,515
    7,170
    120
    Well, I found in the "Files" folder, the setup.exe reffer at the Setup.exe modded ...

    This is Setup.exe is an redirector, or is an Setup.exe hex edited ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. Sabresite

    Sabresite MDL Member

    Nov 7, 2007
    210
    49
    10
    #19 Sabresite, Nov 6, 2011
    Last edited: Feb 16, 2012
    (OP)
    Update: Fixed the problem with detecting Windows AIK in a 64bit installation.

    @Josh Cell: Setup.exe is a redirector for boot.wim. The normal Setup.exe is renamed to Setup_Init.exe, and the redirector points to it.

    @its: My batch file is more complete than other solutions currently available. In addition, selecting "Windows Setup 64bit" will have the same features as the x64 recovery mode that other solutions use. Unlike regular x64 recovery mode, with Windows Setup 64bit you can install Windows (32bit or 64bit), or do repairs/recoveries. Next the naming convention is the following: GRMCHPFRER_EN_DVD for Windows 7 32bit, GRMCHPXFRER_EN_DVD for Windows 7 64bit, GSP1RMCHPFRER_EN_DVD for Windows 7 32bit with SP1, GSP1RMCHPXFRER_EN_DVD for Windows 7 64bit with SP1. I therefore use GRMCHPAFRER_EN_DVD and GSP1RMCHPAFRER_EN_DVD to denote All-in-One.
    I have also never created a WORKING bootable flash drive, so I am not sure what is needed for that sorry. My instructions are for a traditional single-layer DVD.

    @pentagruel: The batch file should be fixed, I uploaded a new one.

    @sebus: On an EFI/BIOS hybrid, this is true and with my solution you can use either to install. For motherboards with ONLY EFI, it will not give you a Windows Setup menu and simply boot to Windows Setup 64bit by default.
     
  19. triggat

    triggat MDL Member

    Feb 18, 2009
    199
    12
    10
    #20 triggat, Nov 6, 2011
    Last edited: Nov 6, 2011
    The most recent updated version works flawlessly in both x86, x64 machines...thank you sabresite! What I love is that you can alter the script to suite your personal needs.