Iron as DefaultBrowser - Tool

Iron Forum for english speaking people

Iron as DefaultBrowser - Tool

Postby SRWare » Fri Oct 26, 2012 8:14 pm

Some users have problems to set Iron as Default Browser on systems with limited rights. Therefore we made a little tool, which runs this job for you automatically. It will be integrated in further releases.

Tutorial:
1.) Download http://www.srware.net/downloads/DefaultBrowser.zip, extract it and copy the file to your Iron-Folder (important)
2.) Run it and press GO. Finnished!
Iron-Updates via Twitter: http://twitter.com/srware
User avatar
SRWare
Site Admin
 
Posts: 1593
Joined: Sat Jan 19, 2008 4:16 am


Re: Iron as DefaultBrowser - Tool

Postby gnaske » Sat Nov 10, 2012 11:34 am

Sorry - Forget my last message.

YOUR TOOL WORKS, WHEN IT'S COPIED INTO THE IRON FOLDER.
FANTASTIC ;) :ironvschrome
gnaske
 
Posts: 10
Joined: Sat Sep 29, 2012 10:28 am


Re: Iron as DefaultBrowser - Tool

Postby wtfbollos » Sun Nov 11, 2012 11:05 pm

doesn't fix this problem tho, when you open up .URL files you get this (e.g.) in the browser window.

[InternetShortcut]
URL=http://www.bbc.co.uk/weather/2654588


..and YES, i've tried setting default application, it makes no difference. i have raised a thread on this forum but i'm still waiting to fix this..
wtfbollos
 
Posts: 10
Joined: Wed Jan 25, 2012 3:02 am


Re: Iron as DefaultBrowser - Tool

Postby Azrael5 » Tue Nov 20, 2012 3:22 pm

exist a tool analogue for linux system? thanks, Morris.
I 4coredual-sata2|ZeroTherm Zen120|Core2 x6800|PQI Turbo DDR2|HD3850 AGP|Physx P1E|X-Fi|WD Velociraptor 74GB|Lg24|Edifier S550|Xp
IIpt88bspro-ec|Pentium 4 670|OCZ Platinum DDR400|HD3850 AGP|Ageia|Xonar d2X|Dexxa ps/2|Logitech Z-5500|Asus VB175T|Lubuntu/Xp
Azrael5
 
Posts: 46
Joined: Tue Feb 21, 2012 10:24 am


Re: Iron as DefaultBrowser - Tool

Postby robertcollier4 » Thu Nov 29, 2012 1:03 pm

wtfbollos wrote:doesn't fix this problem tho, when you open up .URL files you get this (e.g.) in the browser window.
[InternetShortcut]
URL=http://www.bbc.co.uk/weather/2654588


I've had this problem a lot as well since I try to set my .URL associations to run Portable browsers off a Ramdisk. You have to use shdocvw.dll to read and parse the .URL file because the browser does not do it. Have the "HKEY_CLASSES_ROOT\.url" extension be handled by "HKEY_CLASSES_ROOT\InternetShortcut". This will then lead to the file being read by CLSID {FBF23B40-E3F0-101B-8488-00AA003E56F8} (shdocvw.dll) which will parse the URL inside of the .URL file and direct it to the correct protocol handler applications specified at "HKEY_CLASSES_ROOT\http" and "HKEY_CLASSES_ROOT\https".

Here is the REG script that shows how it is done:
Code: Select all
Windows Registry Editor Version 5.00

;---------------------------------------------------------------;---------------------------------------------------------------
[-HKEY_CLASSES_ROOT\.url]

[HKEY_CLASSES_ROOT\.url]
@="InternetShortcut"

---------------------------------------------------------------
[-HKEY_CLASSES_ROOT\.html]

[HKEY_CLASSES_ROOT\.html]
@="MyHTMLFile"
"Content Type"="text/html"

[-HKEY_CLASSES_ROOT\.htm]

[HKEY_CLASSES_ROOT\.htm]
@="MyHTMLFile"
"Content Type"="text/html"

[-HKEY_CLASSES_ROOT\.mht]

[HKEY_CLASSES_ROOT\.mht]
@="MyHTMLFile"

---------------------------------------------------------------
[-HKEY_CLASSES_ROOT\MyHTMLFile]

; Dont know effect of this, seems unnecessary
[HKEY_CLASSES_ROOT\MyHTMLFile]
@="IronPortable MyHTMLFile"
"URL Protocol"=""

[HKEY_CLASSES_ROOT\MyHTMLFile\DefaultIcon]
@="T:\\IronPortable\\IronPortable.exe,0"

[HKEY_CLASSES_ROOT\MyHTMLFile\Shell]

[HKEY_CLASSES_ROOT\MyHTMLFile\Shell\Open]

[HKEY_CLASSES_ROOT\MyHTMLFile\Shell\Open\Command]
@="T:\\IronPortable\\IronPortable.exe --new-window \"%1\""

;[HKEY_CLASSES_ROOT\MyHTMLFile\shellex]

;[HKEY_CLASSES_ROOT\MyHTMLFile\shellex\IconHandler]
;@="{42042206-2D85-11D3-8CFF-005004838597}"

