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