As the matter of choice I’m using only portable versions of non-MS browsers – Chromium portable, FireFox Portable, Opera@USB.
Everything was nice and dandy while I was using WinXP. Not so easy with Windows7 – let me explain how you can control list of default browsers with simple registry files.
I tried and succeeded with registering Chromium to the list of Default Programs, the only problem was that after becoming Windows7 default browser it effectively stopped being portable.
It took me extra effort to revert back to Internet Explorer as default browser but didn’t quash my curiosity – there should be a way to add portable browser to the list of default programs without loosing “portable” functionality.
Regedit to the rescue and after 15 min of searching I came up with the three pieces of registry that defined Chromium as one of the OS default browsers. After combining these 3 pieces into 1 I can now add/remove any portable browser to the list of Windows 7 default programs by editing reg file and importing it back into registry.
Lets try for example to configure Opera@USB (located in c:\tools\operaportable) as one of the Windows7 default browsers.
(You will need to edit the path to point it to your opera location. It doesn’t necessary need to be Opera portable – regular Opera will do just fine)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Opera] @="Opera" [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Opera\Capabilities] "ApplicationName"="Opera" "ApplicationIcon"="C:\\tools\\operaPortable\\opera.exe,0" "ApplicationDescription"="Opera manually added via registry." [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Opera\Capabilities\FileAssociations] ".xhtml"="OperaHTML" ".xht"="OperaHTML" ".shtml"="OperaHTML" ".html"="OperaHTML" ".htm"="OperaHTML" [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Opera\Capabilities\StartMenu] "StartMenuInternet"="Opera" [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Opera\Capabilities\URLAssociations] "https"="OperaHTML" "http"="OperaHTML" "ftp"="OperaHTML" [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Opera\DefaultIcon] @="C:\\tools\\operaPortable\\App\\opera-bin\\opera.exe,0" [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Opera\shell] [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Opera\shell\open] [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Opera\shell\open\command] @="\"C:\\tools\\operaPortable\\opera.exe\"" [HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications] "Opera"="Software\\Clients\\StartMenuInternet\\Opera\\Capabilities" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\OperaHTML] "URL Protocol"="" @="Opera HTML Document" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\OperaHTML\DefaultIcon] @="C:\\tools\\operaPortable\\opera.exe,0" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\OperaHTML\shell] [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\OperaHTML\shell\open] [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\OperaHTML\shell\open\command] @="\"C:\\tools\\operaPortable\\opera.exe\" \"%1\"" |
And in case you need completely remove Opera from Default programs (and from the registry all together), here is another reg file
1 2 3 4 5 6 |
Windows Registry Editor Version 5.00 [-HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Opera] [-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\OperaHTML] [HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications] "Opera"=- |
For those who want to get rid of Chrome as listed browser once and for all, here is another small reg file (Not really sure how it calls itself – could be GoogleChrome instead of Chrome,s o please verify).
1 2 3 4 5 6 |
Windows Registry Editor Version 5.00 [-HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Chrome] [-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ChromeHTML] [HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications] "Chrome"=- |
Now you are more in control of what is in the list of Default programs on your Windows 7. You can use the same method to control default Mail application as well.
Works fine. Thanks for sharing!
You are welcome. Since I could not find anything about it on internet I decided to research and publish my findings
Same problem I’ve had since using portable apps. But I’m using W8, soon W8.1. Will this still work?
Does W8 use the same system of assigning default applications? Then yes. Check Control Panel, check regedit – same branch that is changed by proposed modifications
Thanks for this. Works still fine with Opera 32, but you have to replace opera.exe with launcher.exe from the Opera USB directory.