Baseado em resposta do Ciantic
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.
Além de modificar o regfile do ciantic e executá-lo, no Windows 10, eu também tive que ir para [HKEY_LOCAL_MACHINE\Software\Classes\ChromiumURL\shell\open\command]
e alterar o valor dos dados padrão para o caminho do meu chrome.exe. No meu caso, foi: C:\Program Files (x86)\Advanced Chrome\chrome.exe
.
Uma vez eu fiz isso, ele apareceu como um programa padrão e não apenas como opções para abrir arquivos html e outros arquivos do navegador.