<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:24px"><div id="yui_3_16_0_1_1416637469224_4082" dir="ltr"><font id="yui_3_16_0_1_1416637469224_4235" face="Courier New, courier, monaco, monospace, sans-serif"><b id="yui_3_16_0_1_1416637469224_4157" style="" class=""><font id="yui_3_16_0_1_1416637469224_4156" style="" class="">Hi, <br style="" class=""><br style="" class="">I have upgraded my java-7 package definition in WPKG to version 72. I was previously using version 51.<br style="" class=""><br style="" class="">When I restart a computer, it detects that a newer version is available and installs it successfully. However, when I restart the machine, it keeps reinstalling the latest version (72). How can I prevent that from happening?<br style="" class=""><br style="" class="">I'm wondering if it's because I have removed the package definition for version 51. Do I have to keep all versions of the package definitions in my XML file? Or is it only the latest version that matters? <br style="" class=""><br style="" class="">Here is my package definition:<br style="" class=""><br style="" class=""><?xml version="1.0" encoding="UTF-8"?><br style="" class=""><packages><br style="" class=""> <package<br style="" class=""> id="java-7"<br style="" class=""> name="Java Runtime Environment 7"<br style="" class=""> revision="%version%"<br style="" class=""> reboot="false"<br style="" class=""> priority="100"><br style="" class=""><br style="" class=""> <variable name="version" value="72" /><br style="" class=""><br style="" class=""> <check<br style="" class=""> type="uninstall"<br style="" class=""> condition="exists"<br style="" class=""> path="Java 7 Update %version%" /><br style="" class=""><br style="" class=""> <install cmd='taskkill /f /im jqs.exe /im iexplore.exe /im firefox.exe'><br style="" class=""> <exit code='0' /><br style="" class=""> <exit code='1' /><br style="" class=""> <exit code='128' /><br style="" class=""> </install><br style="" class=""><br style="" class=""> <install cmd='%SOFTWARE%\java-7\jre\jre-7u%version%-windows-i586.exe /s REBOOT=Suppress' /><br style="" class=""><br style="" class=""> <!-- remove Java Quick Starter --><br style="" class=""> <install cmd='%COMSPEC% /C if exist "%PROGRAMFILES%\Java\jre7\bin\jqs.exe" "%PROGRAMFILES%\Java\jre7\bin\jqs.exe" -unregister'><br style="" class=""> <exit code='1' /><br style="" class=""> </install><br style="" class=""><br style="" class=""> <install cmd='%COMSPEC% /C if exist "%PROGRAMFILES(x86)%\Java\jre7\bin\jqs.exe" "%PROGRAMFILES(x86)%\Java\jre7\bin\jqs.exe" -unregister'><br style="" class=""> <exit code='1' /><br style="" class=""> </install><br style="" class=""><br style="" class=""> <!-- Remove Java Auto Updater --><br style="" class=""> <install cmd='msiexec /qn /x {4A03706F-666A-4037-7777-5F2748764D10}' /><br style="" class=""><br style="" class=""> <upgrade cmd='taskkill /f /im jqs.exe /im iexplore.exe /im firefox.exe' ><br style="" class=""> <exit code='0' /><br style="" class=""> <exit code='1' /><br style="" class=""> <exit code='128' /><br style="" class=""> </upgrade><br style="" class=""><br style="" class=""> <upgrade cmd='%SOFTWARE%\java-7\jre\jre-7u%version%-windows-i586.exe /s REBOOT=Suppress' /><br style="" class=""><br style="" class=""> <!-- remove Java Quick Starter --><br style="" class=""> <upgrade cmd='%COMSPEC% /C if exist "%PROGRAMFILES%\Java\jre7\bin\jqs.exe" "%PROGRAMFILES%\Java\jre7\bin\jqs.exe" -unregister'><br style="" class=""> <exit code='1' /><br style="" class=""> </upgrade><br style="" class=""><br style="" class=""> <upgrade cmd='%COMSPEC% /C if exist "%PROGRAMFILES(x86)%\Java\jre7\bin\jqs.exe" "%PROGRAMFILES(x86)%\Java\jre7\bin\jqs.exe" -unregister'><br style="" class=""> <exit code='1' /><br style="" class=""> </upgrade><br style="" class=""><br style="" class=""> <!-- Remove Java Auto Updater --><br style="" class=""> <upgrade cmd='msiexec /qn /x {4A03706F-666A-4037-7777-5F2748764D10}' /><br style="" class=""><br style="" class=""> <remove cmd='taskkill /f /im jqs.exe /im iexplore.exe /im firefox.exe' /><br style="" class=""> <remove cmd='msiexec /qn /x {26A24AE4-039D-4CA4-87B4-2F832170%version%FF}' /><br style="" class=""> </package><br style="" class=""></packages><br style="" class=""></font></b><br></font></div><div id="yui_3_16_0_1_1416637469224_4228" style="" class="" dir="ltr"><font face="Courier New, courier, monaco, monospace, sans-serif"><br style="" class=""></font></div></div></body></html>