Jump to content

mozilla comprehensive registry keys


prathapml

Recommended Posts

registry keys required for mozilla Firefox 1.0 and ThunderBird 0.9

Here they are.

If someone can reduce the size of this text (its too big), and then make an INF of it, it'd greatly improve usability. The reason I propose an INF is that then we can use system variables like %ProgramFiles% (or is it %10%), which is not possible with this .REG method. All we'd need to do, is make an SFX archive which will extract itself to "%ProgramFiles%\Mozilla\" and then apply the INF.

Windows Registry Editor Version 5.00



;==============================; general Mozilla app settings

[HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla]
@=""
[HKEY_LOCAL_MACHINE\Software\Mozilla\Mozilla]
"CurrentVersion"="1.7.5"
[HKEY_LOCAL_MACHINE\SOFTWARE\mozilla.org\Mozilla]
"CurrentVersion"="1.7.5"

;==============================
;regkeys for FireFox 1.0 to make sure most plugins, like flash etc., install correctly
;Make sure these are added before installing the plugins


[HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla Firefox 1.0]
"GeckoVer"="1.0.1"
[HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla Firefox 1.0\bin]
"PathToExe"="%ProgramFiles%\\Mozilla\\Firefox\\firefox.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla Firefox 1.0\Extensions]
"Components"="%ProgramFiles%\\Mozilla\\Firefox\\Components"
"Plugins"="%ProgramFiles%\\Mozilla\\Firefox\\Plugins"


[HKEY_LOCAL_MACHINE\Software\Mozilla\Mozilla Firefox]
@=""
"CurrentVersion"="1.0 (en-US)"
"Reset Home Page"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla Firefox\1.0 (en-US)]
@=""

[HKEY_LOCAL_MACHINE\Software\Mozilla\Mozilla Firefox\1.0 (en-US)\Main]
"Create Desktop Shortcut"=dword:00000000
"Create Start Menu Shortcut"=dword:00000001
"Create Quick Launch Shortcut"=dword:00000000
"Install Directory"="%ProgramFiles%\\Mozilla\\Firefox\\"
"PathToExe"="%ProgramFiles%\\Mozilla\\Firefox\\firefox.exe"
"Program Folder Path"="C:\\Documents and Settings\\All Users\\Start Menu\\Programs\\Mozilla\\"

;==============================
;regkeys for ThunderBird 0.9

[HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla Thunderbird]
@=""
"CurrentVersion"="0.9 (en)"
[HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla Thunderbird\0.9 (en)]
@=""
[HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla Thunderbird 0.9\bin]
"PathToExe"="%ProgramFiles%\\Mozilla\\Thunderbird\\thunderbird.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla Thunderbird\0.9 (en)\Main]
"Create Desktop Shortcut"=dword:00000000
"Create Start Menu Shortcut"=dword:00000001
"Create Quick Launch Shortcut"=dword:00000000
"Install Directory"="%ProgramFiles%\\Mozilla\\Thunderbird\\"
"PathToExe"="%ProgramFiles%\\Mozilla\\Thunderbird\\thunderbird.exe"
"Program Folder Path"="C:\\Documents and Settings\\All Users\\Start Menu\\Programs\\Mozilla\\"

[HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla Thunderbird\Desktop]
"showMapiDialog"="1"
"HKEY_LOCAL_MACHINE\\Software\\Clients\\Mail"=""
"HKEY_CURRENT_USER\\Software\\Clients\\Mail"="Mozilla Thunderbird"
"registeredAsMailApp"="0"
"defaultMailHasBeenSet"="0"


;==============================
; Give details to make Thunderbird the default e-mail client


