Skulltrail192 / One-Core-API-Binaries

http://shorthornproject.com
627 stars 48 forks source link

Chrome 101 Windows XP 32 Bit #57

Closed ghost closed 11 months ago

ghost commented 2 years ago

Hey. I installed the latest One Core Api on Windows XP Professional SP3 x86 - Integral Edition 2021.12.19 (Vanilla).iso and trying to fire up Chroma but I have this problem. untitled

mina354 commented 2 years ago

Chrome 100 doesn't work for me. If I run it without setting executable to Vista SP2 compatibility mode and no --no-sandbox parameter set on the shortcut, it gives this error. image But, if I do both, Chrome 100 crashes. image @Skulltrail192 could you take a look at this issue?

mina354 commented 2 years ago

how you do this? i tried it but online\offline\ fckn installers skip installation with error

I know of a way to install latest Chrome on XP. If there's demand, I can tell instructions on how to install newer Chrome versions on XP.

rounk-ctrl commented 2 years ago

how you do this? i tried it but online\offline\ fckn installers skip installation with error

I know of a way to install latest Chrome on XP. If there's demand, I can tell instructions on how to install newer Chrome versions on XP.

please tell

mina354 commented 2 years ago

Ok, so people are asking me for my instructions. Here it is. Let's give an example and say that you want to install Chrome 70 on XP. Here's how: 1- If you own a system/VM that has an OS that still supports Chrome (Win7 and later), install Chrome 70 there. 32-bit: https://www.filepuma.com/download/google_chrome_32bit_70.0.3538.110-20750/ 64-bit: https://www.filepuma.com/download/google_chrome_64bit_70.0.3538.110-20751/ 2- After installation is done, go to Chrome's installation folder by right-clicking on Chrome's desktop shortcut and selecting "Open file location". 3- Inside Chrome's installation folder, you will see a folder that represents the version of Chrome you have installed. Open that folder, and inside that, you will see another folder named Installer. Go to that folder. 4- Now, follow this: If the OS that still supports Chrome (Win7 and later) is in a real hardware, get an external storage, copy chrome.7z from the Installer folder, and paste it there. Then, connect the external storage to your XP real hardware, and put it on the desktop. If the OS that still supports Chrome (Win7 and later) is in a VM, drag chrome.7z from the Installer folder, and drop it to your main system. Then, drop it to your XP VM on the desktop. 5- Install Chrome 49 on XP. 6- After Chrome 49 installation is done, right click on Chrome's desktop shortcut and select "Open file location" to go to Chrome's installation folder, then open the folder named 49.0.2623.112, and open the folder called Installer. Replace the chrome.7z file with the file you've had from the desktop recently. 7- Open setup.exe. Chrome 70 will install if all the steps are followed correctly. 8- Delete the folder "49.0.2623.112". 9- Congratulations! You successfully installed a new version of Chrome on XP.

ghost commented 2 years ago

Not Working

Win-DVD commented 2 years ago

Ok, so people are asking me for my instructions. Here it is. Let's give an example and say that you want to install Chrome 70 on XP. Here's how: 1- If you own a system/VM that has an OS that still supports Chrome (Win7 and later), install Chrome 70 there. 32-bit: https://www.filepuma.com/download/google_chrome_32bit_70.0.3538.110-20750/ 64-bit: https://www.filepuma.com/download/google_chrome_64bit_70.0.3538.110-20751/ 2- After installation is done, go to Chrome's installation folder by right-clicking on Chrome's desktop shortcut and selecting "Open file location". 3- Inside Chrome's installation folder, you will see a folder that represents the version of Chrome you have installed. Open that folder, and inside that, you will see another folder named Installer. Go to that folder. 4- Now, follow this: If the OS that still supports Chrome (Win7 and later) is in a real hardware, get an external storage, copy chrome.7z from the Installer folder, and paste it there. Then, connect the external storage to your XP real hardware, and put it on the desktop. If the OS that still supports Chrome (Win7 and later) is in a VM, drag chrome.7z from the Installer folder, and drop it to your main system. Then, drop it to your XP VM on the desktop. 5- Install Chrome 49 on XP. 6- After Chrome 49 installation is done, right click on Chrome's desktop shortcut and select "Open file location" to go to Chrome's installation folder, then open the folder named 49.0.2623.112, and open the folder called Installer. Replace the chrome.7z file with the file you've had from the desktop recently. 7- Open setup.exe. Chrome 70 will install if all the steps are followed correctly. 8- Delete the folder "49.0.2623.112". 9- Congratulations! You successfully installed a new version of Chrome on XP.

