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

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

  1. sleonov97

    sleonov97 MDL Novice

    Aug 9, 2021
    39
    2
    0
    #721 sleonov97, Aug 28, 2021
    Last edited: Aug 29, 2021
  2. example12345678912345678

    Dec 29, 2019
    505
    243
    30
    What's the status of version 1.6? I'm thrilled.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. George King

    George King MDL Expert

    Aug 5, 2009
    1,887
    2,256
    60
    #723 George King, Aug 30, 2021
    Last edited: Aug 30, 2021
    (OP)
    I'm still working on it. I will review my work and upload it soon. I still have some things in To-Do list, but new version should be released soon as many changes were done.

    Currently I need to finish one big update as I want to have working solution for winlogon.exe, but my every try to reconstruct original patch into dynamic patch for bbe.exe seems impossible. So I will patch all updated XP and 2003 winlogon.exe manually on all languages and create small delta patches. Then I will release XP2ESD v1.6 as this is a preparation for future option to convert Server 2003 Enterprise into Professional and also we have this option few months without step forward.

    There is also still needed some touch on UpdatePacks, but this can be done in near future as it doesn't depends on XP2ESD itself.

    EDIT: These Time Zones are crazy. We can use strings from tzres.dll.mui, but this will require same mapping from UpdatePack to lookup correct string in any languages to fix UpdatePack string. Another option is to grab whole TimeZone registry and try grab tzres.dll + tzres.dll.mui from newer Windows during building ISO. I will see if this method can work

    EDIT2: I managed to write small code to convert TimeZones into XP logic with MUI. So I can export Windows 10 TimeZone registry that match Windows XP format. Thats a good start. Note this script is not tested, this can break your host settings. I will use it on mounted hives from Windows 10 install.wim. If anybody want to try it. Install Windows 10 32bit in VirtualBox, run this script and wait until it export "TimeZones.reg" in current directory. Then grab tzres.dll and it's related MUI. Then in XP add tzres.dll into system32 and MUI into related MUI directory, for example system32\ru-RU. Then import TimeZone.reg and reboot. If we are lucky, then TimeZones strings will be updated and fixed using these files. I hope tzres.dll can handle related MUI under XP. I will try it on my side in few hours when I have access to my testing machine. If not, then I can redirect strings reading directly to tzres.dll.mui
    @echo off

    REM TimeZone Root

    set "TZKEY=HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones"

    REM Loop through TimeZones key
    for /f "tokens=1 delims==" %%i in ('REG QUERY "%TZKEY%"') do (

    REM Loop through TimeZone values
    for /f "tokens=1-3 delims= " %%j in ('REG QUERY "%%i" /s ^| findstr /i /c:"MUI"') do (

    REM Convert MUI linking to original values
    if /i "%%j" == "MUI_Display" (
    reg add "%%i" /v "Display" /t %%k /d "%%l" /f >nul
    reg delete "%%i\%%j" /f >nul
    )

    if /i "%%j" == "MUI_Dlt" (
    reg add "%%i" /v "Dlt" /t %%k /d "%%l" /f >nul
    reg delete "%%i\%%j" /f >nul
    )

    if /i "%%j" == "MUI_Std" (
    reg add "%%i" /v "Std" /t %%k /d "%%l" /f >nul
    reg delete "%%i\%%j" /f >nul
    )

    )

    )

    REM Export TimeZones keys
    reg export "%TZKEY%" "%~dp0TimeZones.reg" >nul

    pause
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. George King

    George King MDL Expert

    Aug 5, 2009
    1,887
    2,256
    60
    #724 George King, Aug 30, 2021
    Last edited: Aug 30, 2021
    (OP)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. sleonov97

    sleonov97 MDL Novice

    Aug 9, 2021
    39
    2
    0
    I don't know, why I need to install KB2864202 manualy?
    IMO, it should be integrated in system
     
  6. George King

    George King MDL Expert

    Aug 5, 2009
    1,887
    2,256
    60
    #726 George King, Aug 31, 2021
    Last edited: Aug 31, 2021
    (OP)
    If you are talking about Kernel Mode Driver Framework 1.11 (updated). It should be installed automatically during Auto-Syspreping.

    EDIT: I haven't checked if is correctly installed in all languages yet

    EDIT2: After quick look into UpdatePack, seems like original installer KMDFv1.7 is hidden in wdfcoins.dll. I don't know how is installed. But when I look into ported v1.11 here is file version condition. I will see how it goes today
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. sleonov97

    sleonov97 MDL Novice

    Aug 9, 2021
    39
    2
    0
    I make my build using WinXP SP3 VL Russian, Win7 MSDN image, and Win10 21H1 (built in Media Creation Tool)
    In my case, I used to install patch and drivers manually
    It is possible to integrate that using nLite or another way?
     
  8. sleonov97

    sleonov97 MDL Novice

    Aug 9, 2021
    39
    2
    0
    This BSoD appears after driver installing
    But on actual PC SDI works correct
     

    Attached Files:

  9. George King

    George King MDL Expert

    Aug 5, 2009
    1,887
    2,256
    60
    This is known problem, caused by original Bashrat DriverPacks (from my tests)

    FAQ
    Q: Why BSOD appeared after Welcome screen before entering OOBE?
    A: I encountered it too, but only when using all DriverPacks in VirtualBox, this simply mean bad driver


    This is related to repacked update itself as it detect newer KMDF in system and abort installation. I will review and force this setup in capturing image, as we all need to USB3.x drivers ready in first boot. Also there is a solution I can repack this repacked ported update :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. sleonov97

    sleonov97 MDL Novice

    Aug 9, 2021
    39
    2
    0
  11. George King

    George King MDL Expert

    Aug 5, 2009
    1,887
    2,256
    60
    #731 George King, Aug 31, 2021
    Last edited: Aug 31, 2021
    (OP)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. sleonov97

    sleonov97 MDL Novice

    Aug 9, 2021
    39
    2
    0
    If XP2ESD build has NVMe driver, it means TRIM should work, right?
     
  13. George King

    George King MDL Expert

    Aug 5, 2009
    1,887
    2,256
    60
    Can you show me English screenshot? I can have a quick look on it
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. sleonov97

    sleonov97 MDL Novice

    Aug 9, 2021
    39
    2
    0
  15. George King

    George King MDL Expert

    Aug 5, 2009
    1,887
    2,256
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. sleonov97

    sleonov97 MDL Novice

    Aug 9, 2021
    39
    2
    0
    What about integrating Wi-Fi choose in OOBE?
     
  17. trashe33

    trashe33 MDL Member

    May 8, 2016
    127
    63
    10
    the windows xp oobe does not support that
     
  18. ExtremelyFancyUsername

    Oct 17, 2018
    212
    70
    10
    Speaking of OoBE: did the Windows XP source code leak include anything related to it?
     
  19. sleonov97

    sleonov97 MDL Novice

    Aug 9, 2021
    39
    2
    0
    #740 sleonov97, Sep 1, 2021
    Last edited: Sep 1, 2021
    Is anybody tested WinXP on SSD? Is TRIM working?
    I tested at my PC - TRIM doesn't work
    It is exists in WinXP?