[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Mozilla Thunderbird]
@="Mozilla Thunderbird"
"DLLPath"="C:\\PROGRA~1\\Mozilla\\Thunderbird\\mozMapi32.dll"
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Mozilla Thunderbird\DefaultIcon]
@="C:\\PROGRA~1\\Mozilla\\Thunderbird\\thunderbird.exe,0"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Mozilla Thunderbird\shell\open\command]
@="C:\\PROGRA~1\\Mozilla\\Thunderbird\\thunderbird.exe -mail"
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Mozilla Thunderbird\shell\properties]
@="Thunderbird &Options"
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Mozilla Thunderbird\shell\properties\command]
@="C:\\PROGRA~1\\Mozilla\\Thunderbird\\thunderbird.exe -options"
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Mozilla Thunderbird\shell\profile]
@="&Profile Manager"
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Mozilla Thunderbird\shell\profile\command]
@="C:\\PROGRA~1\\Mozilla\\Thunderbird\\thunderbird.exe -ProfileManager"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Mozilla Thunderbird\protocols\mailto]
@="URL:MailTo Protocol"
"URL Protocol"=""
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Mozilla Thunderbird\protocols\mailto\DefaultIcon]
@="C:\\Program Files\\Mozilla\\Thunderbird\\thunderbird.exe,0"
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Mozilla Thunderbird\protocols\mailto\shell\open\command]
@="C:\\Program Files\\Mozilla Thunderbird\\thunderbird.exe -compose \"%1\""

;==============================
; offer Firefox as an option on the "Internet" Sticky app on WinXP Start Menu

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\firefox.exe]
@="Mozilla Firefox"
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\firefox.exe\DefaultIcon]
@="C:\\Program Files\\Mozilla\\Firefox\\firefox.exe,0"
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\firefox.exe\shell\open\command]
@="\"C:\\Program Files\\Mozilla\\Firefox\\firefox.exe\""

;==============================

Link to comment
Share on other sites


Don't bother with switches, and such for mozilla install.

What I do is to install firefox and thunderbird, within C:\program files\Mozilla, then clean up that by deleting the \uninstaller and any other useless files/logs. Have it copied to the unattended install with folder structure directly ($OEM$\$Progs\Mozilla\).

and then apply the .REG found here.

That's far simpler, and it does the same function as the installer. Only difference is you won't be able to uninstall firefox/thunderbird, but then who needs an uninstaller when directly deleting the folder does the job.

INF please! :hello:

Link to comment
Share on other sites

I'm going to set this up so Firefox and Thunderbird have their own sections which can be invoked individually or as a whole. That way, if you're like me and don't use Thunderbird, it won't add the Thunderbird registry entries.

Link to comment
Share on other sites

As a straight conversion, probably something like this would do, but, as the man says, it would be better in individual sections!

*EDIT*This code has  been removed, due to better and more up to date stuff later on in the thread

Link to comment
Share on other sites

wow, that's way more complex than what I did. Anybody want to try this out and see if it works?

Removed. See my post later in the thread for a newer version.

You should be able to call the DefaultInstall section if you want to create the entries for both Firefox and Thunderbird or you can call the individual Firefox/Thunderbird sections if you only want one individual app.

So, who wants to confirm that this works?

Link to comment
Share on other sites

@ RyanVM

I know, and it only took 73 seconds...!

Yours is much better though, even though I get sick of seeing all those 0s

REG_SZ = 0x00000 or 0x00 or 0 would work

REG_DWORD  = 0x10001 is smaller too

Yeah, I could cut those extraneous numbers out, but I like consistency :P

Link to comment
Share on other sites

can we add these to nlite.inf?
If nlite.inf is a set of registry keys, then yes.

But its better to have it separate.

what is the purpose of these keys
A good thumb-rule to follow here:

If you don't understand what something is, then its not for you. And if you keep staring at something long enough, eventually you begin to understand it.

Just for better understanding of this topic, here's a link to a similar topic - this one is also for the same purpose - How-to for maxthon config

In other words, I want to just extract the installed mozilla/maxthon and then apply this INF. And be done with it, instead of bothering myself to death over complex installation methods. And I daresay that objective has now been achieved! :D

And hey, does anyone have any idea about what's up with this?

Executing this at the command-line:

rundll32 setupapi,InstallHinfSection DefaultInstall 128 "%ProgramFiles%\any\any.inf"

That returns an error box saying "Installation failed". I'm sure the INF is proper, and that it used to work previously. Only now, suddenly it is acting up like this - could XPSP2 have something to with this? (different entry-points, etc.?)

Link to comment
Share on other sites

I saw a FF installer in a different thread, where you take your current FF installation, and it saves it, and makes a silent EXE.

But I want to try this way. I just have one question.

What about all the Data thats in Docuemnts and Settings/username/Application Data/Mozilla/....etc..

Doesn't all that need to be brought over somehow?

Link to comment
Share on other sites

Good! Things should get simpler as you move forward, not complicate themselves. And this is as simple as it gets. :yes:

What about all the Data thats in Docuemnts and Settings/username/Application Data/Mozilla/....etc..

Doesn't all that need to be brought over somehow?

You don't need all that "Data".

But if you've customized your Mozilla (or firefox or thunderbird) a lot, and insist on keeping old files, this is what you can do:

Put "C:\Documents and Settings\username\Application Data\Mozilla\" on your unattend CD in this folder structure:

"$OEM$\$Docs\Default User\Application Data\Mozilla\"

"$OEM$\$Docs\Default User\Application Data\firefox\"

"$OEM$\$Docs\Default User\Application Data\W-H-A-T-E-V-E-R"

(I guess it is self-explanatory - the files will get DIRECTLY copied over, and into the default-user profile, so that *ALL* users that you create will have the customized settings of firefox/tb/whatever.) You can follow same method for other apps that store their config in that path, as well.

Hoping this helps....

Link to comment
Share on other sites

What about stuff like this then? Also in registry, due to install of Real Alternative 1.2.9.0, does it also need adding here or will it be created automatically on first run /use:

[DefaultInstall]
AddReg=Real.AddReg

[Real.AddReg]
HKLM,%nppl%,Path,0,"%16422%\Real Alternative\Browser\Plugins\nppl3260.dll"
HKLM,%nppl%,Product,0,RealPlayer
HKLM,%nppl%,Version,0,%npplver%
HKLM,%nppl%,Description,0,"RealMedia Plugin"
HKLM,%nppl%,Vendor,0,RealNetworks
HKLM,%nppl%,XPTPath,0,"%16422%\Real Alternative\browser\components\nppl3260.xpt"

HKLM,%nppl%\MimeTypes\audio/x-pn-realaudio-plugin,Suffixes,0,rpm
HKLM,%nppl%\MimeTypes\audio/x-pn-realaudio-plugin,Description,0,"RealPlayer(tm) as Plugin (*.rpm)"

HKLM,%nppl%\Suffixes,rpm,0,""

HKLM,%nprpj%,Path,0,"%16422%\Real Alternative\Browser\Plugins\nprpjplug.dll"
HKLM,%nprpj%,Product,0,RealPlayer
HKLM,%nprpj%,Version,0,%nprpjver%
HKLM,%nprpj%,Description,0,%nprpjver%
HKLM,%nprpj%,Vendor,0,RealNetworks

HKLM,%nprpj%\MimeTypes\application/vnd.rn-realplayer-javascript,Suffixes,0,rpj
HKLM,%nprpj%\MimeTypes\application/vnd.rn-realplayer-javascript,Description,0,"RealPlayer Version Plugin(*.rpj)"

HKLM,%nprpj%\Suffixes,rpj,0,""

HKLM,%nsJSver%,XPTPath,0,"%16422%\Real Alternative\browser\components\nsJSRealPlayerPlugin.xpt"

[Strings]
npplver="6.0.11.2027"
nprpjver="6.0.12.1040"
nppl="SOFTWARE\MozillaPlugins\@real.com/nppl3260;version=6.0.11.2027"
nprpj="SOFTWARE\MozillaPlugins\@real.com/nprpjplug;version=6.0.12.1040"
nsJSver="SOFTWARE\MozillaPlugins\@real.com/nsJSRealPlayerPlugin;version="

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...