You really can skip all of this by just getting

A: portable chrome B: just downloading chromium files in zip format instead of installer

also up to Chromium 75 works on XP x64 (NT 5.2) And up to Chromium 85 (maybe later too) works on XP x86 (NT 5.1) Chromium 101 starts on 5.1 but doesnt load anything do note you need to start chrome with --no-sandbox

EDIT: I should note some sites just dont work like youtube. This isn't a stable way to use modern chromium EDIT 2: i also forgot to mention i used vista's oleacc.dll to fix that missing function

Win-DVD commented 2 years ago

B: just downloading chromium files in zip format instead of installer

where is we can download portable/official zip package?

Ungoogled Chromium (what i use): https://ungoogled-software.github.io/ungoogled-chromium-binaries/releases/windows/32bit/

Standard Chromium (make sure to go for "stable" builds of chromium btw): https://chromium.cypress.io/win/

mina354 commented 2 years ago

You really can skip all of this by just getting

A: portable chrome B: just downloading chromium files in zip format instead of installer

also up to Chromium 75 works on XP x64 (NT 5.2) And up to Chromium 85 (maybe later too) works on XP x86 (NT 5.1) Chromium 101 starts on 5.1 but doesnt load anything do note you need to start chrome with --no-sandbox

EDIT: I should note some sites just dont work like youtube. This isn't a stable way to use modern chromium EDIT 2: i also forgot to mention i used vista's oleacc.dll to fix that missing function

Well, I don't prefer Chrome in portable, but in an installation, so I discovered that way instead. Of course I am aware of the fact that --no-sandbox is required.

Win-DVD commented 2 years ago

You really can skip all of this by just getting A: portable chrome B: just downloading chromium files in zip format instead of installer also up to Chromium 75 works on XP x64 (NT 5.2) And up to Chromium 85 (maybe later too) works on XP x86 (NT 5.1) Chromium 101 starts on 5.1 but doesnt load anything do note you need to start chrome with --no-sandbox EDIT: I should note some sites just dont work like youtube. This isn't a stable way to use modern chromium EDIT 2: i also forgot to mention i used vista's oleacc.dll to fix that missing function

Well, I don't prefer Chrome in portable, but in an installation, so I discovered that way instead. Of course I am aware of the fact that --no-sandbox is required.

you can always just move the chromium portable/files you downloaded to a folder in your C: drive (or really anywhere) and make a shortcut on the desktop

mina354 commented 2 years ago

You really can skip all of this by just getting A: portable chrome B: just downloading chromium files in zip format instead of installer also up to Chromium 75 works on XP x64 (NT 5.2) And up to Chromium 85 (maybe later too) works on XP x86 (NT 5.1) Chromium 101 starts on 5.1 but doesnt load anything do note you need to start chrome with --no-sandbox EDIT: I should note some sites just dont work like youtube. This isn't a stable way to use modern chromium EDIT 2: i also forgot to mention i used vista's oleacc.dll to fix that missing function

Well, I don't prefer Chrome in portable, but in an installation, so I discovered that way instead. Of course I am aware of the fact that --no-sandbox is required.

you can always just move the chromium portable/files you downloaded to a folder in your C: drive (or really anywhere) and make a shortcut on the desktop

Yes, I know, but I prefer an installation over a portable/zip file.

Skulltrail192 commented 2 years ago

Chrome 100 doesn't work for me. If I run it without setting executable to Vista SP2 compatibility mode and no --no-sandbox parameter set on the shortcut, it gives this error. image But, if I do both, Chrome 100 crashes. image @Skulltrail192 could you take a look at this issue?

Hey, i see on my Windows XP installation and oleacc.dll has this function. The version of file is 7.0.2600.6153. Maybe on your installation has a previous before these version. I will add oleacc.dll from my installation to prevent this error.

ghost commented 2 years ago

Chrome 100 doesn't work for me. If I run it without setting executable to Vista SP2 compatibility mode and no --no-sandbox parameter set on the shortcut, it gives this error. image But, if I do both, Chrome 100 crashes. image @Skulltrail192 could you take a look at this issue?

Hey, i see on my Windows XP installation and oleacc.dll has this function. The version of file is 7.0.2600.6153. Maybe on your installation has a previous before these version. I will add oleacc.dll from my installation to prevent this error.

