installer

Any topic
Post Reply
jfinnigan
Posts: 2
Joined: Sat Mar 09, 2013 12:29 pm

installer

Post by jfinnigan » Sat Mar 09, 2013 12:31 pm

Can you make a installer for this? It would be great if it could do single user or all users. Currently on Windows 8 if I put the folder in app data or program files a shortcut on my desktop work some of the time, but a but pinning it to the taskbar will give an error saying that the class chrome.exe is not a registered class.

admin
Site Admin
Posts: 219
Joined: Wed Feb 06, 2013 7:47 pm

Re: installer

Post by admin » Sat Mar 09, 2013 8:36 pm

That error is common, having an Installer will be nice but it won't help to fix the error you are getting, the error is already reported to chromium developers and its supposed to be fixed, can you try to do the following?

1) Set another browser as default temporarily
2) Launch Chrome
3) Set Chrome as default via the infobar that tells you Chrome isn't default browser (this should trigger registering everything that is missing), then:
a) Did you get a UAC (e.g., something that looks like this, but for chrome.exe: http://www.reed.edu/cis/help/images/vis ... prompt.jpg) when making Chrome default?
(you will also get a Windows 8 browser choice dialog, but your choice is irrelevant for this exercise... all we want is to re-trigger Chrome's registration on the system)
b) Do you now have the missing DelegateExecute registration?
c) Does Chrome now work?

For more info read this thread https://code.google.com/p/chromium/issu ... ?id=171355

jfinnigan
Posts: 2
Joined: Sat Mar 09, 2013 12:29 pm

Re: installer

Post by jfinnigan » Sun Mar 17, 2013 1:25 pm

1) Done
2) Done
3) Done
A) No, No UAC prompt, yes, use is enabled.
B) they were showing up in the registry before
c) no, it does not.

I had to just go through all the Chromium Entries under HKCU\\Software\Classes\Chromium(RANDOM LETTERS)\Shell\open\command and delete all the DelegateExecute under the different Chromium locations. and then it worked

admin
Site Admin
Posts: 219
Joined: Wed Feb 06, 2013 7:47 pm

Re: installer

Post by admin » Sun Mar 17, 2013 9:48 pm

Great! glad you fixed it, seems that latest versions of chromium are creating some registry keys that get messed up pretty easily, they are created when chrome or chromium is set as default browser like the following registry keys:

HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications\
"Chromium.QB6ADYXP7XLQ45WGTFTYZN3N7Y"

HKEY_CLASSES_ROOT\ChromiumHTM.QB6ADYXP7XLQ45WGTFTYZN3N7Y\

The hash part to the right of chromium is a signature that is different for each user and sometimes you can have several chromium keys with different signatures on the same computer making errors with chromium links and pinning chromium to taskbar.

When someone register chrome/chromium as default browser several registry changes are made but the browser itself does not provides a way to UNINSTALL or UNDO this changes, in fact chromium/chrome should have a button to "Remove Chromium as Default Browser", maybe chrome uninstaller deletes this data from the registry.

I had problems before and created a registry script to UNDO those changes, the registry script for windows 7 is below, if you are going to use it : you MUST replace QB6ADYXP7XLQ45WGTFTYZN3N7Y with your own generated hash, you can find your current hash using regedit.exe and searching for "ChromiumHTM"

If your registry is "dirty" and has several chromium hashes then you need to run this script for each hash, this is only for advanced users so there is no warranty at all, hopefully someday chrome/chromium will have an option to do remove this registry keys automatically.

-------------------START OF .REG FILE, DO NOT COPY THIS LINE

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.htm\]
@="htmlfile"

[-HKEY_CLASSES_ROOT\.htm\OpenWithProgids\]

[HKEY_CLASSES_ROOT\.html\]
@="htmlfile"

[-HKEY_CLASSES_ROOT\.html\OpenWithProgids\]

[HKEY_CLASSES_ROOT\.shtml\]
@=-

[-HKEY_CLASSES_ROOT\.shtml\OpenWithProgids\]

[-HKEY_CLASSES_ROOT\.xht\]

[-HKEY_CLASSES_ROOT\.xhtml\]

[-HKEY_CLASSES_ROOT\ChromiumHTM.QB6ADYXP7XLQ45WGTFTYZN3N7Y\]

[HKEY_CLASSES_ROOT\ftp\DefaultIcon\]
@="C:\\Windows\\System32\\url.dll,0"

[HKEY_CLASSES_ROOT\ftp\shell\]
@=-

[HKEY_CLASSES_ROOT\ftp\shell\open\command\]
@="\"C:\\Program Files (x86)\\Internet Explorer\\iexplore.exe\" %1"

