If you want to do it to your program, just replace all that seems
necessary from following regfile.
For Chromium, replace at least the path: C:\Program
Copies\Chromium\chrome.exe with your chromium path, it is in two
places at the following reg file.
Put following snippet to somefile.reg:
Windows Registry Editor Version 5.00
; Infamous capabilities:
[HKEY_LOCAL_MACHINE\SOFTWARE\Chromium\Capabilities]
"ApplicationDescription"="Chromium - Beta Google Chrome"
"ApplicationIcon"="C:\Program Copies\Chromium\chrome.exe,0"
"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]
@="\"C:\Program Copies\Chromium\chrome.exe\" -- \"%1\"" Then as
usual with reg files, you must double click to run them.
In addition to modifiying ciantic's regfile and running it, in Windows 10, I also had to go to [HKEY_LOCAL_MACHINE\Software\Classes\ChromiumURL\shell\open\command]
and change the default data value to the path of my chrome.exe. In my case, it was: C:\Program Files (x86)\Advanced Chrome\chrome.exe
.
Once I did that it showed up as a default program and not just as options to open html and other browser files.
That really stinks. I'm very surprised that this has been around since Vista and there are still few apps that support it. – cowgod – 2009-10-10T08:15:28.893