169572871-4df47f0d-6542-4922-9494-ce25aff948cc

Hot to fix it?

Win-DVD commented 2 years ago

In my testing on latest updates i could only get Chromium 85 working on NT 5.1 and it was unstable. It was on latest update level (updated via WSUS and has all patches) and was still missing a function in oleacc.dll. I used Vista x86 oleacc to fix this but its strange that it needed it at all.. since that implies that testing was done with an oleacc that had the function. Perhaps we are doing something wrong? But chromium 101 DID start but refused to render any pages.

Skulltrail192 commented 2 years ago

Chrome 100 doesn't work for me. If I run it without setting executable to Vista SP2 compatibility mode and no --no-sandbox parameter set on the shortcut, it gives this error. image But, if I do both, Chrome 100 crashes. image @Skulltrail192 could you take a look at this issue?

Hey, i see on my Windows XP installation and oleacc.dll has this function. The version of file is 7.0.2600.6153. Maybe on your installation has a previous before these version. I will add oleacc.dll from my installation to prevent this error.

169572871-4df47f0d-6542-4922-9494-ce25aff948cc

Hot to fix it?

It was just fixed on next release, will be launch today. Be Patient.

Skulltrail192 commented 2 years ago

In my testing on latest updates i could only get Chromium 85 working on NT 5.1 and it was unstable. It was on latest update level (updated via WSUS and has all patches) and was still missing a function in oleacc.dll. I used Vista x86 oleacc to fix this but its strange that it needed it at all.. since that implies that testing was done with an oleacc that had the function. Perhaps we are doing something wrong? But chromium 101 DID start but refused to render any pages.

Please, check the version of your oleacc.dll

mina354 commented 2 years ago

Chrome 100 doesn't work for me. If I run it without setting executable to Vista SP2 compatibility mode and no --no-sandbox parameter set on the shortcut, it gives this error. image But, if I do both, Chrome 100 crashes. image @Skulltrail192 could you take a look at this issue?

Hey, i see on my Windows XP installation and oleacc.dll has this function. The version of file is 7.0.2600.6153. Maybe on your installation has a previous before these version. I will add oleacc.dll from my installation to prevent this error.

My installation is a clean one with no updates. This is also the latest OCAPI, no previous ones installed or anything. Thanks. Checked the version of the file, and it's version 4.2.5406.0. Thank you anyway for giving a solution to this.

mina354 commented 2 years ago

@Skulltrail192 Ok, so I tried it with OCAPI version 2.4.0, and the issue of oleacc.dll is still happening. I even tried to replace it manually, but it still stays with version 4.2.5406.0. This was tested with Chrome 102.

oleacc.dll file version before OCAPI installation: image

oleacc.dll file version after OCAPI installation: image

Is the latest Chrome version working for anyone?

jonm58 commented 2 years ago

@mina354 Windows XP Professional-2022-06-04-01-11-40 Advanced Chrome 94.0.4590.0 But can't open webside

mina354 commented 2 years ago

How sad.

jonm58 commented 2 years ago