[HKEY_CLASSES_ROOT\ftp\shell\open\ddeexec\]
@=hex(2):22,00,25,00,31,00,22,00,2c,00,2c,00,2d,00,31,00,2c,00,30,00,2c,00,2c,00,\
2c,00,2c,00,00,00

[HKEY_CLASSES_ROOT\http\DefaultIcon\]
@="C:\\Windows\\System32\\url.dll,0"

[HKEY_CLASSES_ROOT\http\shell\]
@=-

[HKEY_CLASSES_ROOT\http\shell\open\command\]
@="\"C:\\Program Files (x86)\\Internet Explorer\\iexplore.exe\" -nohome"

[HKEY_CLASSES_ROOT\http\shell\open\ddeexec\]
@=hex(2):22,00,25,00,31,00,22,00,2c,00,2c,00,2d,00,31,00,2c,00,30,00,2c,00,2c,00,\
2c,00,2c,00,00,00

[HKEY_CLASSES_ROOT\https\DefaultIcon\]
@="C:\\Windows\\System32\\url.dll,0"

[HKEY_CLASSES_ROOT\https\shell\]
@=-

[HKEY_CLASSES_ROOT\https\shell\open\command\]
@="\"C:\\Program Files (x86)\\Internet Explorer\\iexplore.exe\" -nohome"

[HKEY_CLASSES_ROOT\https\shell\open\ddeexec\]
@=hex(2):22,00,25,00,31,00,22,00,2c,00,2c,00,2d,00,31,00,2c,00,30,00,2c,00,2c,00,\
2c,00,2c,00,00,00

[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.htm\OpenWithProgids\]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.html\OpenWithProgids\]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.shtml\OpenWithProgids\]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.xht\]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.xhtml\]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ChromiumHTM.QB6ADYXP7XLQ45WGTFTYZN3N7Y\]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Chromium.QB6ADYXP7XLQ45WGTFTYZN3N7Y\]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe\]

[HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications\]
"Chromium.QB6ADYXP7XLQ45WGTFTYZN3N7Y"=-

[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Clients\StartMenuInternet\Chromium.QB6ADYXP7XLQ45WGTFTYZN3N7Y\]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe\]

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\RegisteredApplications\]
"Chromium.QB6ADYXP7XLQ45WGTFTYZN3N7Y"=-

[-HKEY_CURRENT_USER\Software\Chromium\]

[-HKEY_CURRENT_USER\Software\Classes\.htm\]

[-HKEY_CURRENT_USER\Software\Classes\.html\]

[-HKEY_CURRENT_USER\Software\Classes\.shtml\]

[-HKEY_CURRENT_USER\Software\Classes\.xht\]

[-HKEY_CURRENT_USER\Software\Classes\.xhtml\]

[-HKEY_CURRENT_USER\Software\Classes\ftp\]

[-HKEY_CURRENT_USER\Software\Classes\http\]

[-HKEY_CURRENT_USER\Software\Classes\https\]

[-HKEY_CURRENT_USER\Software\Clients\]

[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.htm\UserChoice\]

[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html\UserChoice\]

[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.shtml\]

[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xht\]

[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xhtml\]

[-HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.htm\OpenWithProgids]
"ChromiumHTM.QB6ADYXP7XLQ45WGTFTYZN3N7Y"=-

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html\OpenWithProgids]
"ChromiumHTM.QB6ADYXP7XLQ45WGTFTYZN3N7Y"=-

-------------------END OF .REG FILE, DO NOT COPY THIS LINE

mfarmilo
Posts: 6
Joined: Mon Jun 01, 2015 4:13 pm

Re: installer

Post by mfarmilo » Mon Jun 01, 2015 4:20 pm

I'm also seeing the 'class not registered' now, I'm running on Windows 10. If I 'run as administrator' the program works. If I try to make chromium the default browser in settings Windows gives me a message saying to go into Settings/ System / Default Apps. Going into either there or 'Default programs' doesn't allow me to set Chromium as it's not listed in there at all.

How do I resolve this issue ?

admin
Site Admin
Posts: 219
Joined: Wed Feb 06, 2013 7:47 pm

Re: installer

Post by admin » Wed Jun 03, 2015 11:50 am

Hi! welcome to the forum, seems that the error you getting is related to windows registry, I don't know if its specific to your windows version but searching online looks like even Microsoft Internet Explorer is giving the same problem, I still use WINDOWS 7 and is usable thanks to all the tweaks I have made including Classic Shell.