;---------------------------------------------------------------
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\InternetShortcut]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\InternetShortcut]
@="Internet Shortcut"
"EditFlags"=dword:00000002
"IsShortcut"=-
"NeverShowExt"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\InternetShortcut\CLSID]
@="{FBF23B40-E3F0-101B-8488-00AA003E56F8}"

[HKEY_CLASSES_ROOT\InternetShortcut\DefaultIcon]
@="T:\\IronPortable\\IronPortable.exe,0"

;[HKEY_CLASSES_ROOT\InternetShortcut\DefaultIcon]
;@="%SystemRoot%\system32\url.dll,0"
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\InternetShortcut\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\InternetShortcut\shell\open]
"CLSID"="{FBF23B40-E3F0-101B-8488-00AA003E56F8}"
"LegacyDisable"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\InternetShortcut\shell\open\command]
@="rundll32.exe shdocvw.dll,OpenURL %l"

;[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\InternetShortcut\shell\print]

;[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\InternetShortcut\shell\print\command]
;@=hex(2):72,00,75,00,6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,\
;  00,20,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,\
;  25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,73,\
;  00,68,00,74,00,6d,00,6c,00,2e,00,64,00,6c,00,6c,00,2c,00,50,00,72,00,69,00,\
;  6e,00,74,00,48,00,54,00,4d,00,4c,00,20,00,22,00,25,00,31,00,22,00,00,00

;[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\InternetShortcut\shell\printto]

;[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\InternetShortcut\shell\printto\command]
;@=hex(2):72,00,75,00,6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,\
;  00,20,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,\
;  25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,73,\
;  00,68,00,74,00,6d,00,6c,00,2e,00,64,00,6c,00,6c,00,2c,00,50,00,72,00,69,00,\
;  6e,00,74,00,48,00,54,00,4d,00,4c,00,20,00,22,00,25,00,31,00,22,00,20,00,22,\
;  00,25,00,32,00,22,00,20,00,22,00,25,00,33,00,22,00,20,00,22,00,25,00,34,00,\
;  22,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\InternetShortcut\shellex]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\InternetShortcut\shellex\ContextMenuHandlers]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\InternetShortcut\shellex\ContextMenuHandlers\{FBF23B40-E3F0-101B-8488-00AA003E56F8}]
@=""

;[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\InternetShortcut\shellex\IconHandler]
;@="{FBF23B40-E3F0-101B-8488-00AA003E56F8}"

;[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\InternetShortcut\shellex\PropertyHandler]
;@="{FBF23B40-E3F0-101B-8488-00AA003E56F8}"

;[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\InternetShortcut\shellex\PropertySheetHandlers]

;[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\InternetShortcut\shellex\PropertySheetHandlers\{FBF23B40-E3F0-101B-8488-00AA003E56F8}]
;@=""

;---------------------------------------------------------------
[-HKEY_CLASSES_ROOT\http]

[HKEY_CLASSES_ROOT\http]
@="URL:HyperText Transfer Protocol"
"EditFlags"=dword:00000002
"Source Filter"="{E436EBB6-524F-11CE-9F53-0020AF0BA770}"
"URL Protocol"=""

[HKEY_CLASSES_ROOT\http\DefaultIcon]
@="T:\\IronPortable\\IronPortable.exe,0"

[HKEY_CLASSES_ROOT\http\shell]
@="MyHTMLFile"

[HKEY_CLASSES_ROOT\http\shell\MyHTMLFile]

[HKEY_CLASSES_ROOT\http\shell\MyHTMLFile\command]
@="T:\\IronPortable\\IronPortable.exe --new-window \"%1\""

[HKEY_CLASSES_ROOT\http\shell\MyHTMLFile\ddeexec]

[HKEY_CLASSES_ROOT\http\shell\MyHTMLFile\ddeexec\Application]
@="ddeexec-http"

;---------------------------------------------------------------
[-HKEY_CLASSES_ROOT\https]

[HKEY_CLASSES_ROOT\https]
@="URL:HyperText Transfer Protocol with Privacy"
"EditFlags"=dword:00000002
"Source Filter"="{E436EBB6-524F-11CE-9F53-0020AF0BA770}"
"URL Protocol"=""

[HKEY_CLASSES_ROOT\https\DefaultIcon]
@="T:\\IronPortable\\IronPortable.exe,0"

[HKEY_CLASSES_ROOT\https\shell]
@="MyHTMLFile"

[HKEY_CLASSES_ROOT\https\shell\MyHTMLFile]

[HKEY_CLASSES_ROOT\https\shell\MyHTMLFile\command]
@="T:\\IronPortable\\IronPortable.exe --new-window \"%1\""

[HKEY_CLASSES_ROOT\https\shell\MyHTMLFile\ddeexec]
@=""

[HKEY_CLASSES_ROOT\https\shell\MyHTMLFile\ddeexec\Application]
@="ddeexec-https"

