<html><head></head><body>Bonjour,<br><br>Que dis le journal d'événements ? As-tu carrément supprimer wpkg.xml  ? <br><br>Je trouve que tu as beaucoup de check  !  Il doit y en avoir un qui pose pb.<br>Chez nous, on utilise ce paquet  : <a href="https://forum-dane.ac-lyon.fr/forum/viewtopic.php?f=44&t=2086">https://forum-dane.ac-lyon.fr/forum/viewtopic.php?f=44&t=2086</a><br><br>On est un peu en retard, mais tu peux tenter en changeant la valeur de la version.<br><br>Bon courage<br><br>Raphaël<br><br><div class="gmail_quote">Le 13 octobre 2018 07:38:45 GMT+02:00, Frederic Bergeron <FBergeron@rocketmail.com> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="ydpff12899ayahoo-style-wrap" style="font-family: courier\ new, courier, monaco, monospace, sans-serif; font-size: 13px;"><span>Hi,<br><br>I have the following problem: Each time that my computers reboot, WPKG upgrades Firefox even though the latest version is already installed. Why does this happen? What am I doing wrong?<br><br>Here is a copy of the my firefox.xml package file:<br><br><?xml version="1.0" encoding="UTF-8"?><br><br><packages><br>    <package <br>        id="firefox"<br>        name="Mozilla Firefox"<br>        revision="%version%"<br>        reboot="false"<br>        priority="10"><br>     <br>        <variable name="version" value="62.0.3" /><br>        <!--variable name="architecture" value="x86" architecture="x86"/--><br>        <!--variable name="architecture" value="x64" architecture="x64"/--><br>        <variable name="locale" value="fr" /><br>        <variable name="locale" lcid="0411" value="ja" /><br>        <variable name="langSuffix" value=""/><br>        <variable name="langSuffix" lcid="0411" value="_ja"/><br>        <variable name="PKG_DST" value="%ProgramFiles%\Mozilla Firefox" architecture="x86" /><br>        <variable name="PKG_DST" value="%ProgramFiles(x86)%\Mozilla Firefox" architecture="x64" /><br>     <br>        <!--check type="uninstall" condition="exists" path="Mozilla Firefox %version% (%architecture% %locale%)" /--><br>        <check type="file" condition="exists" path="%PKG_DST%\firefox.exe"/><br>     <br>        <install cmd="taskkill /F /IM Firefox.exe"><br>            <exit code="0" /><br>            <exit code="-1073741515" /><br>            <exit code="128" /><br>        </install><br>    <br>        <install cmd='"%SOFTWARE%\internet\firefox\Firefox Setup %version%%langSuffix%.exe" -ms' /><br><br>        <install cmd='%COMSPEC% /c copy /y "%SOFTWARE%\internet\firefox\policies.js" "%PKG_DST%\Mozilla Firefox\defaults\pref\"' /><br>        <install cmd='%COMSPEC% /c copy /y "%SOFTWARE%\internet\firefox\mozilla.cfg" "%PKG_DST%\Mozilla Firefox\"' /><br>        <!--check type="file" condition="exists" path="%PKG_DST%\defaults\pref\policies.js" /><br>        <check type="file" condition="exists" path="%PKG_DST%\mozilla.cfg" /--><br><br>        <install cmd='%COMSPEC% /c copy /y "%SOFTWARE%\internet\firefox\override.ini" "%PKG_DST%\"' /><br><br>        <upgrade include="install" /><br><br>        <remove cmd="taskkill /F /IM Firefox.exe"><br>            <exit code="0" /><br>            <exit code="128" /><br>            <exit code="-1073741515" /><br>        </remove><br>     <br>        <!-- for 32bit and 64bit System --><br>        <remove cmd='%COMSPEC% /C if exist "%PROGRAMFILES%\Mozilla Firefox\uninstall\helper.exe" "%PROGRAMFILES%\Mozilla Firefox\uninstall\helper.exe" -ms' /><br>        <remove cmd='%COMSPEC% /C if exist "%PROGRAMFILES(x86)%\Mozilla Firefox\uninstall\helper.exe" "%PROGRAMFILES(x86)%\Mozilla Firefox\uninstall\helper.exe" -ms' /><br>    </package><br><br></packages><br><br>I know that if I manually uninstall Firefox and remove the firefox entry in wpkg.xml that it will work correctly, meaning that WPKG will install Firefox once no matter how many times I reboot the machine.  So the problem seems to occur when I upgrade, not when I install.<br><br>Regards,<br><br>Frederic<br><br></span></div></blockquote></div><br>-- <br>Envoyé depuis mon smartphone. Veuillez excuser ma brièveté.</body></html>