Chromium does gives problems even in windows 7, in fact, time ago I had to create a REG file to clean up all the stuff that chromium makes to windows registry, uploaded the file to this post since it may help someone, before importing this .REG file you must FIX & EDIT it according to your settings, for example:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.htm\OpenWithProgids]
"ChromiumHTM.QB6ADYXP7XLQ45WGTFTYZN3N7Y"=-
The hash QB6ADYXP7XLQ45WGTFTYZN3N7Y must be changed according to your system hash.

To be on the safe side, anyone making changes to windows registry must backup it first and delete the related keys manually using the .REG file I posted as a guide.

To fix the Class not registered error you can try deleting this key and reboot:
HKLM\Software\Classes\ChromiumHTM

Found this post that also might help:
https://productforums.google.com/forum/ ... ORZ-lEyIoJ

Also maybe the error you are getting is fixed in newer chromium versions, you can try the latest build here:
https://commondatastorage.googleapis.co ... refix=Win/

Right now latest build is 332599, you can download chrome-win32.zip and unzip, before running you must backup your settings located at: %USERPROFILE%\AppData\Local\Chromium\User Data

After trying the latest version you can restore your settings.
Attachments
Remove Chromium.zip
REG file to remove chromium from windows registry
(957 Bytes) Downloaded 475 times

slydog3333
Posts: 8
Joined: Fri Aug 07, 2015 8:13 pm

Re: installer

Post by slydog3333 » Sun Feb 07, 2016 10:24 am

So I seem to have found a fix. There's a reg file i found somewhere that I modified to my system to update the chromium info. It doesn't seem to completely work, but I'm sure someone else can figure out what I have wrong in there.

But the main parts that fixed the problem for me are these sections:
[HKEY_LOCAL_MACHINE\SOFTWARE\Chromium\Capabilities]
"ApplicationDescription"="Chromium - Beta Google Chrome"
"ApplicationIcon"="C:\Advanced Chrome\chrome.exe"
"ApplicationName"="Chromium"

and:
[HKEY_LOCAL_MACHINE\Software\Classes\ChromiumURL\shell\open\command]
"default"="C:\Advanced Chrome\chrome.exe"


The important things to change or add is the path to your chrome.exe file. For me these entries are usually missing. At first it was working in Windows 10 for me with just the bottom one fixed, but then it lost it and I had to add the icon entry as well and as soon as I did that, it showed up again as an option as the default browser. btw if you manually edit the entries for the path, for me it worked without the quotes.


It wouldn't let me upload the .reg file so here's the text:
Windows Registry Editor Version 5.00

; Infamous capabilities:

[HKEY_LOCAL_MACHINE\SOFTWARE\Chromium\Capabilities]
"ApplicationDescription"="Chromium - Beta Google Chrome"
"ApplicationIcon"="C:\Advanced Chrome\chrome.exe"
"ApplicationName"="Chromium"

[HKEY_LOCAL_MACHINE\SOFTWARE\Chromium\Capabilities\FileAssociations]
".htm"="ChromiumURL"
".html"="ChromiumURL"
".shtml"="ChromiumURL"
".xht"="ChromiumURL"
".xhtml"="ChromiumURL"

[HKEY_LOCAL_MACHINE\SOFTWARE\Chromium\Capabilities\URLAssociations]
"ftp"="ChromiumURL"
"http"="ChromiumURL"
"https"="ChromiumURL"

; Register to Default Programs

[HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications]
"Chromium"="Software\\Chromium\\Capabilities"

; ChromiumURL HANDLER:

[HKEY_LOCAL_MACHINE\Software\Classes\ChromiumURL]
@="Chromium Document"
"FriendlyTypeName"="Chromium Document"

[HKEY_LOCAL_MACHINE\Software\Classes\ChromiumURL\shell]

[HKEY_LOCAL_MACHINE\Software\Classes\ChromiumURL\shell\open]

[HKEY_LOCAL_MACHINE\Software\Classes\ChromiumURL\shell\open\command]
"default"="C:\Advanced Chrome\chrome.exe"



Just paste that into notepad and save it as .reg

Even after fixing the default program issue, I found I still had that class not registered problem, but I found a fix for that in Windows 10 as well. I heard this may need to be done after every update though...

Anyways go back to regedit, then go to: HKEY_CLASSES_ROOT\Chromium.KX2H7KAXPMGTNVAESUS3YIVI2I\.exe\shell\open\command and delete the delegate execute key

then go to: HKEY_CLASSES_ROOT\Chromium.KX2H7KAXPMGTNVAESUS3YIVI2I\.exe\shell\opennewwindow\command and again delete the delegate execute key

and once more delete the delegate execute key in: HKEY_CLASSES_ROOT\ChromiumHTM.KX2H7KAXPMGTNVAESUS3YIVI2I\shell\open\command

It worked for me after deleting those keys.

Post Reply