;---------------------------------------------------------------
;---------------------------------------------------------------
;---------------------------------------------------------------
;----- STARTMENUINTERNET
;---------------------------------------------------------------
;---------------------------------------------------------------
;---------------------------------------------------------------


;---------------------------------------------------------------
;Remove User Specific Settings

[-HKEY_CURRENT_USER\Software\Clients\StartMenuInternet]

;---------------------------------------------------------------

[HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications]
"IronPortable"="Software\\Clients\\StartMenuInternet\\IronPortable\\Capabilities"

;---------------------------------------------------------------


[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet]
@="IronPortable"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\IronPortable]
@="Shek Iron Portable"
"LocalizedString"="Shek Iron Portable"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\IronPortable\DefaultIcon]
@="T:\\IronPortable\\IronPortable.exe,0"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\IronPortable\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\IronPortable\shell\open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\IronPortable\shell\open\command]
@="T:\\IronPortable\\IronPortable.exe"

;---------------------------------------------------------------
; Capabilities

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\IronPortable\Capabilities]

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\IronPortable\Capabilities]
"ApplicationName"="Shek Iron Portable"
"ApplicationIcon"="T:\\IronPortable\\IronPortable.exe,0"
"ApplicationDescription"="Shek Iron Portable AppDescription"
"Hidden"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\IronPortable\Capabilities\FileAssociations]
".htm"="MyHTMLFile"
".html"="MyHTMLFile"
".mht"="MyHTMLFile"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\IronPortable\Capabilities\StartMenu]
"StartMenuInternet"="IronPortable"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\IronPortable\Capabilities\URLAssociations]
"http"="MyHTMLFile"
"https"="MyHTMLFile"

;---------------------------------------------------------------
robertcollier4
 
Posts: 18
Joined: Thu Nov 29, 2012 12:45 pm


Re: Iron as DefaultBrowser - Tool

Postby namewithheld » Thu Dec 13, 2012 3:29 am

I'm trying to set SRWare Iron as default browser but it won't let me and after getting Administrator privileges and trying several instructions which also don't work anyway I downloaded the tool shown above which ALSO doesn't work.

First it says: "The requested operation requires elevation"
I don't know what that means so I click OK because that's the only choice. Next it says:

"Windows cannot complete the extraction.
The destination file cannot be created."
namewithheld
 
Posts: 3
Joined: Thu Dec 13, 2012 3:24 am


Re: Iron as DefaultBrowser - Tool

Postby namewithheld » Thu Dec 13, 2012 2:20 pm

I downloaded the tool and tried to unzip it but nothing happened. I already wrote about this but my post did not appear for some reason. So I am asking again.

First when I click 'Run' it says:

"The requested operation requires elevation."
I don't know what that means but I clicked 'OK' because there's no other choice. Then, it says:

"Windows cannot complete the extraction.
The destination file could not be created."
namewithheld
 
Posts: 3
Joined: Thu Dec 13, 2012 3:24 am


Re: Iron as DefaultBrowser - Tool

Postby namewithheld » Fri Dec 14, 2012 4:32 pm

No answer so I just downloaded and installed Comodo and the problem is solved! It allows you to set Comodo as your default browser, you don't have to go crazy trying to figure out why it won't work and waiting for somebody to help you. It also solved another problem with Flash and YouTube not working. So I've been using Iron for over a year but it looks like I'll be using Comodo from now on.
namewithheld
 
Posts: 3
Joined: Thu Dec 13, 2012 3:24 am


Re: Iron as DefaultBrowser - Tool

Postby iron68 » Sun Dec 23, 2012 11:56 pm

not work on windows 8 pro 32bit (iron 23.0.1300.0 portable)
iron68
 
Posts: 1
Joined: Sun Dec 23, 2012 11:52 pm


Re: Iron as DefaultBrowser - Tool

Postby wtfbollos » Wed Jan 02, 2013 1:16 am

robertcollier4 wrote:
wtfbollos wrote:doesn't fix this problem tho, when you open up .URL files you get this (e.g.) in the browser window.
[InternetShortcut]
URL=http://www.bbc.co.uk/weather/2654588


I've had this problem a lot as well since I try to set my .URL associations to run Portable browsers off a Ramdisk. You have to use shdocvw.dll to read and parse the .URL file because the browser does not do it. Have the "HKEY_CLASSES_ROOT\.url" extension be handled by "HKEY_CLASSES_ROOT\InternetShortcut". This will then lead to the file being read by CLSID {FBF23B40-E3F0-101B-8488-00AA003E56F8} (shdocvw.dll) which will parse the URL inside of the .URL file and direct it to the correct protocol handler applications specified at "HKEY_CLASSES_ROOT\http" and "HKEY_CLASSES_ROOT\https".

Here is the REG script that shows how it is done:

thanks for your reply.

i tried running that code and it failed with "some keys are open by the system or other processes." :roll:

if this really is a fix, it needs to be properly proceduralised by iron browser people as a fix!
wtfbollos
 
Posts: 10
Joined: Wed Jan 25, 2012 3:02 am


Next

Return to SRWare Iron Support (English)

Who is online

Users browsing this forum: Google Adsense [Bot] and 16 guests