[TOOL] XP2ESD - Create modern Windows XP installer v1.6.2

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

  1. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,454
    60
    @UsefulAGKHelper Most of options in settings.ini are loaded from config.ini. There are only few thats not.
    Code:
    Timeout
    SetupType
    PartitionID
    UnattendedFile
    BootPartition
    ModernUEFIBoot
    QuibbleUEFIBoot
    DebugMode
    According to this list I can add Timeout, DebugMode and maybe PartitionID, they are really safe to configure (except PartitionID). All others are for advanced users, I hope they can edit settings.ini on the fly without need to rebuilding ISO. Also other options in list are not finished or doesn't work as expected. Thats reason why they are not in config.ini.
    I don't like providing configurable options for non-working settings.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. LiftyShifty

    LiftyShifty MDL Novice

    Mar 28, 2016
    9
    0
    0
    After trying again, I deleted the first one and made another one; It ended up booting to Windows 7 (!?!?!)

    Trying again a 3rd time, ends in failure with the following errors.

    ERROR: The parameter is incorrect.
    The system cannot find the file specified.
    ERROR: The system cannot find the file specified.
    Access is denied.
     
  3. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,454
    60
    I have added these three new options into config.ini for v1.6.1
    Timeout, DebugMode and maybe PartitionID
     
    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,454
    60
    #1524 George King, Aug 12, 2022
    Last edited: Aug 12, 2022
    (OP)
    And v1.6.1 now brings 100% support for OOBE on Windows XP x64 :)

    I think it can be enebled in similar way on 2003, but according to 18 different languages, it will be more time consuming. If it comes to 2003, then only after v1.6.1. Current release plan is for 18.8.2022
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,454
    60
    I need more info to debug. Best to copy your XP2ESD console output and upload logs. Without this I have no idea whats wrong.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. MilkChan

    MilkChan MDL Senior Member

    Mar 8, 2020
    430
    236
    10
    Will it be enabled on Server 2003 x86 too?

    I edited UpdatePacks 7th time to check for missing Registry.
    and string to string and I send it in PM to you.
     
  7. LiftyShifty

    LiftyShifty MDL Novice

    Mar 28, 2016
    9
    0
    0


    Started on Thu 08/11/2022 at 17:50:34.83
    Auto-Sysprep progress: 1 / 2

    [1] Extracting en_windows_xp_home_with_service_pack_3_x86_cd_x14-92413.iso
    Windows XP Home (en-US) SP3 v5.1.2600.5512
    [2] Integrating UpdatePack
    [3] Adding Auto-Sysprep
    [4] Building ISO
    [5] Installing into VirtualBox
    [6] Extracting VHD
    Windows XP Home (en-US) SP3 v5.1.2600.6532
    [7] Capturing image
    [8] Exporting image
    Started on Thu 08/11/2022 at 18:09:45.58
    Auto-Sysprep progress: 2 / 2

    [1] Extracting en_windows_xp_professional_with_service_pack_3_x86_cd_x14-80428.iso
    Windows XP Professional (en-US) SP3 v5.1.2600.5512
    [2] Integrating UpdatePack
    [3] Adding Auto-Sysprep
    [4] Building ISO
    [5] Installing into VirtualBox
    [6] Extracting VHD
    Windows XP Professional (en-US) SP3 v5.1.2600.6532
    [7] Capturing image
    [8] Exporting image


    Started on Thu 08/11/2022 at 18:29:54.88
    Windows XP Modern Installer

    [1] Extracting
    en_windows_7_ultimate_with_sp1_x86_dvd_u_677460.iso
    Win10_21H2_English_x32.iso
    [2] Building setup structure
    Building bootloader
    Adding DriverPacks support
    Adding Office folder
    Adding Setup folder
    Adding Themes
    Adding Fonts
    Adding Wallpapers
    [3] Upgrading setup engine
    Integrating setup drivers
    ERROR: The system was unable to find the specified registry key or value.
    ERROR: The parameter is incorrect.
    ERROR: The system cannot find the path specified.
    C:\Users\LIFTYS~1\AppData\Local\Temp\boot\Windows\Boot\DVD\PCAT\bcd.log*: The system cannot find the path specified.
    The system cannot find the path specified.
    ERROR: The system cannot find the file specified.
    C:\Users\LIFTYS~1\AppData\Local\Temp\boot\sources\*.*: The system cannot find the path specified.
    ERROR: The system cannot find the path specified.
    C:\Users\LIFTYS~1\AppData\Local\Temp\boot\sources\recovery\*.*: The system cannot find the path specified.
    The system cannot find the file specified.
    The system cannot find the file specified.
    The system cannot find the file specified.
    The system cannot find the file specified.
    The system cannot find the file specified.
    ERROR: The system cannot find the file specified.
    C:\Users\LIFTYS~1\AppData\Local\Temp\boot\setup.exe: The system cannot find the file specified.
    [4] Patching setup design
    ERROR: The system cannot find the file specified.
    C:\Users\LIFTYS~1\AppData\Local\Temp\boot\Windows\System32\setup.bmp: The system cannot find the file specified.
    ERROR: The system cannot find the path specified.
    C:\Users\LIFTYS~1\AppData\Local\Temp\boot\Windows\system32\drivers\acpi.sys: The system cannot find the path specified.
    The system cannot find the file specified.
    [5] Modifying setup launch
    ERROR: The system was unable to find the specified registry key or value.
    ERROR: The parameter is incorrect.
    ERROR: The parameter is incorrect.
    ERROR: The system was unable to find the specified registry key or value.
    ERROR: The system was unable to find the specified registry key or value.
    ERROR: The parameter is incorrect.
    ERROR: The parameter is incorrect.
    ERROR: The parameter is incorrect.
    ERROR: The parameter is incorrect.
    ERROR: The parameter is incorrect.
    ERROR: The parameter is incorrect.
    ERROR: The parameter is incorrect.
    ERROR: The parameter is incorrect.
    ERROR: The parameter is incorrect.
    C:\Users\LIFTYS~1\AppData\Local\Temp\boot\Windows\System32\Dism\en-US\CbsProvider.dll.mui - Access is denied.
    C:\Users\LIFTYS~1\AppData\Local\Temp\boot\Windows\System32\Dism\en-US\CompatProvider.dll.mui - Access is denied.
    C:\Users\LIFTYS~1\AppData\Local\Temp\boot\Windows\System32\Dism\en-US\DmiProvider.dll.mui - Access is denied.
    C:\Users\LIFTYS~1\AppData\Local\Temp\boot\Windows\System32\Dism\en-US\IntlProvider.dll.mui - Access is denied.
    C:\Users\LIFTYS~1\AppData\Local\Temp\boot\Windows\System32\Dism\en-US\OSProvider.dll.mui - Access is denied.
    C:\Users\LIFTYS~1\AppData\Local\Temp\boot\Windows\System32\Dism\en-US\SmiProvider.dll.mui - Access is denied.
    C:\Users\LIFTYS~1\AppData\Local\Temp\boot\Windows\System32\Dism\en-US\UnattendProvider.dll.mui - Access is denied.
    C:\Users\LIFTYS~1\AppData\Local\Temp\boot\Windows\System32\Dism\en-US\WimProvider.dll.mui - Access is denied.
    C:\Users\LIFTYS~1\AppData\Local\Temp\boot\Windows\System32\en-US\advapi32.dll.mui - Access is denied.
    C:\Users\LIFTYS~1\AppData\Local\Temp\boot\Windows\System32\en-US\ci.dll.mui - Access is denied.
    C:\Users\LIFTYS~1\AppData\Local\Temp\boot\Windows\System32\en-US\crypt32.dll.mui - Access is denied.
    C:\Users\LIFTYS~1\AppData\Local\Temp\boot\Windows\System32\en-US\lsasrv.dll.mui - Access is denied.
    C:\Users\LIFTYS~1\AppData\Local\Temp\boot\Windows\System32\en-US\winload.exe.mui - Access is denied.
    C:\Users\LIFTYS~1\AppData\Local\Temp\boot\Windows\System32\en-US\winresume.exe.mui - Access is denied.
    [7] Compressing boot.wim

    "C:\Users\LiftyShifty\Documents\ESD\_output\sources\boot.wim" original size: 133089 KiB
    Using LZX compression with 32 threads
    Archiving file data: 371 MiB of 371 MiB (100%) done
    "C:\Users\LiftyShifty\Documents\ESD\_output\sources\boot.wim" optimized size: 131159 KiB
    Space saved: 1930 KiB

    [8] Updating install.wim
    The system cannot find the file specified.
    1. Windows XP Home (en-US) x86
    Integrating drivers
    License files check
    The system cannot find the file specified.
    Applying RunOnceEx icon patch
    Applying RunOnceEx dialog patch
    Adding patched ACPI.sys
    Repacking sp3.cab
    2. Windows XP Professional (en-US) x86
    Integrating drivers
    License files check
    The system cannot find the file specified.
    Applying RunOnceEx icon patch
    Applying RunOnceEx dialog patch
    Adding patched ACPI.sys
    Repacking sp3.cab
     
  8. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,454
    60
    @LiftyShifty
    This means it failed in mounting boot.wim image, there is probably mounted another broken image from your previous run. Just unmount all WIMs, reboot and run it again.
    Code:
    DISM /Cleanup-Wim
    Your install.wim should be fine, no need to recreate it.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. LiftyShifty

    LiftyShifty MDL Novice

    Mar 28, 2016
    9
    0
    0

    Working now...except I'm back to only seeing the Mouse Cursor and Bliss after the oobe
     
  10. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,454
    60
    Installing on real HW?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,454
    60
    @LiftyShifty Have you changed anything in config.ini? I see only you haven't included Embedded Update pack right? Why you still haven't post requested logs from logs folder?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. Alvarox

    Alvarox MDL Novice

    Sep 8, 2021
    5
    0
    0
    Hello George! I've successfully build an English Windows XP x64 iso without errors.

    After the first boot i become a BSOD

    STOP: 0x0000007B (0xFFFFFADFCA8283C0, 0xFFFFFFFFC0000034, 0x0000000000000000, 0x0000000000000000)

    I'm testing it on an Asus X201EP and on VirtualBox too with the same issue.

    When I try to start the Windows XP Repair Console it says that the acpi.sys is corrupted.

    I've built the iso 3 times, but always the same error.

    What could be the problem? Thanks for your work :)
     
  13. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,454
    60
    @Alvarox What have you changed in toolkit? 7B means missing AHCI driver. And it can also mean ACPI.SYS x86 / x64 mismatch
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. Alvarox

    Alvarox MDL Novice

    Sep 8, 2021
    5
    0
    0
    I don't have changed anything. Just copied the iso and run the XP2ESD_Builder.cmd

    By the way, I've replaced the acpi.sys with the 03 - acpi.sys 5048 found in the patches folder and now seems to work with no bsod :)
     
  15. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,454
    60
    Why you don't use latest one ACPI? I think you encounter error with detecting install.wim architecture (fixed for next) and x86 ACPI was used instead x64 one.
    Try to use better one from patches\ACPIx64\11 - acpi 7777.5 - 2022.05.13 - A3+A5 folder :)
     
    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,454
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,454
    60
    New version is out! Many changes were done. See changelog for more details!

    Code:
    18.08.2022 - v1.6.1 - Improved support for building images under Windows XP, thanks to abbodi1406 for BBE code adaptation
                      - Improved logging mechanism into separate folders for each run
                      - Improved Logs and Temp files removal on capturing image
                      - Improved Windows 7 ACPI patches
                      - Fixed Dynamic drivers option
                      - Fixed BCD settings for modern boot - no more pagefile.sys error message
                      - Fixed Snappy Driver Installer default language detection
                      - Fixed CLONE_TAG.TXT generating on 5.2 systems
                      - Fixed POWIS launcher error when there are no DriverPacks folder or no DriverPacks in that folder
                      - Fixed PowerShell 2.0 + Windows Desktop search addons for x64
                      - Fixed ported Windows 8 UASP driver v6.2.9200.16384
                      - Fixed ported Generic MSAHCI driver - whole INF is rewritten and files revised
                      - Fixed ported Generic SD/MMC driver v6.2.8056
                      - Fixed INF files for mostly all ported drivers
                      - Fixed install.wim language detection on some hosts
                      - Fixed OOBE PC name generator + long delay after click on "Next" button
                      - Fixed NTLite boot.wim preset to do not remove Recovery Agent
                      - Fixed few TXTSETUP.OEM files in ported drivers collection (they are not used by XP2ESD, but it's fine to have them for old TXTMODE setup archived)
                      - Fixed latest ACPI folder name with correct A5x11 + A5x03 definition
                      - Added OOBE support for Windows XP x64
                      - Added Windows Media Player 11 integration into 5.2 systems
                      - Added Windows 7 x64 winload.exe / winload.efi patch to force disable signature check
                      - Added seguiemj.ttf (not sure if it realy works in same way as it's Windows 7 EMOJI font support)
                      - Added UefiSeven v1.30
                      - Added new option UEFI7TYPE to be able to use UefiSeven or FlashBoot UEFI GOP Emulator when using Windows 7 Base ISO, NOTE: This doesn't mean XP x64 UEFI support now. There is still needed research! This is still experimental work in progress!
                      - Added Timeout, DebugMode and PartitionID options for settings.ini into config.ini
                      - Added nLite process info into CLONE_TAG.TXT
                      - Added FontReg v2.1.3.0
                      - Added MIDI startup delay patch fix
                      - Added KMDF v1.9.7600.16385 addon
                      - Added MSXML v6.20.2017 addon for x86
                      - Added MSXML v4.30.2117 + v6.20.2017 addon for x64
                      - Added Silverlight (KB4481252) addon for x64
                      - Added new ported Silicion Motion NVMe driver v 10.4.49
                      - Added new ported I2C HID driver v6.2.9200.16384 (Generic Touchpad)
                      - Added new ported WinUSB v6.2.9200.16384
                      - Added new ported TPM driver v6.1.7600.16384
                      - Added new ported AMD SD/MMC driver v1.0.0.0106
                      - Updated WindowsRootsUpdate.exe to v18.08.2022
                      - Updated Snappy Driver Installer Origin to v1.12.7.747
                      - Updated Internet Explorer 8 x64 Addon to v2019-08, thanks to MilkChan
                      - Updated ported drivers DriverPack to v23, special thanks to Andalu for testing
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...