You are here

Making Firefox Portable your Default in Vista

25 posts / 0 new
Last post
J Neutron
Offline
Last seen: 7 months 3 weeks ago
Joined: 2008-06-10 19:26
Making Firefox Portable your Default in Vista

I've been beating up my Vista64 laptop to get it to work like I want.

After many, many attempts, clicking on a link in Thunderbird Portable would start a clean install of Firefox, and not start my own Firefox Portable. Of course, if Firefox Portable was already running, there was never a problem.

It seems that Control Panel / Default Programs / Set Associations / Protocol (not the file types portion of the listing!) only allowed choosing Firefox or Internet Explorer with no option to "browse" or search for other programs. This affects the HTTP and HTTPS protocols.

I found: http://www.winhelponline.com/blog/register-firefox-portable-with-default....

After running it, the Protocol handlers list now includes Firefox Portable and allows me to choose it. Now the laptop works the way I want.

I thought that this might be of some value to others here, as this question seems to come up fairly often in this forum. Sorry if there is a question about portability of this solution.

Jim

Ph4n70m
Ph4n70m's picture
Offline
Last seen: 2 years 6 months ago
Joined: 2007-01-12 19:22
.

I really don't know why people keep trying to use Firefox PORTABLE as default browser instead of desktop version. Firefox PORTABLE wasn't made to be used as it.
Let's use the things as they were made to be used.

J Neutron
Offline
Last seen: 7 months 3 weeks ago
Joined: 2008-06-10 19:26
Choices

I can understand your point, but I have reasons to use the Portable version instead of the desktop version.

I like using the exact same thing locally and portably. I can pick the folder up, slap it onto a USB stick or drive, and go where I want. And I can have the laptop work the way I want.

Maybe that's not the way you do things. That's OK. Nobody said that you have to do things my way or that everybody has the same set of circumstances. Choices, my friend... choices.

What's wrong with that?

Jim

neutron1132 (at) usa (dot) com

Ph4n70m
Ph4n70m's picture
Offline
Last seen: 2 years 6 months ago
Joined: 2007-01-12 19:22
.

Sorry if I seem rude Blum
But you can pick your profile from desktop version and paste on your USB stick too...

J Neutron
Offline
Last seen: 7 months 3 weeks ago
Joined: 2008-06-10 19:26
Its OK

No offense taken.

Tell me, what is the advantage in using Firefox instead of Firefox Portable?

And then the other way around, too.

Jim

neutron1132 (at) usa (dot) com

mgagnonlv
Offline
Last seen: 1 year 8 months ago
Joined: 2008-04-04 21:51
Starting Firefox portable... automatically ?

Maybe my machines aren't fast enough, but I find the non-portable Firefox faster than the portable one. That's especially true if I open pages with Flash, videos and other elaborate content.

One trick I haven't tried, but might be worth a try. If you manually start Firefox Portable and keep it open, what happens when you click on a desktop link?

I know I use that "behavioural feature" in Thunderbird. I typically open Firefox (non-portable) and Thunderbird portable. I have defined Thunderbird (non portable) as my default e-mail program in Windows. If Thunderbird portable is already started, when I click on a mailto link on a webpage, it correctly links it to Thunderbird portable.

In case it matters, my system is Windows XP (French). Default browser is Firefox.

Michel Gagnon
Montréal (Québec, Canada)

Old Man
Offline
Last seen: 15 years 4 months ago
Joined: 2009-08-07 12:07
Starting Firefox portable... automatically ?

Besides the reason already stated, copying non-portable FireFox to a USB will then leave behind a local USERDATA instance wherever you launch it.

Better (in my opinion) to standardize on the portable one and use FIREFOXPORTABLE.EXE so that the local USERDATA instance is removed upon exiting the program.

the answer shou...
Offline
Last seen: 13 years 12 months ago
Joined: 2010-12-28 16:15
simple

i run portable FF in a ramdisk for the following reasons
1) incredibly fast
2) no history, cache, cookies, super cookies OR any other piece of data is stored permanently; all is cleared on a reboot

