[Bug 25918] New: Google Chrome Standalone Installer fails, "Unknown Installer Error"
http://bugs.winehq.org/show_bug.cgi?id=25918 Summary: Google Chrome Standalone Installer fails, "Unknown Installer Error" Product: Wine Version: 1.3.12 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: dank(a)kegel.com Created an attachment (id=33035) --> (http://bugs.winehq.org/attachment.cgi?id=33035) +relay,+seh log of install failing The offline installer at https://dl-ssl.google.com/update2/installers/ChromeStandaloneSetup.exe with sha1sum 52e8d8e406475da0bebfe9f1fa454d4680228e32 fails quickly with a messagebox saying "Unknown Installer Error". +relay shows 000b:Call KERNEL32.WideCharToMultiByte(00000003,00000000,01c251fe L"Unknown Installer ErrorUInstallation failed. Google Installer requires Windows 2000 Service Pack 4 or better.",00000017,0012cf58,00000017,00000000,00000000) ret=004021ca 000b:Ret KERNEL32.WideCharToMultiByte() retval=00000017 ret=004021ca 000b:Call user32.MessageBoxA(00000000,0012cf58 "Unknown Installer Error",0012ce88 "Google Installer",00000000) ret=00401dab -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=25918 fracting <fracting(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting(a)gmail.com --- Comment #1 from fracting <fracting(a)gmail.com> 2011-04-07 00:05:34 CDT --- Add me to CC list -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=25918 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer --- Comment #2 from Austin English <austinenglish(a)gmail.com> 2011-05-21 18:07:03 CDT --- Current download is: 8163004be8fd3c671a85e87a9c2c63e687d1e02a ChromeStandaloneSetup.exe still present in wine-1.3.20-230-g456e48e. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=25918 --- Comment #3 from fracting <fracting(a)gmail.com> 2011-10-03 04:47:20 CDT --- still present in wine-1.3.29-121-gfdda702: ChromeStandaloneSetup-fd97ae50c8b5818d2cca9fe6606f1713d096e68a-2011-04-07.exe ChromeStandaloneSetup-edaebf3a40298a4c929bfd40b4766f5d5a325a3a-2011-10-03.exe -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=25918 --- Comment #4 from fracting <fracting(a)gmail.com> 2011-12-08 14:24:04 CST --- Still present in wine-1.3.34-166-g71199ea with: ChromeStandaloneSetup-fd97ae50c8b5818d2cca9fe6606f1713d096e68a-2011-04-07.exe ChromeStandaloneSetup-edaebf3a40298a4c929bfd40b4766f5d5a325a3a-2011-10-03.exe Doesn't effect newer version of ChromeStandaloneSetup: $ sha1sum ChromeStandaloneSetup.exe 8b40fb27e7c5dfdef559d0f0669602925e01f222 ChromeStandaloneSetup.exe -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=25918 --- Comment #5 from Dan Kegel <dank(a)kegel.com> 2011-12-08 16:29:18 CST --- If current installer is working, I'm all for abandoning. Any objections? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=25918 --- Comment #6 from Qian Hong <fracting(a)gmail.com> 2012-09-01 07:07:49 CDT --- (In reply to comment #5)
If current installer is working, I'm all for abandoning. Any objections?
Dan, do you still have the original installer? I've wrote a test case for this bug, and saddly the test case failed on both Wine and WinXP, then I copy my installers (2011-04-07.exe and 2011-10-03.exe) to my WinXP, both of them fail with "Unknown Installer Error", so I guess maybe this is a Chrome Installer bug, or maybe there is something behaviors different on different version of Windows. If you have original installer for this bug, which runs well on Windows, could you send me a copy via private email? Thanks! -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=25918 --- Comment #7 from Dan Kegel <dank(a)kegel.com> 2012-09-01 08:55:48 CDT --- I don't have a running copy of XP to test on. I do have got a copy of the app from Jan 29 2011, c35e169d6eb93a0a1687a472bdd2350412580773 ChromeStandaloneSetup.exe but that one works on wine. Still want a copy before we mark this bug ABANDONED? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=25918 --- Comment #8 from Qian Hong <fracting(a)gmail.com> 2012-09-02 10:31:16 CDT --- (In reply to comment #7)
I don't have a running copy of XP to test on. I do have got a copy of the app from Jan 29 2011, c35e169d6eb93a0a1687a472bdd2350412580773 ChromeStandaloneSetup.exe but that one works on wine. Still want a copy before we mark this bug ABANDONED?
Thanks Dan. I upload one of my chrome standalone installer to our Wine testbot, running on several version of Windows, all fail with "unknow installer error": https://testbot.winehq.org/JobDetails.pl?Key=21336 What I know is, the error happens durring the below log: --- snip --- 000b:Call KERNEL32.GetModuleFileNameA(00400000,0032fc98,00000104) ret=00401954 000b:Ret KERNEL32.GetModuleFileNameA() retval=0000001c ret=00401954 000b:Call KERNEL32.CreateFileA(0032fc98 "C:\\ChromeStandaloneSetup.exe",80000000,00000001,00000000,00000003,00000080,00000000) ret=00402525 000b:Ret KERNEL32.CreateFileA() retval=0000003c ret=00402525 000b:Call KERNEL32.CreateFileMappingA(0000003c,00000000,00000002,00000000,00000000,00000000) ret=0040253a 000b:Ret KERNEL32.CreateFileMappingA() retval=00000040 ret=0040253a 000b:Call KERNEL32.MapViewOfFile(00000040,00000004,00000000,00000000,00000000) ret=0040254d 000b:Ret KERNEL32.MapViewOfFile() retval=01c30000 ret=0040254d 000b:Call KERNEL32.VirtualQuery(01c30000,0032fc44,0000001c) ret=00402570 000b:Ret KERNEL32.VirtualQuery() retval=0000001c ret=00402570 000b:Call KERNEL32.UnmapViewOfFile(01c30000) ret=004025a2 000b:Ret KERNEL32.UnmapViewOfFile() retval=00000001 ret=004025a2 --- snip --- Since I can't find any installer successes on Windows but fails on Wine, I agree to close this bug as ABANDONED. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=25918 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |00cpxxx(a)gmail.com Resolution| |ABANDONED --- Comment #9 from Bruno Jesus <00cpxxx(a)gmail.com> 2012-09-02 10:43:00 CDT --- (In reply to comment #8)
Since I can't find any installer successes on Windows but fails on Wine, I agree to close this bug as ABANDONED.
As you wish, my thane. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=25918 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #10 from Dan Kegel <dank(a)kegel.com> 2012-09-02 10:50:27 CDT --- hey, I do have the exact same installer still: $ ls -l Chrome* -rwxr-xr-x 1 dank dank 25329376 Jan 29 2011 ChromeStandaloneSetup(2).exe -rwxr-xr-x 1 dank dank 25329208 Jan 29 2011 ChromeStandaloneSetup(3).exe -rwxr-xr-x 1 dank dank 25329408 Jan 29 2011 ChromeStandaloneSetup.exe $ sha1sum ChromeStandaloneSetup* 0ee27c5d0b84b0fbc1ebb31b61101f338f27698d ChromeStandaloneSetup(2).exe 52e8d8e406475da0bebfe9f1fa454d4680228e32 ChromeStandaloneSetup(3).exe c35e169d6eb93a0a1687a472bdd2350412580773 ChromeStandaloneSetup.exe The one with 52e8d8e406475da0bebfe9f1fa454d4680228e32 does still fail with unknown error. So, resolving abandoned is the Right Thing To Do. Closing. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=25918 --- Comment #11 from Qian Hong <fracting(a)gmail.com> 2012-09-02 11:01:56 CDT --- (In reply to comment #10)
hey, I do have the exact same installer still:
52e8d8e406475da0bebfe9f1fa454d4680228e32 ChromeStandaloneSetup(3).exe
I'm glad you still have the original installer ;-) Would you please send me a copy? I'd like to verified if the installer work on my Windows. If it works, I think I'll be very closed to the cause of the bug. Since the bug is related to CreateFileMapping/MapViewOfFile/VirtualQuery, I think it worth to do more investigation. If the original installer dosen't work on Windows, I guess INVALID is better than ABANDONED for this bug. Regards. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=25918 --- Comment #12 from Qian Hong <fracting(a)gmail.com> 2012-09-02 11:34:28 CDT --- Hello, Thanks Dan for the original installer ( 52e8d8e406475da0bebfe9f1fa454d4680228e32 ) I've tested on my Windows XP, and still got a "Unknow installer Error", I think this is a chrome installer bug, not a Wine bug. BTW, could any testbot admin help me delete the file I uploaded to https://testbot.winehq.org/JobDetails.pl?Key=21336 ? Sorry for the trouble and thanks for the help ;-) Regards. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=25918 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|ABANDONED |INVALID --- Comment #13 from Austin English <austinenglish(a)gmail.com> 2012-09-02 16:18:16 CDT --- INVALID. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=25918 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://dl.google.com/updat | |e2/installers/ChromeStandal | |oneSetup.exe CC| |focht(a)gmx.net Summary|Google Chrome Standalone |Google Chrome Standalone |Installer fails, "Unknown |(offline) installer fails |Installer Error" |with "Unknown Installer | |Error" --- Comment #14 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, adding info for documentation purpose. In short: it's by design. Untagged Google installers must be supplied command line arguments otherwise it's expected to fail with 'Unknown Installer Error' message (hr = GOOPDATE_E_UNTAGGED_METAINSTALLER). See: https://code.google.com/p/omaha/source/browse/trunk/mi_exe_stub/mi.cc#146 Yes, it's stupid to put the reason in an assert (not included in release build) and go with generic error message ('GOOPDATE_E_UNTAGGED_METAINSTALLER' -> 'IDS_GENERIC_ERROR'). Regards -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=25918 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Google Chrome Standalone |Google Chrome Standalone |(offline) installer fails |(offline) untagged |with "Unknown Installer |installers fail with |Error" |"Unknown Installer Error" | |(0x80040750 | |GOOPDATE_E_UNTAGGED_METAINS | |TALLER) URL|https://dl.google.com/updat |https://web.archive.org/web |e2/installers/ChromeStandal |/20140215100822/https://dl. |oneSetup.exe |google.com/update2/installe | |rs/ChromeStandaloneSetup.ex | |e --- Comment #15 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, adding stable download links via Internet Archive for documentation. Google Chrome 32.0.1700.107 https://web.archive.org/web/20140215100822/https://dl.google.com/update2/ins... https://www.virustotal.com/gui/file/641b0da7b21a7308bd35bc218819263df6925d03... $ sha1sum ChromeStandaloneSetup.exe e61fd2983c9ee6663805afcc918d79ddb243dfd0 ChromeStandaloneSetup.exe $ du -sh ChromeStandaloneSetup.exe 37M ChromeStandaloneSetup.exe Google Chrome 69.0.3497.100 https://web.archive.org/web/20180929104502/https://dl.google.com/chrome/inst... https://www.virustotal.com/gui/file/38cb1c4577beca2adfc2bffe95aedf31013761db... $ sha1sum standalonesetup.exe 639a350228845e00ed97ed9c506f2f006202d115 standalonesetup.exe $ du -sh standalonesetup.exe 51M standalonesetup.exe Updated link to Github project sources because 'code.google.com/p/' is dead since long time. https://github.com/google/omaha/blob/5d4cfe7d3e05aa87f547de869f6728f83f21bc9... --- snip --- int ExtractAndRun() { if (CreateUniqueTempDirectory() != 0) { return -1; } scoped_hfile tarball_file(ExtractTarballToTempLocation()); if (!valid(tarball_file)) { return -1; } // Extract files from the archive and run the first EXE we find in it. Tar tar(temp_dir_, get(tarball_file), true); tar.SetCallback(TarFileCallback, this); if (!tar.ExtractToDir()) { return -1; } exit_code_ = ULONG_MAX; if (!exe_path_.IsEmpty()) { // Build the command line. There are three scenarios we consider: // 1. Run by the user, in which case the MI does not receive any // argument on its command line. In this case the command line // to run is: "exe_path" /install [["]manifest["]] // 2. Run with command line arguments. The tag, if present, will be // appended to the command line. // The command line is: "exe_path" args <tag> // For example, pass "/silent /install" to the metainstaller to // initiate a silent install using the extra args in the tag. // If a command line does not take a tag or a custom tag is needed, // use an untagged file. CString command_line(exe_path_); ::PathQuoteSpaces(CStrBuf(command_line, MAX_PATH)); scoped_array<char> tag(GetTag()); if (cmd_line_.IsEmpty()) { // Run-by-user case. if (!tag.get()) { _ASSERTE(!_T("Must provide arguments with untagged metainstaller.")); HRESULT hr = GOOPDATE_E_UNTAGGED_METAINSTALLER; HandleError(hr); return hr; } command_line.AppendFormat(_T(" /%s %s /%s"), kCmdLineInstallSource, kCmdLineInstallSource_TaggedMetainstaller, kCmdLineInstall); } else { command_line.AppendFormat(_T(" %s"), cmd_line_); CheckAndHandleRecoveryCase(&command_line); } if (tag.get()) { command_line.AppendFormat(_T(" \"%s\""), CString(tag.get())); } RunAndWait(command_line, &exit_code_); } // Propagate up the exit code of the program we have run. return exit_code_; } --- snip --- If you run the untagged standalone installers just with '/install' argument it will still fail due to hard-coded brain damage in the updater (GoogleUpdateSetup.exe / GoogleUpdate.exe). --- snip --- # Google Update installation failed with error 0x80040c01. $ wine ./ChromeStandaloneSetup.exe /install /silent # "Egads! Installation failed. Error code: 0x80040c01." $ wine ./standalonesetup.exe /install /silent --- snip --- You need to pass some magic arguments: --- snip --- $ wine ./ChromeStandaloneSetup.exe /installsource nomitag /install "appguid={8A69D345-D564-463C-AFF1-A69D9E530F96}&iid={C3EB1856-4FB5-6D2F-DF46-BA3BAA23BC5A}&lang=en&browser=4&usagestats=0&appname=Google%20Chrome&needsadmin=prefers" $ wine ./standalonesetup.exe /installsource nomitag /install "appguid={8A69D345-D564-463C-AFF1-A69D9E530F96}&iid={C3EB1856-4FB5-6D2F-DF46-BA3BAA23BC5A}&lang=en&browser=4&usagestats=0&appname=Google%20Chrome&needsadmin=prefers" --- snip --- Add '/silent' for silent install. Note, the updater will still try to contact Google (updater API) but keep the local version. Regards -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla