[RESEARCH] Windows XP SP3 Sysprep and install from install.wim using Windows 7 setup?

Discussion in 'Windows XP / Older OS' started by George King, Jan 5, 2021.

  1. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,468
    60
    #1 George King, Jan 5, 2021
    Last edited: Jan 10, 2021
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. WindowsMyStyle

    WindowsMyStyle MDL Member

    May 2, 2018
    175
    71
    10
    the only method I have found and tried in the past is with panther xp, but personally it sucks !!!
    I tried to simply start install.wim with Vista or Seven boot but it doesn't work.
     
  3. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,468
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,468
    60
    #4 George King, Jan 5, 2021
    Last edited: Jan 5, 2021
    (OP)
    Installed Windows XP SP Professional, added need files and changed boot.ini. Reboot and it seems work. Then I captured image to test setup with Windows 7 setup engine.
    Instalation failed on Installing features with this error 0xC0000005
    Code:
    2021-01-05 21:47:13, FatalError [0x090001] PANTHR Exception (code 0xC0000005: ACCESS_VIOLATION) occurred at 0x7423F848 in X:\Sources\WinSetup.dll (+000DF848).  Minidump attached (65310 bytes).
    

    EDIT: With Vista RTM setup cannot read install.wim, so this needs research with Windows 7 Setup Engine

    EDIT2: If I tried to boot applied image with Windows 7 Setup, after click on error and reboot I got bootmgr is missing error - thats weird as bootmgr is present on C:\
    I tried to boot to PE and execute these commands to fix it, but nothing works
    Code:
    bootrec /fixmbr
    
    bootrec /fixboot
    
    bootrec /rebuildbcd
    
    EDIT3: boot.ini file was missing on deploeyd Windows, I added them, but bootmgr is still missing and I don't know how to fix it

    Any ideas? Maybe @abbodi1406 will be interested?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,445
    92,445
    340
    I'm not XP guy, nor have knowledge in these impossible things :)
     
  6. TigTex

    TigTex MDL Senior Member

    Oct 5, 2009
    479
    388
    10
    Windows FLP is based on XP embedded SP2 and it uses an install.wim based installer instead of the legacy installer from DOS era. Maybe you can try to play with it.
     
  7. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,468
    60
    #7 George King, Jan 5, 2021
    Last edited: Jan 6, 2021
    (OP)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,468
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,468
    60
    I tried Windows 10 setup engine form Windows 7 PE to see if same 0xC0000005 error appers. Yes same unexcpected crash appears.
    This also means it can be installed from ESD if error 0xC0000005 in winsetup.dll can be patched to terminate directly, it can be done
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. vanelle

    vanelle MDL Expert

    Sep 22, 2014
    1,560
    1,509
    60
    sorry but why the hell you want port winxp setup iso to a wim based setup (this in absolutely nonsense in my eyes)
     
  11. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,468
    60
    Quick setup and AIO with install.wim / install.esd that fit CD. Also easy HDD partitioning
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. TigTex

    TigTex MDL Senior Member

    Oct 5, 2009
    479
    388
    10
    Just remember that windows xp does the hardware configuration part during the initial setup. If you use install.wim, that initial setup is skipped so it's most likely that you will have BSOD 0x7B every time you deploy a image because you are lacking the correct storage drivers. Vista and windows FLP are the first ones that are designed to work with install.wim in different systems. With XP you can only do that if you capture an image and deploy it on the same machine. Unless you can find a way to port the windows FLP initial setup process to windows xp
     
  13. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,468
    60
    #13 George King, Jan 6, 2021
    Last edited: Jan 7, 2021
    (OP)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,468
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,468
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,468
    60
    @ma.prezentalok
    Thanks for info.

    1) XP2ESD have working solution for detecting correct HALs and Kernels during first boot. So already solved using modded Longhorn NTLDR. And we don't use real XP sysprep, but customized MyFactory project turned into "auto-sysprep"
    2) Images created by XP2ESD are booted trough bootmgr + BCD + NTLDR. To boot using winload.exe are needed some steps to be finished, but it's doable using winload.exe v6.0.6001.16497 (longhorn_beta3.070330-1720). This new option will be part of XP2ESD v1.6
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...