|
|
|
@ -2,14 +2,12 @@ |
|
|
|
|
<packages> |
|
|
|
|
<package id="firefox" |
|
|
|
|
name="Mozilla Firefox" |
|
|
|
|
revision="69" |
|
|
|
|
revision="70" |
|
|
|
|
reboot="false" |
|
|
|
|
priority="10"> |
|
|
|
|
|
|
|
|
|
<variable name="PKG_VERSION" value="52.4.1" /> |
|
|
|
|
<variable name="VARIANTE" value="esr" /> |
|
|
|
|
<variable architecture="x86" name="INSTALL_PATH" value="%PROGRAMFILES%\Mozilla Firefox" /> |
|
|
|
|
<variable architecture="x64" name="INSTALL_PATH" value="%PROGRAMFILES(x86)%\Mozilla Firefox" /> |
|
|
|
|
|
|
|
|
|
<check type="uninstall" condition="versiongreaterorequal" path="Mozilla Firefox .+" value="%PKG_VERSION%" /> |
|
|
|
|
|
|
|
|
@ -18,12 +16,13 @@ |
|
|
|
|
<exit code="-1073741515" /> |
|
|
|
|
<exit code="128" /> |
|
|
|
|
</install> |
|
|
|
|
<install cmd='"%SOFTWARE%\firefox\Firefox Setup %PKG_VERSION%%VARIANTE%.exe" -ms' /> |
|
|
|
|
<install architecture="x86" cmd='"%SOFTWARE%\x86\firefox\Firefox Setup %PKG_VERSION%%VARIANTE%.exe" -ms' /> |
|
|
|
|
<install architecture="x64" cmd='"%SOFTWARE%\x64\firefox\Firefox Setup %PKG_VERSION%%VARIANTE%.exe" -ms' /> |
|
|
|
|
<!-- Empeche l'affichage d'un message d'erreur lors de l'ouverture d'une URL depuis un fichier .bat --> |
|
|
|
|
<install cmd='%COMSPEC% /C reg add "HKCR\FirefoxURL\shell\open\ddeexec" /v "" /t REG_SZ /d "" /f' /> |
|
|
|
|
|
|
|
|
|
<upgrade include="install" /> |
|
|
|
|
|
|
|
|
|
<remove cmd='%COMSPEC% /C if exist "%INSTALL_PATH%\uninstall\helper.exe" "%INSTALL_PATH%\uninstall\helper.exe" -ms' /> |
|
|
|
|
<remove cmd='%COMSPEC% /C if exist "%PROGRAMFILES%\Mozilla Firefox\uninstall\helper.exe" "%PROGRAMFILES%\Mozilla Firefox\uninstall\helper.exe" -ms' /> |
|
|
|
|
</package> |
|
|
|
|
</packages> |
|
|
|
|