<div dir="ltr"><div><div><div><div><div><div><div>Hi all,<br><br></div>I try to update Java on u40, but i can't remove u21 !<br><br></div>I use this package :<br><br><i><package<br>    id="Java"<br>    name="Java(TM) 7 : ensemble d outils permettant l execution de programmes Java"<br>
    revision="%version%.1"<br>    reboot="false"<br>    priority="178" ><br><br>    <variable name="updatever" value="40" /><br>    <variable name="shortupdatever" value="40" /><br>
    <variable name="version" value="7.0.%updatever%" /><br>    <variable name="autoupdate" value="0" /><br>    <variable name="PROGRAMFILES" value="%PROGRAMFILES%" architecture="x86"/><br>
    <variable name="PROGRAMFILES" value="%PROGRAMFILES(X86)%" architecture="x64"/><br><br>    <eoledl dl="<a href="http://javadl.sun.com/webapps/download/AutoDL?BundleId=80812">http://javadl.sun.com/webapps/download/AutoDL?BundleId=80812</a>" destname="java/jre-7u%shortupdatever%-windows-i586.exe" /><br>
<br>    <!-- jre 32-bit install for 32-bit and 64-bit hosts --><br><br>    <check type="file" condition="exists" path="%PROGRAMFILES%\Java\jre7\bin\java.exe" /><br>    <check type="file" condition="exists" path="%PROGRAMFILES%\Java\jre7\lib\i386\jvm.cfg" /><br>
    <check type="logical" condition="or"><br>        <check type="uninstall" condition="exists" path="Java 7 Update %shortupdatever%" /><br>        <check type="uninstall" condition="exists" path="Java 7" /><br>
    </check><br><!-- on tue les processus Firefox et InternetExplorer --><br><br>    <install cmd='taskkill /f /im jqs.exe /im iexplore.exe /im firefox.exe'><exit code='any' /></install><br>
<br>        <!-- Si Java est mal installe, la mise a jour plante pendant la desinstallation de la version precedente avec le message "rundll32 : installer.dl$<br><br>    <install cmd='%COMSPEC% /C copy /Y "%SOFTWARE%\java\installer.dll" "%PROGRAMFILES%\Java\jre7\bin\"'><exit code='any' /></install><br>
<br><br>    <!-- desinstall version precedentes de Java 6 --><br>        <!-- desinstallation de ma 38 et 39 ({...-2F832160%version%FF}- ajouter des lignes si necessaire --><br>    <install timeout='300' cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216038FF}'><exit code='any' /></install><br>
    <install timeout='300' cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216039FF}'><exit code='any' /></install><br><br>        <!-- desinstall version precedentes de Java 7 --><br>
<br>    <install timeout='300' cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83217010FF}'><exit code='any' /></install><br>    <install timeout='300' cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83217011FF}'><exit code='any' /></install><br>
    <install timeout='300' cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83217015FF}'><exit code='any' /></install><br>    <install timeout='300' cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83217021FF}'><exit code='any' /></install><br>
<!-- desinstall de la version que l on veut installer --><br>        <install timeout='300' cmd='msiexec /qn /x {26A24AE4-039D-4CA4-87B4-2F832170%updatever%FF}'><exit code='0' /><exit code='1605' /></install><br>
<br>    <!-- on installe le .exe sur des postes XP --><br>    <install os=".+5\.[1-2]\.\d{4}" timeout="300"<br>    cmd='%SOFTWARE%\java\jre-7u%shortupdatever%-windows-i586.exe /s REBOOT=Suppress IEXPLORER=1 MOZILLA=1 JAVAUPDATE=%autoupdate% CUSTOM=1' /><br>
<br>    <!-- on installe le .msi sur des postes 7 --><br>    <install os=".+6\.[0-1]\.\d{4}" timeout="300"<br>    cmd='msiexec /qn /i %SOFTWARE%\java\jre1.7.0_%updatever%\jre1.7.0_%updatever%.msi REBOOT=Suppress IEXPLORER=1 MOZILLA=1 JAVAUPDATE=%autoupdate% CUSTO$<br>
<br>    <!-- suppression Java Quick Starter --><br>    <install cmd='%COMSPEC% /C if exist "%PROGRAMFILES%\Java\jre7\bin\jqs.exe" "%PROGRAMFILES%\Java\jre7\bin\jqs.exe" -unregister'><exit code='any' /></i$<br>
<br>    <!-- suppression Java Auto Update --><br>    <install cmd='REG DELETE HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v SunJavaUpdateSched /f'><exit code='any' /></install><br>
<br>    <downgrade include="install" /><br><br>    <upgrade include="install" /><br><br>    <remove cmd='msiexec /qn /x {26A24AE4-039D-4CA4-87B4-2F832170%updatever%FF}' /><br>
<br></package></i><br><br><br></div>When i check the log, i have these lines<br><br>2013-10-09 17:22:27, DEBUG   : Executing command: 'msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83217021FF}'.<br>2013-10-09 17:22:38, INFO    : Command 'msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83217021FF}' returned  exit code [0]. This exit code indicates success.<br>
<br></div>So, normally, u21 has to be removed, but it's still installed... and my upgrade isn't ok :(<br><br></div>I have this problem only on XP 32 bits :/<br><br></div>If you any idea ?<br><br></div>Thanks a lot,<br>
<br>Cedric<br><div><div><div><div><br><div><br></div></div></div></div></div></div>