kal Posted January 26, 2007 Share Posted January 26, 2007 (edited) 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 ThunderbirdREG 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" /fREG ADD "%KEY%" /v "DLLPath" /t REG_SZ /D "%PROGRAMFILES%\Mozilla Thunderbird Beta 2\mozMapi32.dll" /fREG ADD "%KEY%\DefaultIcon" /ve /t REG_SZ /D "%PROGRAMFILES%\Mozilla Thunderbird Beta 2\thunderbird.exe,0" /fREG ADD "%KEY%\shell\open\command" /ve /t REG_SZ /D "%PROGRAMFILES%\Mozilla Thunderbird Beta 2\thunderbird.exe -mail" /fREG ADD "%KEY%\shell\properties" /ve /t REG_SZ /D "Thunderbird &Options" /fREG ADD "%KEY%\shell\properties\command" /ve /t REG_SZ /D "%PROGRAMFILES%\Mozilla Thunderbird Beta 2\thunderbird.exe -options" /fREG ADD "%KEY%\protocols\mailto" /ve /t REG_SZ /D "URL:MailTo Protocol" /fREG ADD "%KEY%\protocols\mailto" /v "URL Protocol" /t REG_SZ /D "" /fREG ADD "%KEY%\protocols\mailto\DefaultIcon" /ve /t REG_SZ /D "%PROGRAMFILES%\Mozilla Thunderbird Beta 2\thunderbird.exe,0" /fREG ADD "%KEY%\protocols\mailto\shell\open\command" /ve /t REG_SZ /D "%PROGRAMFILES%\Mozilla Thunderbird Beta 2\thunderbird.exe -compose" /fBut 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 :thunderbird.exe -silent -nosplash -setDefaultMailBut 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 Edited January 27, 2007 by kal Link to comment Share on other sites More sharing options...
kal Posted January 27, 2007 Author Share Posted January 27, 2007 I solved it by making my own registry setting.Here is the file :thunderbird.cmd:SET KEY=%CLIENTS%\Mail\Mozilla ThunderbirdSET CLIENTS=HKEY_LOCAL_MACHINE\SOFTWARE\ClientsSET CLASSES=HKEY_LOCAL_MACHINE\SOFTWARE\ClassesREG ADD HKEY_CURRENT_USER\Software\Clients\mail /ve /t REG_SZ /D "Mozilla Thunderbird" /fREG ADD HKEY_USERS\.Default\Software\Clients\mail /ve /t REG_SZ /D "Mozilla Thunderbird" /fREG ADD "%KEY%" /ve /t REG_SZ /D "Mozilla Thunderbird" /fREG ADD "%KEY%" /v "DLLPath" /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\mozMapi32.dll" /fREG ADD "%KEY%\DefaultIcon" /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE,0" /fREG ADD "%KEY%\shell\open\command" /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE -mail" /fREG ADD "%KEY%\shell\properties" /ve /t REG_SZ /D "Thunderbird &Options" /fREG ADD "%KEY%\shell\properties\command" /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE -options" /fREG ADD "%KEY%\protocols\mailto" /ve /t REG_SZ /D "URL:MailTo Protocol" /fREG ADD "%KEY%\protocols\mailto" /v "URL Protocol" /t REG_SZ /D "" /fREG ADD "%KEY%\protocols\mailto\DefaultIcon" /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE,0" /fREG ADD "%KEY%\protocols\mailto\shell\open\command" /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE -compose" /fREG DELETE %CLASSES%\mailto\ /v "EditFlags" /fREG ADD %CLASSES%\.eml /ve /t REG_SZ /D "" /fREG ADD %CLASSES%\.eml\DefaultIcon /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE,0" /fREG ADD %CLASSES%\.eml\shell\open\command /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE \"%%1\"" /fREG ADD %CLASSES%\CLSID\{29F458BE-8866-11D5-A3DD-00B0D0F3BAA7}\LocalServer32 /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE /MAPIStartUp" /fREG ADD %CLASSES%\mailto /ve /t REG_SZ /D "URL:MailTo Protocol" /fREG ADD %CLASSES%\mailto /v "URL Protocol" /t REG_SZ /D "" /fREG ADD %CLASSES%\mailto\DefaultIcon /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE,0" /fREG ADD %CLASSES%\mailto\shell\open\command /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE -compose %%1" /fREG ADD "%CLIENTS%\Mail" /ve /t REG_SZ /D "Mozilla Thunderbird" /fREG ADD "%CLIENTS%\Mail\Mozilla Thunderbird" /v "DLLPath" /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\mozMapi32.dll" /fREG ADD "%CLIENTS%\Mail\Mozilla Thunderbird\.eml" /ve /t REG_SZ /D "" /fREG ADD "%CLIENTS%\Mail\Mozilla Thunderbird\.eml" /v "Content Type" /t REG_SZ /D "message/rfc822" /fREG ADD "%CLIENTS%\Mail\Mozilla Thunderbird\.eml\DefaultIcon" /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE,0" /fREG ADD "%CLIENTS%\Mail\Mozilla Thunderbird\.eml\shell\open\command" /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE \"%%1\"" /fREG ADD "%CLIENTS%\Mail\Mozilla Thunderbird\DefaultIcon" /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE,0" /fREG ADD "%CLIENTS%\Mail\Mozilla Thunderbird\protocols\mailto" /v "URL Protocol" /t REG_SZ /D "" /fREG ADD "%CLIENTS%\Mail\Mozilla Thunderbird\protocols\mailto\DefaultIcon" /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE,0" /fREG 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" /fREG ADD "%CLIENTS%\Mail\Mozilla Thunderbird\shell\open\command" /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE -mail" /fREG ADD "%CLIENTS%\Mail\Mozilla Thunderbird\shell\properties" /ve /t REG_SZ /D "" /fREG ADD "%CLIENTS%\Mail\Mozilla Thunderbird\shell\properties\command" /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE -options" /fREG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla Thunderbird\Desktop" /v "defaultMailHasBeenSet" /t REG_SZ /D "1" /fREG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla Thunderbird\Desktop" /v "%CLIENTS%\Mail" /t REG_SZ /D "Mozilla Thunderbird" /fREG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla Thunderbird\Desktop" /v "HKEY_CURRENT_USER\Software\Clients\Mail" /t REG_SZ /D "Mozilla Thunderbird" /fTo 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.sweetKal Link to comment Share on other sites More sharing options...
hfrfc Posted March 15, 2007 Share Posted March 15, 2007 thx a lot !this setting is hard to find Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now