win32ss / supermium

Chromium fork for Windows XP/2003 and up
https://win32subsystem.live/supermium/
BSD 3-Clause "New" or "Revised" License
2.28k stars 77 forks source link

Supermium 122 does not start on Windows XP SP0 #458

Closed EgorKuzevanov closed 5 months ago

EgorKuzevanov commented 6 months ago

Supermium 122, unpacked from SFX archive, does not start on Windows XP SP0 (first release of Windows XP without service packs, released in October 25, 2001) and shows an error "This application has failed to start because WINHTTP.DLL was not found. Re-installing the application may fix this problem". win32ss, could you remove the WINHTTP.DLL dependency from future versions of Supermium?

eXPc023 commented 6 months ago

Why would you want to run it on older versions of Windows XP? This browser wasn't meant for < SP2. If you're going to use an old OS, at least use the latest version of it.

IDA-RE-things commented 6 months ago

could you remove the WINHTTP.DLL dependency

I have checked. Only one function really used from this DLL at runtime: WinHttpGetIEProxyConfigForCurrentUser() And it can be implemented in emulation layer, getting info from registry. Its simple. Moreover, you can do some research, and provide here the code for this if you are programmer.

To test it, you can write you own WinHttp.dll with 1 such function + 5 stubs, and place it near Chrome.dll Try to do this.

docrR commented 6 months ago

Supermium requires Windows XP with a minimum of Service Pack 1, as indicated on the project homepage. SP2 is recommended. As this issue does not impact supported operating systems (SP1+), I must ask that it be closed, or converted into a discussion. Windows 2000 SP4 compatibility is expected eventually though, which I presume would lift this requirement.

docrR commented 6 months ago

Why would you want to run it on older versions of Windows XP? This browser wasn't meant for < SP2. If you're going to use an old OS, at least use the latest version of it.

There are some reasons why some hold onto older versions of XP. PAE support was worsened with Service Packs, but I would make the argument that Server 2003 or XP x64 can fill that gap. SP2 is also a good deal lighter than SP3, while still being able to run the vast majority of applications that SP3 can. This browser only requires SP1 to launch at this time though, but SP2 has seen more testing.

win32ss commented 6 months ago

This was not a problem on Windows 2000 SP4 (but Supermium remains almost unusable for other reasons there). Try copying winhttp from Windows 2000 SP4 first, but I have no plans to formally support XP RTM, or ReactOS or 2000 SP2 or 9x!

SleakaJ commented 6 months ago

but I have no plans to formally support XP RTM, or ReactOS or 2000 SP2 or 9x!

How's the Supermium Win 3.x version coming along then?

All kidding aside, I do wish there was a proper Win 3.x browser.

Zero3K commented 6 months ago

This was not a problem on Windows 2000 SP4 (but Supermium remains almost unusable for other reasons there). Try copying winhttp from Windows 2000 SP4 first, but I have no plans to formally support XP RTM, or ReactOS or 2000 SP2 or 9x!

Would you support PRs to get it to work with XP RTM/2000 SP2/9x?

eXPc023 commented 6 months ago

Take care, I would prefer bugs (occuring on XP SP2-8.1) to be fixed first, then discussing for support for deserted versions. OT: Anyone know an alternative to Supermium (Based on Chromium and no Google services, if possible)?

jonm58 commented 6 months ago

Take care, I would prefer bugs (occuring on XP SP2-8.1) to be fixed first, then discussing for support for deserted versions. OT: Anyone know an alternative to Supermium (Based on Chromium and no Google services, if possible)?

https://github.com/Alex313031/chromium-xp lol

win32ss commented 6 months ago

This was not a problem on Windows 2000 SP4 (but Supermium remains almost unusable for other reasons there). Try copying winhttp from Windows 2000 SP4 first, but I have no plans to formally support XP RTM, or ReactOS or 2000 SP2 or 9x!

Would you support PRs to get it to work with XP RTM/2000 SP2/9x?

Yes, but those pull requests will never happen. Also note that GDI and hardware acceleration are still in bad shape and the general Supermium feature set still needs to be fleshed out.

FlorianisonGitHub commented 6 months ago

but I have no plans to formally support XP RTM, or ReactOS or 2000 SP2 or 9x!

How's the Supermium Win 3.x version coming along then?

All kidding aside, I do wish there was a proper Win 3.x browser.

The Win 3.x of Supermium is very difficult, because certain APIs are not in older 16-bit Windows.

FlorianisonGitHub commented 3 months ago

VirtualBox_Windows XP RTM_11_07_2024_12_31_45

I also got an error while getting it to work on XP SP0, saying "This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem".