[prev in list] [next in list] [prev in thread] [next in thread]
List: wpkg-users
Subject: Re: [wpkg-users] Prevent Firefox 31 ESR to be installed as default PDF viewer?
From: Marco Gaiarin <gaio () sv ! lnf ! it>
Date: 2014-10-21 7:55:31
Message-ID: 20141021075531.GF3608 () sv ! lnf ! it
[Download RAW message or body]
Mandi! Luca Manganelli
In chel di` si favelave...
> It seems that Firefox 31 ESR ignores the presence of Adobe Reader
> and thus "steals" the PDF extension, running the internal PDF.js
> viewer.
It is a know problem of the recent release of FF. It is really loosely
related to WPKG, because it is a ''user'' trouble.
if you use the system-wide 'set FF as default'', eg, in WPKG:
<!-- Boh, esce con exit status 2 ma fa il suo sporco lavoro... -->
<install cmd='"%ProgramFiles32%\Mozilla Firefox\uninstall\helper.exe" \
/SetAsDefaultAppGlobal' > <exit code='2' />
</install>
it works, without breaking PDFs, but this is only the system-wide
default.
If instead you use the user-side comand '/SetAsDefaultAppUser' (or if
you click on the browser 'set me as default client'), the PDF trouble
appear.
To fix/mitigate it i've put on netlogon script:
:: Setto FF e TB come programmi di default lato utente.
:: (TB non funziona, si veda https://bugzilla.mozilla.org/show_bug.cgi?id=870348)
::
if exist "%ProgramFiles32%\Mozilla Firefox\uninstall\helper.exe" (
"%ProgramFiles32%\Mozilla Firefox\uninstall\helper.exe" /SetAsDefaultAppUser
)
if exist "%ProgramFiles32%\Mozilla Thunderbird\uninstall\helper.exe" (
"%ProgramFiles32%\Mozilla Thunderbird\uninstall\helper.exe" \
/SetAsDefaultAppUser )
:: Ma purtroppo FF 31+ ha un baco, per cui se eseguo quanto sopra, pretende di \
essere l'applicazione predefinita :: anche per PDF e altri file. Faccio Pulizia.
::
reg query "HKCU\Software\Classes\.pdf" /f "FirefoxHTML" /d /e >nul 2>nul
if %ERRORLEVEL% equ 0 (
reg delete "HKCU\Software\Classes\.pdf" /f >nul
)
reg query "HKCU\Software\Classes\.oga" /f "FirefoxHTML" /d /e >nul 2>nul
if %ERRORLEVEL% equ 0 (
reg delete "HKCU\Software\Classes\.oga" /f >nul
)
reg query "HKCU\Software\Classes\.ogg" /f "FirefoxHTML" /d /e >nul 2>nul
if %ERRORLEVEL% equ 0 (
reg delete "HKCU\Software\Classes\.ogg" /f >nul
)
reg query "HKCU\Software\Classes\.ogv" /f "FirefoxHTML" /d /e >nul 2>nul
if %ERRORLEVEL% equ 0 (
reg delete "HKCU\Software\Classes\.ogv" /f >nul
)
so at every logon FF became the default browser, but i delete also the wrong
data.
There's also a bugreport just opened on mozilla BTS, but i've lost the link.
Salutami la tua splendida cittą. ;-)
--
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)lanostrafamiglia.it t +39-0434-842711 f +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)
-------------------------------------------------------------------------
SSLrack - get your cheap cheap SSL certificates (standard, wildcard, EV)
http://www.sslrack.com/
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic