Google Chrome

Windows 2000 fixes and solutions for apps

Google Chrome

PostPosted by DosFreak » Wed Sep 03, 2008 1:28 pm

Supposedly does not work in 2000. Haven't tried it out yet.

http://www.google.com/chrome

http://vogons.zetafleet.com/viewtopic.p ... 575#140575
DosFreak
 
Posts: 237
Joined: Thu Feb 21, 2008 12:04 pm

PostPosted by DosFreak » Wed Sep 03, 2008 9:15 pm

Seems like alot of 2K users are trying to use it:

http://compn.wordpress.com/2008/09/02/g ... dows-2000/
DosFreak
 
Posts: 237
Joined: Thu Feb 21, 2008 12:04 pm

PostPosted by OldCigarette » Thu Sep 04, 2008 1:05 am

I'm trying to use the build from here
http://build.chromium.org/buildbot/snap ... um-rel-xp/

No installer to get around, but I run into trouble.
Code: Select all
chrome_1000000!`anonymous namespace'::InvalidParameter+0x3
chrome_1000000!rand_s+0xa7
chrome_1000000!rand_util::RandIntSecure+0x19
chrome_1000000!RenderProcessHost::Init+0xe7
chrome_1000000!RenderViewHost::CreateRenderView+0x82
chrome_1000000!WebContents::CreateRenderViewForRenderManager+0x22
chrome_1000000!DOMUIHost::CreateRenderViewForRenderManager+0x19
chrome_1000000!RenderViewHostManager::Navigate+0x57
chrome_1000000!WebContents::Navigate+0x1a
chrome_1000000!NewTabUIContents::Navigate+0x22
chrome_1000000!NavigationController::NavigateToPendingEntry+0x131
chrome_1000000!NavigationController::LoadEntry+0x61
chrome_1000000!NavigationController::LoadURL+0x24
chrome_1000000!Browser::CreateTabContentsForURL+0xd1
chrome_1000000!Browser::AddTabWithURL+0x120
chrome_1000000!BrowserInit::LaunchWithProfile::OpenURLsInBrowser+0xe6
chrome_1000000!BrowserInit::LaunchWithProfile::Launch+0x4df
chrome_1000000!BrowserInit::LaunchBrowser+0x26c
chrome_1000000!BrowserInit::ProcessCommandLine+0x51d
chrome_1000000!BrowserMain+0xec9


Will have a look see some more.

edit:
Code: Select all
  // This code will not work on win2k, which we do not support.
  errno_t rv = rand_s(&number);
  DCHECK(rv == 0) << "rand_s failed with error " << rv;


The trouble is in the rand_s function, quick check of msdn reveals this

rand_s depends on the RtlGenRandom API, which is only available in Windows XP and later.


I already added this function to the advapi32.dll wrapper
http://oldcigaret.info/win2k/phpBB3/viewtopic.php?t=7
so I tried and that it seems to be working ok now!
Last edited by OldCigarette on Thu Sep 04, 2008 3:12 am, edited 1 time in total.
OldCigarette
 
Posts: 208
Joined: Sun Feb 03, 2008 6:35 am
Location: Qo`nos

PostPosted by OldCigarette » Thu Sep 04, 2008 2:08 am

Ok I got the installer to work to but it's a royal pain in the ass. I recommended using the chromium build, but if you insist on the chrome here is how.

First go to here to download chrome, if your browser is detected win2k they show you the door at the main site.
http://www.google.com/chrome/eula.html

Now run the ChromeSetup.exe and let it say your windows is not supported, but do not close!

Use process explorer or what ever you like to get the command line of GoogleUpdate.exe, there are two, you want the command line that is really really long. Copy this command line down also mark the current directory.

Now you need to setup version faking with the kernel32.dll wrapper and win2k_xp_kernel32.ini file. Place these files in the current directory from previous step. Mine was 'C:\Documents and Settings\user\Local Settings\Application Data\Google\Update\1.2.131.11\' Here is the ini file faking I used
Code: Select all
[win2k_xp_kernel32]
majVer=5
minVer=1
buildNum=2600
versionString=Service Pack 2
majSP=2


Now open a command prompt. Then go to the current directory from above and then paste in the command line from two steps up. You will install the chrome now.

After all that guess what? If has the same problem as the chromium build, you will need the advapi32.dll wrapper to be able to run chrome. So really unless your crazy I would install from the chromium zip file.
OldCigarette
 
