Windows 8 AIO x64 and x86 project.

Discussion in 'Windows 8' started by murphy78, Jan 24, 2013.

  1. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,389
    11,614
    240
    OK, so I want so sort-of mimic Josh Cell's AIO results, but with windows 8.
    We can use easybcd to add a boot.wim for x64 recovery mode,
    but how exactly do we split the sources folder for upgrade mode?

    Obviously I could toss everything in the same folder, but that won't work, because you need the install.wim
    in the regular sources folder or the whole thing would be about 50% too big.

    Is anyone aware of any setupx64.exe with source64 type of mod similar to what Josh does for vista and win7?
    I figure you would need to perhaps disassemble and re-point all the files except install.wim to source64.
    Then re-compile and add the new setupx64.exe to autorun.inf

    Forgive me if people have already discussed this. I have searched on the issue and could not find any results.
    I'm not a good programmer. I've never done any sort of disassembling.
    Could anyone help me on this small project?
     
  2. Flipp3r

    Flipp3r MDL Expert

    Feb 11, 2009
    1,964
    907
    60
    Build a multi-boot winpe. 32 & 64bit wims. Lets you boot legacy(bios) & uefi.
    Just change to your install folder & run setup manually. Or write some scripts.

    ie, Install_win8_Bios.cmd
    if %processor_architecture% == AMD64 \Windows8.x64\setup /unattend:%PTH%Files\Unattend-BIOS.xml
    if %processor_architecture% == x86 \Windows8.x86\setup /unattend:%PTH%Files\Unattend-BIOS.xml
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,389
    11,614
    240
    Just change to my install folder & run setup manually?
    I'm trying to make an AIO for x86 and x64 using the same install.wim

    I can easily add the x64 boot to bcd with easybcd, I'm trying to figure out how to have both x64 and x86 setup files on the same dvd.
    Josh Cell Softwares modifies the setup.exe from an x64 dvd and changes it to setup64, puts the x64 versions of the sources files in a source64 directory. (they have the same filenames as x86 ones)
    But I can't just have 2 install.wim files because the dvd would be huge. Of course it wouldn't be too difficult to move every single x64 file to a different directory.

    Josh modifies it to point all the x64 stuff to source64 except install.wim, which remains pointed to sources.
    I'm trying to make an AIO x86 and x64 dvd that has both x64 recovery (x64 boot.wim) and x64 upgrade (setup64.exe and source64 without a double install.wim)
     
  4. HALIKUS

    HALIKUS MDL Addicted

    Jul 29, 2009
    526
    371
    30
    As long as you have bootmgr and bootmgr.efi in the root of the dvd, the boot dir, the efi dir, and a sources directory with a boot.wim, install.wim and a setup.exe then you can do this.

    Make dirs in sources called w7x86, w7x64, w8x86, w8x64 (ie : DVD\sources\w7x86) and copy the contents of the respective sources directory to w7x86 minus the install.wim. So, if you wanted to upgrade win 7 x86 copy the win7 x86 sources folder (minus the install.wim) to DVD\sources\w7x86. Repeat with win8 and win7 x64 if you want also.

    Then, while booted into windows or a windows PE run this command, assuming the extracted dvd is in c:\DVD.

    c:\dvd\sources\w7x86\setup.exe /installfrom:c:\dvd\sources\install.wim /unattend:c:\dvd\autounattend.xml

    You only need 1 copy of install.wim, but would need multiple boot.wims, one in sources (any OS, any Arch), and the proper one inside c:\dvd\sources\w7x86. If you are going to burn this to a DVD, you COULD use multiple install.wims in the different directories if they are all 100% the same, as the dvd will only archive 1 instance of it and then index the others.
     
  5. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,389
    11,614
    240
    OOH! Finally a real lead! I will DEFINITELY try this out and see if I cannot get something worked up. It's not as good as defaulting to certain directories, but it's a hell of a lot easier than learning all about disassembling and recompiling.
    Thanks so much HALIKUS, I'm sure I'll report progress here.
     
  6. Flipp3r

    Flipp3r MDL Expert

    Feb 11, 2009
    1,964
    907
    60
    Why would you want it on dvd? USB3 keys are so cheap & fast these days. If your adding drivers & windows updates to install.wim, it easily becomes greater than 4gb.
    If you want to be able to boot uefi, then you'd have to split install.wim...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,389
    11,614
    240
    I am just trying to get an AIO for x64 and x86 on the same disk. I know how to add the boot.wim to the bcd file, I was just trying to get the setup files for manual install on the x64 stuff sorted out.
    As far as why use dvd; I don't. I often post my stuff on TPB, and not everyone uses flash drives. I think I'm going to try having the source64 folder and just use autorun to point at the setup file with the /installfrom command. I haven't worked on it yet. I was busy trying to help get the $oem$ folder for kmsnano going and doing a few integrations.
     
  8. Pareto Optimal

    Pareto Optimal MDL Senior Member

    Jun 2, 2012
    258
    16
    10
    Doesn't Josh's app do this for you including x64 recovery?


     
  9. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,389
    11,614
    240
    It doesn't modify the setup file to point at source64 and do all this stuff automatically for windows 8, no. It does do it for vista and windows 7.
     
  10. Pareto Optimal

    Pareto Optimal MDL Senior Member

    Jun 2, 2012
    258
    16
    10
    I'm making a 7 AIO disc and an 8 AIO disc. I using an mdl script to check the slic in the BIOS to install the correct OEM info, colors, themes, etc..
    Do I need slic 2.1 or is slic 2.0 OK?
    I'm using this on laptops anywhere from 1990 to 2010. I don't know which slics I'll find on them.
    Thanks
     
  11. redroad

    redroad MDL Guru

    Dec 2, 2011
    5,326
    6,043
    180
    Slic 2.0 is Vista and Slic 2.1 is W 7 that being said some Slic 2.0 did work with W7 and required no bios mod .. I believe however Slic 2.1 is backwards compatible for slic so Slic 2.1 would be your safe bet ..
     
  12. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    18,681
    18,587
    340
    Impossible... you may be confused with cert.

    :rolleyes:
     
  13. redroad

    redroad MDL Guru

    Dec 2, 2011
    5,326
    6,043
    180
    #15 redroad, Jul 21, 2013
    Last edited: Jul 21, 2013
    If you know then please explain :rolleyes:

    So if the question is
    and the op is making a W7 AIO then the better choice would be Slic 2.1 would it not ?

    and what part of what I said is wrong?
     
  14. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    18,681
    18,587
    340
  15. redroad

    redroad MDL Guru

    Dec 2, 2011
    5,326
    6,043
    180
  16. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    18,681
    18,587
    340
    Obviously SLIC 2.1 is better.

    I highlighted the wrong portion with red.

    :hug2:
     
  17. redroad

    redroad MDL Guru

    Dec 2, 2011
    5,326
    6,043
    180
    Ahh .. Now I understand what you are saying .. So if the marker part of Slic is 2.0 then only Vista can be installed is that correct unless SLP 1.0 is present also ? :hug2:
     
  18. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,331
    7,048
    210
    SLP 1.0 = XP
    SLP 2.0 = Vista
    SLP 2.1 = 7
    SLP 2.2 = Server 2012

    That simple. SLP 2.1 is downwards compatible to 2.0, but not the other way around. Dunno about 2.2.