arizona480
Offline
Last seen: 8 years 9 months ago
Joined: 2007-05-02 19:15
Just have the desktop version share the portable profile...

with the profile manager, that way you have a fully functional portable firefox and you can run your portable profile with the desktop version to make your PC happy with a set default browser. You just have to make sure that the installed and portable versions match.

J Neutron
Offline
Last seen: 7 months 3 weeks ago
Joined: 2008-06-10 19:26
Sorry

The profile doesn't make the Firefox portable. The FirefoxPortable launcher (wrapper) runs Firefox and makes it portable by cleaning up after Firefox ends.

So the system can use ANY profile you'd like, as long as it lives in the right place. You just have to start it all with FirefoxPortable.exe to ensure that it remains portable.

Did I explain that well enough? Does that make sense?

neutron1132 (at) usa (dot) com

arizona480
Offline
Last seen: 8 years 9 months ago
Joined: 2007-05-02 19:15
I understand that part...

If the goal of the OP is not having to worry about maintaining 2 profiles, then he can point the the installed version of Firefox to his portable profile on either the C: drive or whatever drive letter his portable device comes in at so he maintains an updated portable firefox when he sends that entire FFP folder to a portable device or just unplugs his drive and goes. I've had no issues doing this.

vinyl
Offline
Last seen: 14 years 10 months ago
Joined: 2010-02-18 15:33
Thanks Jim, this was helpful!

Thanks Jim, this was helpful! Now, the question remains... how do you pin it to the taskbar without it launching another instance (iow, another icon).

And for the trolls who insist to put there two cents in... it's abundantly clear why we use firefox portable!

Kermode
Offline
Last seen: 12 years 1 month ago
Joined: 2008-07-18 17:11
Don't dictate what others

Don't dictate what others must do!

I just went from XP to W7, the install took less than an hour. And all of my portable programs work straight away - the only problem I have is Firefox portable isn't the default browser at the moment.
But that's to be expected with Microsoft always trying to make everything as difficult and user hostile as possible. Whilst the install takes an hour getting windows to behave as you want it takes months. Oh well.

durex
Offline
Last seen: 1 year 3 months ago
Joined: 2005-12-09 17:33
Looks like someone

Looks like someone regurgitated a super old thread to bring it back to the front here, but thought I'd mention the method in the OP works with Windows Vista/7/8. Its super easy, no scripts required and also have been using it for years.

Also, my 2 cents, but I keep FF portable synced up via Dropbox and I notice no performance difference versus a locally installed version. So its really much easier to use as your default as all your plugins, passwords, settings, etc stay synced up between all your PCs.

magiceye04
Offline
Last seen: 15 years 5 months ago
Joined: 2009-02-05 05:33
windows2000

Hi!
I have the same problem, but in windows2000.
The Tool for WinXP doesnt work in 2000.
Any idea how to use Firefox portable as standard browser with my profile ?
If FFp is open, it works fine, but not if it is closed, then the 0815-standard-profile is used Sad

Magiceye

theoperaghost
Offline
Last seen: 15 years 10 months ago
Joined: 2007-02-17 12:15
SD Card

I use firefox portable on an sd card, when i use it on the go, the sd card goes in an adaptor. So it is used as my default browser.

Sing once again with me, Our strange duet, my power over you grows stronger yet,and though you turn from me to look behind, The Phantom of the Opera is there inside your mind....

Just another crazy Phantom fan.

magiceye04
Offline
Last seen: 15 years 5 months ago
Joined: 2009-02-05 05:33
i found a tool that also

i found a tool that also works with windows2000 and sets every exe-file as standard-browser: http://www.pc-tools.net/win32/setbrowser/

now FFp works fine Smile

floydpink
Offline
Last seen: 12 years 4 months ago
Joined: 2009-01-23 01:32
Register Thunderbird

You're a lifesaver, Jim.
I've been looking how to do this with Firefox for ages and finally came across your post. It worked like a dream!
Don't suppose you've done a similar thing for Thunderbird?
I managed to find a hack to get it working (https://portableapps.com/node/11309#comment-111204), but would love to be able to easily unregister it like with your app.
Cheers
Floyd

solanus
solanus's picture
Offline
Last seen: 10 years 2 months ago
Joined: 2006-01-21 19:12
PortableFileAssociator?

You can use this to create an association between htm, html, etc files with Portable Firefox, and then it should behave like the default browser.

https://portableapps.com/node/15583

I made this half-pony, half-monkey monster to please you.

linuxx
Offline
Last seen: 5 years 3 weeks ago
Joined: 2006-07-07 20:56
Cafe?

https://portableapps.com/node/13453

Would Cafe work? I like how it also allows an additional application by pressing the ALT key.

Aqualung
Offline
Last seen: 3 years 6 months ago
Joined: 2009-09-08 13:41
Win7

How would you do this for Windows 7 please?

dmb3777
Offline
Last seen: 14 years 9 months ago
Joined: 2010-03-01 23:30
Make Firefox Portable the Default With its Own Options

This solution will work fine if Portable Firefox Browser is running, or if a non-portable Firefox is NOT installed.

I just got updated to Firefox 3.5.8 for my portable version. However, even before that last update, when I was checking on clearing out Offline Storage in Firefox's 'Options' window, I explored a bit and came across the way to make Firefox Portable the default browser. The procedure is shown as follows:

1. Make sure that the Firefox that you want to make the default browser is running.
2. Click on 'Tools' and from the drop-down menu select 'Options'.
3. From the row of icons at the top of the 'Options' window, select 'Advanced'.
4. From the tabs just directly below that, make sure the 'General' tab is selected.
5. Now, near the bottom of the window in the 'System Defaults' section, click on the 'Check Now' button.
6. A window labeled 'Default Browser' will pop up and, if the browser is the default browser, the window will state: "Firefox is already set as your default browser." If the browser is not the default browser, the window will ask if you would like to make Firefox your default browser; click the 'Yes' button (the 'Default Browser' window will disappear), then click the 'OK' button at the bottom of the 'Options' window.

After that you should be all set.

dboki89
Offline
Last seen: 9 years 11 months ago
Joined: 2009-11-30 20:44
yes and NO

That will set the X:\PortableApps\FirefoxPortable\App\firefox\firefox.exe as your default web browser, NOT the X:\PortableApps\FirefoxPortable\FirefoxPortable.exe. Hence, you will only be able to mess up the Portability of FirefoxPortable... That's why this thread was originally created, and for the ways how to set the correct .exe as your default browser, you should read the posts above. DON'T DO THIS (your method) ON SOMEBODY ELSE'S COMPUTER, NOR ON A COMPUTER THAT HAS FIREFOX INSTALLED!

Note: for the paths to the executables of firefox, I assumed the default file locations. I think that is obvious Blum

My posts are old and likely no longer relevant.

jamvaru
Offline
Last seen: 7 months 1 day ago
Joined: 2009-08-20 15:39
or use seamonkey

having an all-in-one, like opera or seamonkey, kind of makes that problem moot...

one of the gripes i have with mozilla, firefox, thunderbird... they are slow as portables, and i find other programs more pleasant to use, such as chrome... i'm trying to use thunderbird, and will continue to, but will probably go back to opera, if seamonkey does not hold my interest...

strange that making it work is not so simple with firefox/thunderbird

they kind of suck... anyway

currently using chrome and tbird, have used opera, going to try seamonkey

later

;>jamvaru

3Spot
Offline
Last seen: 12 years 1 month ago
Joined: 2012-10-30 18:10
My batch scipt which makes firefox portable default browser

@echo off & color f0
setlocal ENABLEEXTENSIONS
setLocal DisableDelayedExpansion
echo please place this file where your firefoxportable.exe is
pause
rem set sciezka_ogolna=C:\\FIREFO~1\\
rem set portables2=APP\\FIREFOX\\FIREFOX.EXE
rem set ff_exe=pFirefox.exe
rem set sciezka=%sciezka_ogolna%%ff_exe%
rem C:\\FIREFO~1\\pFirefox.exe
rem set sciezka2=%sciezka_ogolna%%portables2%
rem C:\\FIREFO~1\\APP\\FIREFOX\\FIREFOX.EXE
rem Set directory=%directory::=/%
rem Set directory2=%directory:\=\\%
rem set katalog=%~s0
rem set directory3=%directory:\=\\%
rem set dupa=%~sd0
rem echo %dupa%
rem echo %sciezka% %sciezka2%
rem pause

set ff_exe=firefoxportable.exe
set sciezka_=%~sd0%~sp0FIREFO~1.EXE
set sciezka_n=%~d0%~p0firefoxportable.exe
set sciezka=%sciezka_n:\=\\%
set folderek=%~d0%~p0APP\FIREFOX\FIREFOX.EXE
set sciezka2=%folderek:\=\\%

rem set ff_exe=firefoxportable.exe
rem set sciezka_=%~sd0%~sp0FIREFO~1.EXE
rem set sciezka_n=%~d0%~p0firefoxportable.exe
rem set sciezka=%sciezka_:\=\\%
rem set folderek=%~sd0%~sp0APP\FIREFOX\FIREFOX.EXE
rem set sciezka2=%folderek:\=\\%

echo %ff_exe%
echo %sciezka_%
echo %sciezka_n%
echo %sciezka%
echo %folderek%
echo %sciezka2%

pause

echo REGEDIT4 >d.reg
echo. >>d.reg
echo [HKEY_CLASSES_ROOT\HTTP\shell\open\ddeexec] >>d.reg
echo @="" >>d.reg
echo. >>d.reg
echo. >>d.reg
echo [HKEY_CLASSES_ROOT\HTTP\shell\open\ddeexec\Application] >>d.reg
echo @="" >>d.reg
echo. >>d.reg
echo [HKEY_CLASSES_ROOT\HTTP\shell\open\ddeexec\Topic] >>d.reg
echo @="" >>d.reg
echo. >>d.reg
echo [HKEY_CLASSES_ROOT\https\shell\open\ddeexec] >>d.reg
echo @="" >>d.reg
echo "NoActivateHandler"="" >>d.reg
echo. >>d.reg
echo [HKEY_CLASSES_ROOT\https\shell\open\ddeexec\Application] >>d.reg
echo @="" >>d.reg
echo. >>d.reg
echo [HKEY_CLASSES_ROOT\https\shell\open\ddeexec\Topic] >>d.reg
echo @="" >>d.reg
echo. >>d.reg
echo [HKEY_CLASSES_ROOT\FirefoxURL\shell\open\ddeexec] >>d.reg
echo @="" >>d.reg
echo "NoActivateHandler"="" >>d.reg
echo. >>d.reg
echo [HKEY_CLASSES_ROOT\FirefoxURL\shell\open\ddeexec\Application] >>d.reg
echo @="" >>d.reg
echo. >>d.reg
echo [HKEY_CLASSES_ROOT\FirefoxURL\shell\open\ddeexec\Topic] >>d.reg
echo @="" >>d.reg
echo. >>d.reg
echo. >>d.reg
echo [HKEY_CLASSES_ROOT\FirefoxHTML\shell\open\ddeexec] >>d.reg
echo @="" >>d.reg
echo "NoActivateHandler"="" >>d.reg
echo. >>d.reg
echo [HKEY_CLASSES_ROOT\FirefoxHTML\shell\open\ddeexec\Application] >>d.reg
echo @="" >>d.reg
echo. >>d.reg
echo [HKEY_CLASSES_ROOT\FirefoxHTML\shell\open\ddeexec\Topic] >>d.reg
echo @="" >>d.reg
echo. >>d.reg
echo [-HKEY_CLASSES_ROOT\HTTP\shell\open\ddeexec] >>d.reg
echo echo. >>d.reg
echo [HKEY_CLASSES_ROOT\HTTP\shell\open\ddeexec\Application] >>d.reg
echo ""="FIREFOX" >>d.reg
echo. >>d.reg
echo [-HKEY_CLASSES_ROOT\https\shell\open\ddeexec] >>d.reg
echo. >>d.reg
echo [HKEY_CLASSES_ROOT\https\shell\open\ddeexec\Application] >>d.reg
echo ""="FIREFOX" >>d.reg
echo. >>d.reg
echo [-HKEY_CLASSES_ROOT\ftp\shell\open\ddeexec] >>d.reg
echo. >>d.reg
echo [HKEY_CLASSES_ROOT\ftp\shell\open\ddeexec\Application] >>d.reg
echo ""="FIREFOX" >>d.reg
echo. >>d.reg
echo [-HKEY_CLASSES_ROOT\gopher\shell\open\ddeexec] >>d.reg
echo. >>d.reg
echo [HKEY_CLASSES_ROOT\gopher\shell\open\ddeexec\Application] >>d.reg
echo ""="FIREFOX" >>d.reg
echo. >>d.reg
echo. >>d.reg
echo. >>d.reg
echo. >>d.reg
echo. >>d.reg
echo. >>d.reg
echo [HKEY_CLASSES_ROOT\FirefoxHTML]>>d.reg
echo @="Firefox Document">>d.reg
echo "FriendlyTypeName"="Firefox Document">>d.reg
echo.>>d.reg
echo [HKEY_CLASSES_ROOT\FirefoxHTML\DefaultIcon]>>d.reg
echo @="%sciezka%,1">>d.reg
echo.>>d.reg
echo [HKEY_CLASSES_ROOT\FirefoxHTML\shell]>>d.reg
echo.>>d.reg
echo [HKEY_CLASSES_ROOT\FirefoxHTML\shell\open]>>d.reg
echo.>>d.reg
echo [HKEY_CLASSES_ROOT\FirefoxHTML\shell\open\command]>>d.reg
echo @="%sciezka% -url \"%%1\"">>d.reg
echo.>>d.reg
echo [HKEY_CLASSES_ROOT\FirefoxHTML\shell\open\ddeexec]>>d.reg
echo @="\"%%1\",,0,0,,,,">>d.reg
echo "NoActivateHandler"="">>d.reg
echo.>>d.reg
echo [HKEY_CLASSES_ROOT\FirefoxHTML\shell\open\ddeexec\Application]>>d.reg
echo @="Firefox">>d.reg
echo.>>d.reg
echo [HKEY_CLASSES_ROOT\FirefoxHTML\shell\open\ddeexec\Topic]>>d.reg
echo @="WWW_OpenURL">>d.reg
echo.>>d.reg
echo [HKEY_CLASSES_ROOT\FirefoxURL]>>d.reg
echo @="Firefox URL">>d.reg
echo "FriendlyTypeName"="Firefox URL">>d.reg
echo "URL Protocol"="">>d.reg
echo "EditFlags"=dword:00000002>>d.reg
echo.>>d.reg
echo [HKEY_CLASSES_ROOT\FirefoxURL\DefaultIcon]>>d.reg
echo @="%sciezka%,1">>d.reg
echo.>>d.reg
echo [HKEY_CLASSES_ROOT\FirefoxURL\shell]>>d.reg
echo.>>d.reg
echo [HKEY_CLASSES_ROOT\FirefoxURL\shell\open]>>d.reg
echo.>>d.reg
echo [HKEY_CLASSES_ROOT\FirefoxURL\shell\open\command]>>d.reg
echo @="%sciezka%,1 -url \"%%1\"">>d.reg
echo.>>d.reg
echo [HKEY_CLASSES_ROOT\FirefoxURL\shell\open\ddeexec]>>d.reg
echo @="\"%%1\",,0,0,,,,">>d.reg
echo "NoActivateHandler"="">>d.reg
echo.>>d.reg
echo [HKEY_CLASSES_ROOT\FirefoxURL\shell\open\ddeexec\Application]>>d.reg
echo @="Firefox">>d.reg
echo.>>d.reg
echo [HKEY_CLASSES_ROOT\FirefoxURL\shell\open\ddeexec\Topic]>>d.reg
echo @="WWW_OpenURL">>d.reg
echo.>>d.reg
echo [HKEY_CLASSES_ROOT\HTTP]>>d.reg
echo @="URL:Protokół HTTP">>d.reg
echo "EditFlags"=dword:00000002>>d.reg
echo "Source Filter"="{E436EBB6-524F-11CE-9F53-0020AF0BA770}">>d.reg
echo "FriendlyTypeName"="@ieframe.dll,-903">>d.reg
echo "URL Protocol"="">>d.reg
echo.>>d.reg
echo [HKEY_CLASSES_ROOT\HTTP\AnimExtensions]>>d.reg
echo "."="dxmasf.dll,150">>d.reg
echo ".asf"="dxmasf.dll,150">>d.reg
echo ".asp"="dxmasf.dll,150">>d.reg
echo ".asx"="dxmasf.dll,150">>d.reg
echo ".nsc"="dxmasf.dll,150">>d.reg
echo ".wax"="dxmasf.dll,150">>d.reg
echo ".wm"="dxmasf.dll,150">>d.reg
echo ".wma"="dxmasf.dll,150">>d.reg
echo ".wmv"="dxmasf.dll,150">>d.reg
echo ".wmx"="dxmasf.dll,150">>d.reg
echo ".wvx"="dxmasf.dll,150">>d.reg
echo.>>d.reg
echo [HKEY_CLASSES_ROOT\HTTP\DefaultIcon]>>d.reg
echo @="%sciezka%,1">>d.reg
echo.>>d.reg
echo [HKEY_CLASSES_ROOT\HTTP\shell]>>d.reg
echo @="open">>d.reg
echo.>>d.reg
echo [HKEY_CLASSES_ROOT\HTTP\shell\open]>>d.reg
echo.>>d.reg
echo [HKEY_CLASSES_ROOT\HTTP\shell\open\command]>>d.reg
echo @="%sciezka% -url \"%%1\"">>d.reg
echo.>>d.reg
echo [HKEY_CLASSES_ROOT\HTTP\shell\open\ddeexec]>>d.reg
echo @="\"%%1\",,0,0,,,,">>d.reg
echo "NoActivateHandler"="">>d.reg
echo.>>d.reg
echo [HKEY_CLASSES_ROOT\HTTP\shell\open\ddeexec\Application]>>d.reg
echo @="Firefox">>d.reg
echo.>>d.reg
echo [HKEY_CLASSES_ROOT\HTTP\shell\open\ddeexec\Topic]>>d.reg
echo @="WWW_OpenURL">>d.reg
echo.>>d.reg
echo [HKEY_CLASSES_ROOT\https]>>d.reg
echo @="URL:Protokół HTTPS">>d.reg
echo "EditFlags"=dword:00000002>>d.reg
echo "Source Filter"="{E436EBB6-524F-11CE-9F53-0020AF0BA770}">>d.reg
echo "FriendlyTypeName"="@ieframe.dll,-904">>d.reg
echo "URL Protocol"="">>d.reg
echo.>>d.reg
echo [HKEY_CLASSES_ROOT\https\DefaultIcon]>>d.reg
echo @="%sciezka%,1">>d.reg
echo.>>d.reg
echo [HKEY_CLASSES_ROOT\https\shell]>>d.reg
echo @="open">>d.reg
echo.>>d.reg
echo [HKEY_CLASSES_ROOT\https\shell\open]>>d.reg
echo.>>d.reg
echo [HKEY_CLASSES_ROOT\https\shell\open\command]>>d.reg
echo @="%sciezka%,1 -url \"%%1\"">>d.reg
echo.>>d.reg
echo [HKEY_CLASSES_ROOT\https\shell\open\ddeexec]>>d.reg
echo @="\"%%1\",,0,0,,,,">>d.reg
echo "NoActivateHandler"="">>d.reg
echo.>>d.reg
echo [HKEY_CLASSES_ROOT\https\shell\open\ddeexec\Application]>>d.reg
echo @="Firefox">>d.reg
echo.>>d.reg
echo [HKEY_CLASSES_ROOT\https\shell\open\ddeexec\Topic]>>d.reg
echo @="WWW_OpenURL">>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\HTTP]>>d.reg
echo @="URL:Protokół HTTP">>d.reg
echo "EditFlags"=dword:00000002>>d.reg
echo "Source Filter"="{E436EBB6-524F-11CE-9F53-0020AF0BA770}">>d.reg
echo "FriendlyTypeName"="@ieframe.dll,-903">>d.reg
echo "URL Protocol"="">>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\HTTP\AnimExtensions]>>d.reg
echo "."="dxmasf.dll,150">>d.reg
echo ".asf"="dxmasf.dll,150">>d.reg
echo ".asp"="dxmasf.dll,150">>d.reg
echo ".asx"="dxmasf.dll,150">>d.reg
echo ".nsc"="dxmasf.dll,150">>d.reg
echo ".wax"="dxmasf.dll,150">>d.reg
echo ".wm"="dxmasf.dll,150">>d.reg
echo ".wma"="dxmasf.dll,150">>d.reg
echo ".wmv"="dxmasf.dll,150">>d.reg
echo ".wmx"="dxmasf.dll,150">>d.reg
echo ".wvx"="dxmasf.dll,150">>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\HTTP\DefaultIcon]>>d.reg
echo @="%sciezka%,1">>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\HTTP\shell]>>d.reg
echo @="open">>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\HTTP\shell\open]>>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\HTTP\shell\open\command]>>d.reg
echo @="%sciezka% -url \"%%1\"">>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\HTTP\shell\open\ddeexec]>>d.reg
echo @="\"%%1\",,0,0,,,,">>d.reg
echo "NoActivateHandler"="">>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\HTTP\shell\open\ddeexec\Application]>>d.reg
echo @="Firefox">>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\HTTP\shell\open\ddeexec\Topic]>>d.reg
echo @="WWW_OpenURL">>d.reg
echo.>>d.reg
echo.>>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\%ff_exe%]>>d.reg
echo @="Firefox Portable">>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\%ff_exe%\Capabilities]>>d.reg
echo "ApplicationDescription"="Firefox pozwala przeglądać strony WWW wygodniej i bezpieczniej. Znajomy interfejs, wzmocnione zabezpieczenia (m. in. przed kradzieżą tożsamości) oraz zintegrowana wyszukiwarka pozwalają efektywnie korzystać z zasobów Internetu.">>d.reg
echo "ApplicationIcon"="%~d0%~p0FirefoxPortable.exe,0">>d.reg
echo "ApplicationName"="Firefox">>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\%ff_exe%\Capabilities\FileAssociations]>>d.reg
echo ".htm"="FirefoxHTML">>d.reg
echo ".html"="FirefoxHTML">>d.reg
echo ".shtml"="FirefoxHTML">>d.reg
echo ".xht"="FirefoxHTML">>d.reg
echo ".xhtml"="FirefoxHTML">>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\%ff_exe%\Capabilities\StartMenu]>>d.reg
echo "StartMenuInternet"="%ff_exe%">>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\%ff_exe%\Capabilities\URLAssociations]>>d.reg
echo "ftp"="FirefoxURL">>d.reg
echo "gopher"="FirefoxURL">>d.reg
echo "http"="FirefoxURL">>d.reg
echo "https"="FirefoxURL">>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\%ff_exe%\DefaultIcon]>>d.reg
echo @="%sciezka%,0">>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\%ff_exe%\shell]>>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\%ff_exe%\shell\open]>>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\%ff_exe%\shell\open\command]>>d.reg
echo @="%sciezka%">>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\%ff_exe%\shell\properties]>>d.reg
echo @="&Opcje programu Firefox">>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\%ff_exe%\shell\properties\command]>>d.reg
echo @="%sciezka% -preferences">>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\%ff_exe%\shell\safemode]>>d.reg
echo @="Firefox - &tryb awaryjny">>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\%ff_exe%\shell\safemode\command]>>d.reg
echo @="%sciezka% -safe-mode">>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.shtml] >>d.reg
echo @="FirefoxHTML" >>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.xht] >>d.reg
echo @="FirefoxHTML" >>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.xhtm] >>d.reg
echo @="FirefoxHTML" >>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.xhtml] >>d.reg
echo @="FirefoxHTML" >>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.htm] >>d.reg
echo @="FirefoxHTML" >>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.html] >>d.reg
echo @="FirefoxHTML" >>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FirefoxHTML\DefaultIcon] >>d.reg
echo @="%sciezka%,1" >>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FirefoxHTML\shell\open\command] >>d.reg
echo @="%sciezka% -url \"%1\"" >>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ftp\DefaultIcon] >>d.reg
echo @="%sciezka%,1" >>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ftp\shell\open\command] >>d.reg
echo @="%sciezka% -url \"%1\"" >>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\gopher\DefaultIcon] >>d.reg
echo @="%sciezka%,1" >>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\gopher\shell\open\command] >>d.reg
echo @="%sciezka% -url \"%1\"" >>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\http\DefaultIcon] >>d.reg
echo @="%sciezka%,1" >>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\http\shell\open\command]>>d.reg
echo @="%sciezka% -url \"%1\"" >>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\https\DefaultIcon] >>d.reg
echo @="%sciezka%,1" >>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\https\shell\open\command] >>d.reg
echo @="%sciezka% -url \"%1\"" >>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CHROME\DefaultIcon] >>d.reg
echo @="%sciezka%,1" >>d.reg
echo.>>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CHROME\shell\open\command] >>d.reg
echo @="%sciezka% -url \"%1\"" >>d.reg
echo.>>d.reg
echo [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main] >>d.reg
echo "Check_Associations"="No" >>d.reg
echo "IgnoreDefCheck"="Yes" >>d.reg
echo. >>d.reg
echo. >>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.shtml] >>d.reg
echo @="FirefoxHTML" >>d.reg
echo. >>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.xht] >>d.reg
echo @="FirefoxHTML" >>d.reg
echo. >>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.xhtm] >>d.reg
echo @="FirefoxHTML" >>d.reg
echo. >>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.xhtml] >>d.reg
echo @="FirefoxHTML" >>d.reg
echo. >>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.htm] >>d.reg
echo @="FirefoxHTML" >>d.reg
echo. >>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.html] >>d.reg
echo @="FirefoxHTML" >>d.reg
echo. >>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FirefoxHTML\DefaultIcon] >>d.reg
echo @="%sciezka%,1" >>d.reg
echo. >>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FirefoxHTML\shell\open\command] >>d.reg
echo @="%sciezka% -url \"%1\"" >>d.reg
echo. >>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ftp\DefaultIcon] >>d.reg
echo @="%sciezka%,1" >>d.reg
echo. >>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ftp\shell\open\command] >>d.reg
echo @="%sciezka% -url \"%1\"" >>d.reg
echo. >>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\gopher\DefaultIcon] >>d.reg
echo @="%sciezka%,1" >>d.reg
echo. >>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\gopher\shell\open\command] >>d.reg
echo @="%sciezka% -url \"%1\"" >>d.reg
echo. >>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\http\DefaultIcon] >>d.reg
echo @="%sciezka%,1" >>d.reg
echo. >>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\http\shell\open\command] >>d.reg
echo @="%sciezka% -url \"%1\"" >>d.reg
echo. >>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\https\DefaultIcon] >>d.reg
echo @="%sciezka%,1" >>d.reg
echo. >>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\https\shell\open\command] >>d.reg
echo @="%sciezka% -url \"%1\"" >>d.reg
echo. >>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CHROME\DefaultIcon] >>d.reg
echo @="%sciezka%,1" >>d.reg
echo. >>d.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CHROME\shell\open\command] >>d.reg
echo @="%sciezka% -url \"%1\"" >>d.reg
echo. >>d.reg
echo [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main] >>d.reg
echo "Check_Associations"="No" >>d.reg
echo "IgnoreDefCheck"="Yes" >>d.reg
echo. >>d.reg
echo.
echo.
echo.

regedit /s d.reg
del d.reg /q

Log in or register to post comments