@mina354 But new Advanced Chrome only 94.0.4590.0 (86-99 working[But can't open webside] 100+ no open){No Test 100}

mina354 commented 2 years ago

Ya know what. I am recreating my XP VM later on. Indeed something must've went wrong that doesn't make Chrome 100+ run on my VM.

Edit 1: The oleacc.dll issue still exists.

Edit 2: It seems I am able to run Chrome 70 (up to 77) at least. Well, that's at least better than nothing. image

Skulltrail192 commented 2 years ago

For version 51~69, you must set compatibility to Windows Vista SP2, add parameter to shortcut "--no-sandbox". And all version above, you only need add the paremeter "--no-sandbox". The problem with oleacc is solved on version 2.5.0

mina354 commented 2 years ago

Thank you, it works! image

mina354 commented 2 years ago

@Skulltrail192 But there's a problem, downloading files using newest Chrome version, gives a "Failed - Download error" error. I can't also install extensions. image Other than these issues, newest Chrome version works fine otherwise.

ghost commented 2 years ago

@Skulltrail192 In my browser there is no sound at all. On chrome, chromium and brave there is no sound at all, I tried with --wave-audio and then without it and no difference. How to fix it?

Skulltrail192 commented 2 years ago

@Skulltrail192 In my browser there is no sound at all. On chrome, chromium and brave there is no sound at all, I tried with --wave-audio and then without it and no difference. How to fix it?

Well, need a little fix: the correct parameter is: "--force-wave-audio"

Skulltrail192 commented 2 years ago

Chrome still has instability and crash randomless, it need some investigation. On Server 2003 and XP x64 now has some compatbility, run chrome at last version (tested 105 version)

ghost commented 2 years ago

@Skulltrail192 Also not working audio in chrome

mina354 commented 2 years ago

@Skulltrail192 But there's a problem, downloading files using newest Chrome version, gives a "Failed - Download error" error. I can't also install extensions. image Other than these issues, newest Chrome version works fine otherwise.

What about these? My network connection is working fine, so the download error appears even if my network connection is fine.

mina354 commented 2 years ago

@Skulltrail192 Just updated to Chrome 103 (released today), and Chrome immediately closes upon launching it.

Skulltrail192 commented 2 years ago

@Skulltrail192 Just updated to Chrome 103 (released today), and Chrome immediately closes upon launching it.

How i said on release notes, Chrome has instability both XP/Server 2003, need investigaton.

Skulltrail192 commented 2 years ago

@Skulltrail192 But there's a problem, downloading files using newest Chrome version, gives a "Failed - Download error" error. I can't also install extensions. image Other than these issues, newest Chrome version works fine otherwise.

What about these? My network connection is working fine, so the download error appears even if my network connection is fine.

What version used?

mina354 commented 2 years ago

@Skulltrail192 Just updated to Chrome 103 (released today), and Chrome immediately closes upon launching it.

How i said on release notes, Chrome has instability both XP/Server 2003, need investigaton.

Got it.

@Skulltrail192 But there's a problem, downloading files using newest Chrome version, gives a "Failed - Download error" error. I can't also install extensions. image Other than these issues, newest Chrome version works fine otherwise.

What about these? My network connection is working fine, so the download error appears even if my network connection is fine.

What version used?

102, the last version that lets me download files is 74. Extensions don't install on any newer Chrome version though.

Skulltrail192 commented 2 years ago

@Skulltrail192 Just updated to Chrome 103 (released today), and Chrome immediately closes upon launching it.

How i said on release notes, Chrome has instability both XP/Server 2003, need investigaton.

Got it.

@Skulltrail192 But there's a problem, downloading files using newest Chrome version, gives a "Failed - Download error" error. I can't also install extensions. image Other than these issues, newest Chrome version works fine otherwise.

What about these? My network connection is working fine, so the download error appears even if my network connection is fine.

What version used?

102, the last version that lets me download files is 74. Extensions don't install on any newer Chrome version though.

Thanks man, i will analyze differences between these 74 and 75 versions.

Skulltrail192 commented 2 years ago

Hello, i made a mistake. The correct parameter to get audio working on Chrome is: --enable-exclusive-audio

mina354 commented 2 years ago

Oops. Anyway, have you found differences between versions 74 and 75?

jonm58 commented 2 years ago

Chrome 94 can't Download

Skulltrail192 commented 2 years ago

Oops. Anyway, have you found differences between versions 74 and 75?

For now, no.

mina354 commented 2 years ago

Alright.

win32ss commented 2 years ago

This seems to be an issue where Chromium cannot get write access to the temp folders, according to Chromium source.

If you want Chromium to work perfectly on Windows XP (i.e. install extensions, be able to access its own cookies, etc), one of the things you will have to do is enhance FindFirstFileExW so it accepts the new flags and enums that Windows 7 added for it. You can find an example in my API repository.

Skulltrail192 commented 2 years ago

This seems to be an issue where Chromium cannot get write access to the temp folders, according to Chromium source.

If you want Chromium to work perfectly on Windows XP (i.e. install extensions, be able to access its own cookies, etc), one of the things you will have to do is enhance FindFirstFileExW so it accepts the new flags and enums that Windows 7 added for it. You can find an example in my API repository.

Hey friend, i will test. We can talk by email, skype or other way?

win32ss commented 2 years ago

Yes, try e-mailing me at win32alt@inbox.lv (it is a terrible provider anyway, that inbox is clogged up with lots of local spam anyway so I don't care if harvesters get at that one).

avaxx commented 2 years ago

First of all, congratulations and a big thank to Skulltrail192 for the progress in making newer Chrome versions work in XP!

I use XP SP2 and I tried to start Chrome v102 and v90 without installing One-Core-Api. Here's what i did... I updated App Compat files manually. Just in case I put all other OCA DLLs in Chrome's folder (where Chrome.exe and other essential Chrome files are) together with a proper file Chrome.exe.manifest which contains a line for each OCA DLL to enable DLL redirection (to be sure that Chrome will use system DLLs from OCA instead of those ones from Windows\System32). As base DLLs for OCA wrappers I copied DLLs from SP3. I renamed import module name "Kernel32.dll" in Kernelbase.dll to "Kernelex.dll" (using CFF Explorer) and put my system's Kernel32.dll (btw I use Dibya's extended kernel) renamed to "Kernelex.dll" in the same folder. I also renamed import module name "Ntext.dll" in Xpspkernel32.dll (needs Kernelbase.dll for forwarded exports) to "Ntdll.dll" and renamed this file to Kernel32.dll placing it in the same folder (there's the redirection line for it in my Chrome.exe.manifest as well).

To my pleasant surprise, with proper command line options and the proper compatibility setting, I started Chrome successfully. But there's just one "little" problem - Chrome cannot load any web page! I get the following error message: "This site can’t be reached ... ERR_NAME_NOT_RESOLVED" I tried everything that came to my mind but nothing helped. Does anybody have any idea...? (I think I had a similar problem with chinese 360 Extreme Browser (360Chrome) v13 but I solved it by using 360bdoctor.exe, I'm not sure what this proggy does but it worked.) Btw installing extensions doesn't work either.

Skulltrail192 commented 2 years ago

Are you updated Root Certifcates? To navigate with Chrome, you must use the tool on this repository to update Root Certificates.

avaxx commented 2 years ago

Thanks, certificates were updated, anyway I finally solved the problem. (Although I have some issue with security it can be avoided by using option "--ignore-certificate-errors".)

I was inspecting Chrome's Internet and networking API calls with API Monitor (rohitab.com) and found out that function getaddrinfo from Ws2_32.dll returns error code WSANOTINITIALISED, and that WSASocketW returns INVALID_SOCKET while trying to load a website, most likely because Ws2_32.dll is not properly initiated by Chrome. With Ollydbg I found a call to WSAStartup in Chrome.dll which looks related to this and I managed to read out the function's return value, it was 10107 what means WSASYSCALLFAILURE, an untypical error which didn't mean much to me.

Fortunately, the solution was very simple. Instead of a redirection to another Ws2_32.dll this DLL should be loaded with the system. I had to remove lines for redirection to Ws2_32.dll and Ws2_base.dll in Chrome's folder from my Chrome.exe.manifest, and to move these DLLs to Windows\System32. Just to mention for those ones who are interested, to make wrapper Ws2_32.dll work you should also put unmodified Kernelbase.dll, Ntext.dll and Normaliz.dll from O-C-A in Windows\System32. (Btw Dibya's Ws2_32.dll from Extended XP works well too, in case anyone needs it here's the link: https://app.box.com/s/olwh7j6q9cag4justfgsif2jek5lbbmb)

Interestingly, with App Compat files from the newest O-C-A v2.9.0 I have to set compatibility mode for Chrome.exe to XP SP2 instead of Vista SP2.

Chrome 102 is still not usable for me, webpages crash constantly, they cannot be saved, no download is possible, but it looks like the things move in the right direction :)

Skulltrail192 commented 1 year ago

Well, maybe ws2_32 is related with steam and discord problem?

RetroSoftwareRepository commented 1 year ago

On 32 bit XP, latest version of Chromium fails to even launch...let alone install.

TK50P commented 1 year ago

@Skulltrail192 Just updated to Chrome 103 (released today), and Chrome immediately closes upon launching it.

How i said on release notes, Chrome has instability both XP/Server 2003, need investigaton.

Got it.

@Skulltrail192 But there's a problem, downloading files using newest Chrome version, gives a "Failed - Download error" error. I can't also install extensions. image Other than these issues, newest Chrome version works fine otherwise.

What about these? My network connection is working fine, so the download error appears even if my network connection is fine.

What version used?

102, the last version that lets me download files is 74. Extensions don't install on any newer Chrome version though.

Thanks man, i will analyze differences between these 74 and 75 versions.

I have same problem. chrome_extenstions_problem

Skulltrail192 commented 11 months ago

Fixed main issue and chrome 103-109 is working on XP. See chrome main thread: #178