yeah I will change it to be more readable. EDIT: I modified it so hopefully it is more readable. Please keep me informed.
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.
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.
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.
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!
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.
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?
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
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.
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 ?
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.
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.