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 :
CODE
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
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