[wpkg-users] TB as default mail client, helper.exe way...
chiddie
claudio.ghirardi at geniaware.com
Mon Jan 16 15:00:23 CET 2012
Marco Gaiarin wrote:
>
>
> [XP sp3 32 bit]
>
> I've found that the wpkg wiki proposed way of making FF the default
> application, so:
>
> "%ProgramFiles%\Mozilla Firefox\uninstall\helper.exe"
> /SetAsDefaultAppGlobal
>
> works also for TB:
>
> "%ProgramFiles%\Mozilla Thunderbird\uninstall\helper.exe"
> /SetAsDefaultAppGlobal
>
>
> If i run on a command shell, from the same user that run WPKG (SYSTEM),
> i get no warning at all, do what expected and %ERRORLEVEL% are 0.
>
> If i run from WPKG, seems to do what expected but return error 2.
>
>
> I've mapped error 2 to a good exit status, but someone have at least a
> clue for that?
>
>
> Thanks.
>
> --
> dott. Marco Gaiarin GNUPG Key ID: 240A3D66
> Associazione ``La Nostra Famiglia'' http://www.sv.lnf.it/
> Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN)
> marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797
>
> Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
> http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
> (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
> -------------------------------------------------------------------------
> wpkg-users mailing list archives >>
> http://lists.wpkg.org/pipermail/wpkg-users/
> _______________________________________________
> wpkg-users mailing list
> wpkg-users at lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/wpkg-users
>
>
I solved in a different way.
I created a .reg file (thunderbird.reg, for example), containing the
following lines:
===================================================
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\mailto]
@="URL:MailTo Protocol"
"URL Protocol"=""
[HKEY_CLASSES_ROOT\mailto\DefaultIcon]
@="%ProgramFiles(x86)%\Mozilla Thunderbird\thunderbird.exe,0"
[HKEY_CLASSES_ROOT\mailto\shell\open\command]
@="%ProgramFiles(x86)%\Mozilla Thunderbird\thunderbird.exe -compose %1"
[HKEY_CLASSES_ROOT\news]
@="URL:News Protocol"
"URL Protocol"=""
[HKEY_CLASSES_ROOT\news\DefaultIcon]
@="%ProgramFiles(x86)%\Mozilla Thunderbird\thunderbird.exe,0"
[HKEY_CLASSES_ROOT\news\shell\open\command]
@="%ProgramFiles(x86)%\Mozilla Thunderbird\thunderbird.exe -mail %1"
[HKEY_CLASSES_ROOT\nntp]
@="URL:NNTP Protocol"
"URL Protocol"=""
[HKEY_CLASSES_ROOT\nntp\DefaultIcon]
@="%ProgramFiles(x86)%\Mozilla Thunderbird\thunderbird.exe,0"
[HKEY_CLASSES_ROOT\nntp\shell\open\command]
@="%ProgramFiles(x86)%\Mozilla Thunderbird\thunderbird.exe -mail %1"
[HKEY_CLASSES_ROOT\snews]
@="URL:Snews Protocol"
"URL Protocol"=""
[HKEY_CLASSES_ROOT\snews\DefaultIcon]
@="%ProgramFiles(x86)%\Mozilla Thunderbird\thunderbird.exe,0"
[HKEY_CLASSES_ROOT\snews\shell\open\command]
@="%ProgramFiles(x86)%\Mozilla Thunderbird\thunderbird.exe -mail %1"
[HKEY_CURRENT_USER\Software\Clients\Mail]
@="Mozilla Thunderbird"
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail]
@="Mozilla Thunderbird"
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News]
@="Mozilla Thunderbird"
================================================
i then added an install line for the package:
<install cmd='regedit /s "\\servername\wpkg\software\Mozilla
Thunderbird\thunderbird.reg"' />
that was enough for me.
--
View this message in context: http://old.nabble.com/TB-as-default-mail-client%2C-helper.exe-way...-tp33147092p33147648.html
Sent from the WPKG - Users mailing list archive at Nabble.com.
More information about the wpkg-users
mailing list