MSFN Forum: [SOLVED] Make Thunderbird Default Mail Client - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[SOLVED] Make Thunderbird Default Mail Client Rate Topic: -----

#1 User is offline   kal 

  • Member
  • PipPip
  • Group: Members
  • Posts: 114
  • Joined: 07-March 04

Posted 26 January 2007 - 04:02 PM

Hello,

I've searched during two hours now on the net a simple method to get Thunderbird 1.5 (or 2.0 beta2 if you prefer) my default make client.

I've found this :

SET KEY=HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Mozilla Thunderbird

REG ADD HKEY_CURRENT_USER\Software\Clients\mail /ve /t REG_SZ /D "Mozilla Thunderbird"
REG ADD HKEY_USERS\.Default\Software\Clients\mail /ve /t REG_SZ /D "Mozilla Thunderbird"

REG ADD "%KEY%" /ve /t REG_SZ /D "Mozilla Thunderbird" /f
REG ADD "%KEY%" /v "DLLPath" /t REG_SZ /D "%PROGRAMFILES%\Mozilla Thunderbird Beta 2\mozMapi32.dll" /f
REG ADD "%KEY%\DefaultIcon" /ve /t REG_SZ /D "%PROGRAMFILES%\Mozilla Thunderbird Beta 2\thunderbird.exe,0" /f
REG ADD "%KEY%\shell\open\command" /ve /t REG_SZ /D "%PROGRAMFILES%\Mozilla Thunderbird Beta 2\thunderbird.exe -mail" /f
REG ADD "%KEY%\shell\properties" /ve /t REG_SZ /D "Thunderbird &Options" /f
REG ADD "%KEY%\shell\properties\command" /ve /t REG_SZ /D "%PROGRAMFILES%\Mozilla Thunderbird Beta 2\thunderbird.exe -options" /f
REG ADD "%KEY%\protocols\mailto" /ve /t REG_SZ /D "URL:MailTo Protocol" /f
REG ADD "%KEY%\protocols\mailto" /v "URL Protocol" /t REG_SZ /D "" /f
REG ADD "%KEY%\protocols\mailto\DefaultIcon" /ve /t REG_SZ /D "%PROGRAMFILES%\Mozilla Thunderbird Beta 2\thunderbird.exe,0" /f
REG ADD "%KEY%\protocols\mailto\shell\open\command" /ve /t REG_SZ /D "%PROGRAMFILES%\Mozilla Thunderbird Beta 2\thunderbird.exe -compose" /f


But it doesn't work. Thunderbird still ask me if i want it to be my default mail client on first launch. I've heard about this method too :

Quote

thunderbird.exe -silent -nosplash -setDefaultMail


But it just launch Thunderbird. It doesn't make it my default mail client.

Do you know guys a way to do that ?

Thank you,
Kal

This post has been edited by kal: 27 January 2007 - 10:25 AM



#2 User is offline   kal 

  • Member
  • PipPip
  • Group: Members
  • Posts: 114
  • Joined: 07-March 04

Posted 27 January 2007 - 10:24 AM

I solved it by making my own registry setting.

Here is the file :

thunderbird.cmd:
SET KEY=%CLIENTS%\Mail\Mozilla Thunderbird
SET CLIENTS=HKEY_LOCAL_MACHINE\SOFTWARE\Clients
SET CLASSES=HKEY_LOCAL_MACHINE\SOFTWARE\Classes

REG ADD HKEY_CURRENT_USER\Software\Clients\mail /ve /t REG_SZ /D "Mozilla Thunderbird" /f
REG ADD HKEY_USERS\.Default\Software\Clients\mail /ve /t REG_SZ /D "Mozilla Thunderbird" /f

REG ADD "%KEY%" /ve /t REG_SZ /D "Mozilla Thunderbird" /f
REG ADD "%KEY%" /v "DLLPath" /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\mozMapi32.dll" /f
REG ADD "%KEY%\DefaultIcon" /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE,0" /f
REG ADD "%KEY%\shell\open\command" /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE -mail" /f
REG ADD "%KEY%\shell\properties" /ve /t REG_SZ /D "Thunderbird &Options" /f
REG ADD "%KEY%\shell\properties\command" /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE -options" /f
REG ADD "%KEY%\protocols\mailto" /ve /t REG_SZ /D "URL:MailTo Protocol" /f
REG ADD "%KEY%\protocols\mailto" /v "URL Protocol" /t REG_SZ /D "" /f
REG ADD "%KEY%\protocols\mailto\DefaultIcon" /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE,0" /f
REG ADD "%KEY%\protocols\mailto\shell\open\command" /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE -compose" /f