Posts: 208
Joined: Sun Feb 03, 2008 6:35 am
Location: Qo`nos

PostPosted by DosFreak » Thu Sep 04, 2008 10:39 am

Nice.

The 9x users in the MSFN forum may not have it so easy KernelEx may require some work. It would probably be easier to modify Chrome itself since the code is open source.
DosFreak
 
Posts: 237
Joined: Thu Feb 21, 2008 12:04 pm

PostPosted by DosFreak » Fri Sep 05, 2008 1:07 pm

Changing the User Agent in the browser seems to allow downloads:

http://www.teknobites.com/2008/09/03/ho ... on-win-2k/
DosFreak
 
Posts: 237
Joined: Thu Feb 21, 2008 12:04 pm

PostPosted by DosFreak » Tue Sep 09, 2008 6:58 pm

For the lazy:

Google Chrome Nightly Builds Downloader

http://www.ghacks.net/2008/09/07/google ... ownloader/
DosFreak
 
Posts: 237
Joined: Thu Feb 21, 2008 12:04 pm

Re: Google Chrome

PostPosted by l3ullseye » Wed Jan 07, 2009 8:25 pm

I tried to run SRWARE Iron that is based on chromium too, but it give me a Program Error Window

Program Error
iron.exe has generated errors and will be closed by windows. You
will need to restart the program.

An error log is being created.

is it posible to run this browser I like it better than chrome

Thanks.
l3ullseye
 
Posts: 7
Joined: Fri May 02, 2008 8:22 pm

Re: Google Chrome

PostPosted by OldBoy2k » Wed Jan 07, 2009 9:05 pm

Hiya,can you post some parts from the log or better, upload it on sendspace (maybe remove personal data for security reasons like name,IP and so on)?
OldBoy2k
 
Posts: 1351
Joined: Fri Feb 15, 2008 5:10 pm

Re: Google Chrome

PostPosted by l3ullseye » Thu Jan 08, 2009 12:44 am

I would like to but i can't find the log file... :roll:

All I find was a Dr Watson log file :D

Dr Watson Log File

Hope it helps...
l3ullseye
 
Posts: 7
Joined: Fri May 02, 2008 8:22 pm

Re: Google Chrome

PostPosted by OldCigarette » Wed Jan 14, 2009 3:09 am

Have you tried with the advapi32.dll wrapper?

edit:
There is a problem in the advapi32.dll wrapper which stops it from working. I'll try to get the updated version up this week in a new release.
OldCigarette
 
Posts: 208
Joined: Sun Feb 03, 2008 6:35 am
Location: Qo`nos

Re: Google Chrome

PostPosted by OldCigarette » Sat Jan 17, 2009 9:32 pm

Ok the new version (1.8 ) is up. I used kernel32 and advapi32 wrappers with this ini to get around an annoying version warning

Code: Select all
[win2k_xp_kernel32]
minVer=1
buildNum=2600
majSP=2
versionString=Service Pack 2
versionFaking=include

[version_module_list]
iron.dll=1
OldCigarette
 
Posts: 208
Joined: Sun Feb 03, 2008 6:35 am
Location: Qo`nos

Re: Google Chrome

PostPosted by donaldysmith » Sat Mar 07, 2009 10:21 am

For new chrome it doesn't work.
donaldysmith
 
Posts: 6
Joined: Sat Mar 07, 2009 9:53 am

Re: Google Chrome

PostPosted by donaldysmith » Sun Mar 08, 2009 6:10 am

I download the snapshot of 3/6/09 and it didn't work.

The error message is "The procedure entry point TTGetNewFontName could not be located in the dynamic link library t2embed.dll"

I tried the depend walker and found chrome.exe didn't refer t2embed.dll.

So I think chrome.exe refers t2embed.dll at runtime.

I download this dll from dlldump and put it in the same directory of chrome.exe.

Now I run chrome.exe and it poped message: "Chromium does not support windows 2000. Some features may not work".

Then sometimes it crashed and sometimes it ran. The crash error is memory violation.
donaldysmith
 
Posts: 6
Joined: Sat Mar 07, 2009 9:53 am

Re: Google Chrome

PostPosted by DosFreak » Sun Mar 08, 2009 12:13 pm

T2embed.dll is a Windows dll in system32 . Not sure if it exists in Windows 2000.

http://src.chromium.org/viewvc/chrome/t ... threv=7500
DosFreak
 
Posts: 237
Joined: Thu Feb 21, 2008 12:04 pm

Next

Return to Backporting Applications

Who is online

Users browsing this forum: No registered users and 1 guest

cron