You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.3 KiB
29 lines
1.3 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<packages>
|
|
<package id="firefox"
|
|
name="Mozilla Firefox"
|
|
revision="47"
|
|
reboot="false"
|
|
priority="10">
|
|
|
|
<variable name="PKG_VERSION" value="45.0" />
|
|
<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%" />
|
|
|
|
<install cmd="taskkill /F /IM Firefox.exe">
|
|
<exit code="0" />
|
|
<exit code="-1073741515" />
|
|
<exit code="128" />
|
|
</install>
|
|
<install cmd='"%SOFTWARE%\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' />
|
|
</package>
|
|
</packages>
|
|
|