REG DELETE %CLASSES%\mailto\ /v "EditFlags" /f

REG ADD %CLASSES%\.eml /ve /t REG_SZ /D "" /f
REG ADD %CLASSES%\.eml\DefaultIcon /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE,0" /f
REG ADD %CLASSES%\.eml\shell\open\command /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE \"%%1\"" /f

REG ADD %CLASSES%\CLSID\{29F458BE-8866-11D5-A3DD-00B0D0F3BAA7}\LocalServer32 /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE /MAPIStartUp" /f

REG ADD %CLASSES%\mailto /ve /t REG_SZ /D "URL:MailTo Protocol" /f
REG ADD %CLASSES%\mailto /v "URL Protocol" /t REG_SZ /D "" /f
REG ADD %CLASSES%\mailto\DefaultIcon /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE,0" /f
REG ADD %CLASSES%\mailto\shell\open\command /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE -compose %%1" /f

REG ADD "%CLIENTS%\Mail" /ve /t REG_SZ /D "Mozilla Thunderbird" /f

REG ADD "%CLIENTS%\Mail\Mozilla Thunderbird" /v "DLLPath" /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\mozMapi32.dll" /f

REG ADD "%CLIENTS%\Mail\Mozilla Thunderbird\.eml" /ve /t REG_SZ /D "" /f
REG ADD "%CLIENTS%\Mail\Mozilla Thunderbird\.eml" /v "Content Type" /t REG_SZ /D "message/rfc822" /f
REG ADD "%CLIENTS%\Mail\Mozilla Thunderbird\.eml\DefaultIcon" /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE,0" /f
REG ADD "%CLIENTS%\Mail\Mozilla Thunderbird\.eml\shell\open\command" /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE \"%%1\"" /f

REG ADD "%CLIENTS%\Mail\Mozilla Thunderbird\DefaultIcon" /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE,0" /f

REG ADD "%CLIENTS%\Mail\Mozilla Thunderbird\protocols\mailto" /v "URL Protocol" /t REG_SZ /D "" /f
REG ADD "%CLIENTS%\Mail\Mozilla Thunderbird\protocols\mailto\DefaultIcon" /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE,0" /f
REG ADD "%CLIENTS%\Mail\Mozilla Thunderbird\protocols\mailto\shell\open\command" /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE -compose %%1" /f

REG ADD "%CLIENTS%\Mail\Mozilla Thunderbird\shell\open\command" /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE -mail" /f
REG ADD "%CLIENTS%\Mail\Mozilla Thunderbird\shell\properties" /ve /t REG_SZ /D "" /f
REG ADD "%CLIENTS%\Mail\Mozilla Thunderbird\shell\properties\command" /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE -options" /f


REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla Thunderbird\Desktop" /v "defaultMailHasBeenSet" /t REG_SZ /D "1" /f
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla Thunderbird\Desktop" /v "%CLIENTS%\Mail" /t REG_SZ /D "Mozilla Thunderbird" /f
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla Thunderbird\Desktop" /v "HKEY_CURRENT_USER\Software\Clients\Mail" /t REG_SZ /D "Mozilla Thunderbird" /f


To avoid thunderbird asking me if i want to import settings from other mail client at first launch, i create a profile silently durring RunOnceExe like this :
REG ADD %KEY%55 /V 2 /D "\"%ProgramFiles%\Mozilla thunderbird\thunderbird.exe\" -CreateProfile sweet" /f


"sweet" is just a basename, and the profile directoy will get a name like this : epe9ne7d.sweet

Kal

#3 User is offline   hfrfc 

  • Junior
  • Pip
  • Group: Members
  • Posts: 56
  • Joined: 04-February 05

Posted 15 March 2007 - 08:01 AM

thx a lot !
this setting is hard to find

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy