desktops shortcuts don't open iron browser properly!

Iron Forum for english speaking people

Post Reply
wtfbollos
Posts: 12
Joined: Wed Jan 25, 2012 3:02 am

desktops shortcuts don't open iron browser properly!

Post by wtfbollos »

hi,

if i drag a website shortcut to my desktop, then close all instances of iron browser, then click this shortcut, i get a different iron browser?

if i click the shortcut to the app, i get all the sites have have most visited (i choose to have that as my start page and not a specific site), but if i click the desktop shortcut, then open new tab after, i do NOT see my most visited sites like i would if i just opened up a fresh iron browser!!!

this is really annoying..what is going on?

cheers,
bollos
robertcollier4
Posts: 19
Joined: Thu Nov 29, 2012 12:45 pm

Re: desktops shortcuts don't open iron browser properly!

Post by robertcollier4 »

This is because you are using Iron Portable - in which case you should not let Iron set its own file associations. If Iron sets its own file associations - they will go to Iron.exe and not IronPortable.exe. If you run Iron.exe - it will load a fresh configuration from the UserProfile instead of from the local IronPortable path.

You need to manually set associations. The following scripts sets associations manually for .HTML, .HTM, .MHT, and .URL. To use - copy-pasting the script into Notepad, change all path references to IronPortable.exe to the correct path, save the file with a .REG extension, and then right click the .REG file and select "Merge".
Windows Registry Editor Version 5.00

---------------------------------------------------------------
[-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]

[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\.url]

[HKEY_CLASSES_ROOT\.url]
@="InternetShortcut"

;---------------------------------------------------------------
[-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_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\shellex]

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

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\InternetShortcut\shellex\ContextMenuHandlers\{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"

;---------------------------------------------------------------
linnnkmeister
Posts: 1
Joined: Wed Dec 12, 2012 1:38 pm

Re: desktops shortcuts don't open iron browser properly!

Post by linnnkmeister »

robertcollier4 wrote:This is because you are using Iron Portable - in which case you should not let Iron set its own file associations. If Iron sets its own file associations - they will go to Iron.exe and not IronPortable.exe. If you run Iron.exe - it will load a fresh configuration from the UserProfile instead of from the local IronPortable path.

You need to manually set associations. The following scripts sets associations manually for .HTML, .HTM, .MHT, and .URL. To use - copy-pasting the script into Notepad, change all path references to IronPortable.exe to the correct path, save the file with a .REG extension, and then right click the .REG file and select "Merge".
I've tryed your method, but when i select Merge it show's me - Not all data were recorded in the register. some sections were occupied by the system or other processes.
correct path is C:\\Users\\hoho\\Desktop\\IronPortable\\IronPortable.exe or C:\Users\hoho\Desktop\IronPortable\IronPortable.exe ? :)
In both cases I see this message. Iron is closed, and windows is after restarting.
robertcollier4
Posts: 19
Joined: Thu Nov 29, 2012 12:45 pm

Re: desktops shortcuts don't open iron browser properly!

Post by robertcollier4 »

linnnkmeister wrote:I've tryed your method, but when i select Merge it show's me - Not all data were recorded in the register. some sections were occupied by the system or other processes.
This is not normal - 1. Make sure you are logged into an account with administrative priveleges. 2. If you already were in the Administrator group, then it means that the Permissions of one of the registry keys in the script has been changed and denied to you. That means you will have to go in as an Administrator group user and check the registry permissions of each of the keys being modified and make sure you have full control permissions over it - if you don't then you need to "take ownership" again of the registry key to the administrative group and grant yourself full access again. You can narrow down which key it is that is denying you permissions by breaking up the reg file into sections - import each section one by one - and the section that is giving you a problem will be the key that you should look at inside of regedit.

See here - http://www.groovypost.com/howto/take-fu ... stry-keys/
linnnkmeister wrote:correct path is C:\\Users\\hoho\\Desktop\\IronPortable\\IronPortable.exe or C:\Users\hoho\Desktop\IronPortable\IronPortable.exe ? :)
In .REG files the "\" is used as an escape character for special character sequences -- so to indicate a "\" you need to use a "\".
Either way - after you have Merged the .REG file given - you should open up the keys in "Start - Run - regedit.exe" - and look at each of the keys to make sure they look correct. In the registry (in regedit.exe) - it should show with only single slashes.
Post Reply