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

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

  1. UsefulAGKHelper

    UsefulAGKHelper MDL Senior Member

    Aug 28, 2021
    384
    237
    10
    #2001 UsefulAGKHelper, Oct 16, 2022
    Last edited: Oct 16, 2022
    I am not talking about Ventoy at all, I don't use that.
    This wim-setup.cmd will become part of the dual-boot tool.
    The dual-boot tool will appear as setup.exe + ini at the root of the image directory. The setup files that I borrowed from Deluxe Edition 2010 are capable of imitating mshta.exe. Making a custom modal that can be edited from the ini. This custom setup.exe is not part of boot.wim and should not be used in WinPE.
    It's just there to provide a customizable modal that can add custom buttons, links, pages, and images.
    One button opens the wim-setup.cmd batch file that starts the dual-boot process.
    Drive path will be adjusted from settings.ini to make changes automatically (these extra calls won't be used by POWIS launcher at all, comments will be added there to inform).
    If drive path is full of content, it will request partition tool.
    Wim path will work just like in XP2ESD, detecting any *.wim/*.esd file in sources folder and using it as installation image except boot.wim.
    Basically, you can apply the settings on the ini and it will automatically extract xp wim + add XP2ESD's tweaks to specified drive path in settings.ini while running on your main os.
    If you restart, you should see an extra entry on BCD that allows XP to boot from there.
    Anyway, a lot of work needs to be done, so wish me good luck.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Chuterix

    Chuterix MDL Senior Member

    Apr 18, 2022
    275
    124
    10
    @George King
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,453
    60
    Good luck, first don't call that dual-boot as it's not dual boot, just autorun with custom deyploy from live system.
     
    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,453
    60
    Feel free to do your own research and post results here. I have priority on important things. Polishing boot screen design is not important at all.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. UsefulAGKHelper

    UsefulAGKHelper MDL Senior Member

    Aug 28, 2021
    384
    237
    10
    Actually it is dual boot because not only it will install on any other partition but also because it will add the entry on the live OS' BCD which is by definition dual-boot.
    If it's not on a different partition of the same drive then it's a different story.
    I will call this Live deploy for now, thanks for the suggestion.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,453
    60
    Well, ISO is still not dual-boot, thats what I mean. If you boot from your ISO there will be only one boot option (if you not duplicate default entry with another boot.wim).
    Adding another boot option to installed system BCD is only "multi-boot support" from installer. And this setup.cmd already does as I told you before.

    Good luck with trying to achieve same result that you get from current WinPe (boot.wim) based setup.

    Much better will be to find out how to enable "upgrade" to XP from any non UEFI installed system. Windows 8.0 setup engine would be great to start research as it's last one that can be launcher under XP.
    And still running POWIS Laucher from installed OS gives you all coded option and real time changing them as settings.ini is used only for default choice.
    Yes, setup.cmd can read settings.ini too. But everything can be called by parameters, thats how POWIS Laucher do that
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Chuterix

    Chuterix MDL Senior Member

    Apr 18, 2022
    275
    124
    10
    wdym mean “from any non UEFI installed system”? as in which os? all of them? (this sentence is relocated from bottom due to off-topic-ish things)
    could then there would be upgrade enable for vista2esd if xp2esd upgrade’s possible? (in other words keep the classic in place upgrade option that enables if you run from valid xp version or valid vista version or at least enable performing a so called “upgrade” while keeping powis launcher)

    UNRELATED MESSAGE
    the vista2esd project is all i keep thinking about every day and every night. just thinking of the method to integrate updates (judging from older messages on thread, it’s dism script that’s kinda like integrate7 but for vista and with all updates in one ready to download + auto sysprep to install updates that can’t be integrated/make them installed status)
    i will try to be a tester for vista2esd once it releases depending on how burdening school is. i’m gonna get a laptop that supports vista soon so i can eventually test the future project on real (supported) hardware and there once it releases and try to report bugs.
    thank you for the amazing works @George King
     
    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,453
    60
    Server 2003 test session is in progress! I think everything is solved now. Few ISO images needs manual fix before processing. Server 2003 is different game. I need really prepare instructions "How to prepare input ISOs" for Server 2003. I will also provide SVF patches to make it easy with English version, as problematic ISOs are probably only in English.
    Code:
    en_win_srv_2003_enterprise_with_sp2.iso
    en_win_srv_2003_enterprise_with_sp2_vl.iso
    en_win_srv_2003_r2_datacenter_with_sp2_vl.iso
    en_win_srv_2003_r2_datacenter_x64_with_sp2_vl.iso
    en_win_srv_2003_r2_enterprise_kn_with_sp2.iso
    en_win_srv_2003_r2_enterprise_kn_with_sp2_vl.iso
    en_win_srv_2003_r2_enterprise_with_sp2.iso
    en_win_srv_2003_r2_enterprise_with_sp2_vl.iso
    en_win_srv_2003_r2_enterprise_x64_with_sp2.iso
    en_win_srv_2003_r2_enterprise_x64_with_sp2_vl.iso
    en_win_srv_2003_r2_sbs_with_sp2.iso
    en_win_srv_2003_r2_standard_kn_with_sp2.iso
    en_win_srv_2003_r2_standard_kn_with_sp2_vl.iso
    en_win_srv_2003_r2_standard_with_sp2.iso
    en_win_srv_2003_r2_standard_with_sp2_vl.iso
    en_win_srv_2003_r2_standard_x64_with_sp2.iso
    en_win_srv_2003_r2_standard_x64_with_sp2_vl.iso
    en_win_srv_2003_web_with_sp2.iso
    en_win_srv_2003_web_with_sp2_vl.iso
    en_win_srv_2003_whs_with_sp2_pp3.iso
    en_win_srv_2003_whs_with_sp2_pp3_oem.iso
    en_win_srv_2003_whs_with_sp2_pp3_vl.iso
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. UsefulAGKHelper

    UsefulAGKHelper MDL Senior Member

    Aug 28, 2021
    384
    237
    10
    #2009 UsefulAGKHelper, Oct 17, 2022
    Last edited: Oct 17, 2022
    I found out earlier that copying everything from sources folder (inside boot.wim) to the sources folder of installation media will allow setup to run but it can only run on host os that windows 10 setup engine supports. It's not perfect, gives prompts similar to the first time you tried to implement windows 10's setup engine on XP.
    In order for the upgrade option to work properly, you need to also borrow upgrade files from windows 10 setup engine, windows server 2008 R2 setup engine and windows 7 engine (specifically the ones referencing XP and server 2003).
    Borrowing upgrade files from windows server 2008 R2 setup engine can add upgrade support for windows server 2003.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,453
    60
    Thats, why Windows 8.0 must be used to support this "upgrade", maybe in future I can investigate.

    My next goal will be Updating UpdatePacks and 2003 UpdatePacks re-creation. Probably meanwhile I will review setup engine patching mechanism as I need to let setup remove created PageFile to add full support for Quibble in automated way.
     
    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,453
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,453
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. MilkChan

    MilkChan MDL Senior Member

    Mar 8, 2020
    430
    236
    10
  14. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,453
    60
    @MilkChan I will try it, most of Server 2003 there are my uploads, instead of missing ones :D

    Only one bad thing is lack of x64 localized UpdatePacks
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. MilkChan

    MilkChan MDL Senior Member

    Mar 8, 2020
    430
    236
    10
    I don't know if this is for x64 (DataCenter)
    or not, I have to set a topic.
     
  16. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,453
    60
    Mostly important is grab all possible x86 ISO images. x64 can be supported only in English for now. I have plan how to bring localization into English x64 5.2 systems without using MUI, but it needs time and can be done maybe somewhe in future.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. sleonov97

    sleonov97 MDL Novice

    Aug 9, 2021
    39
    2
    0
    May I use Win10 21H2 ISO for build?
     
  18. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,453
    60
    Yes
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...