<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:13px"><br>  <div id="yui_3_16_0_1_1416844702118_33150" style="font-family: Courier New, courier, monaco, monospace, sans-serif; font-size: 13px;"> <div id="yui_3_16_0_1_1416844702118_33149" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div id="yui_3_16_0_1_1416844702118_33148" dir="ltr"> <hr id="yui_3_16_0_1_1416844702118_33152" size="1">  <font id="yui_3_16_0_1_1416844702118_33158" face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Stefan Pendl <stefan.pendl.71@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> wpkg-users@lists.wpkg.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, November 25, 2014 6:19 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [wpkg-users] My java-7 package keeps reinstalling itself<br> </font> </div> <div id="yui_3_16_0_1_1416844702118_33166" class="y_msg_container"><br><div id="yiv7881599873"><div id="yui_3_16_0_1_1416844702118_33165">
    <div class="yiv7881599873moz-cite-prefix">Am 24.11.2014 um 14:51 schrieb Frederic
      Bergeron:<br clear="none">
    </div>
    <blockquote type="cite">
      <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="yiv7881599873yui_3_16_0_1_1416442934900_61716" style="font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:24px;">
          <div id="yiv7881599873yui_3_16_0_1_1416442934900_61715" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;">
            <div class="yiv7881599873y_msg_container" id="yiv7881599873yui_3_16_0_1_1416442934900_61721">
              <hr id="yiv7881599873yui_3_16_0_1_1416442934900_61713" size="1"><font id="yiv7881599873yui_3_16_0_1_1416442934900_61719" face="Arial" size="2"><b><span style="font-weight:bold;"></span></b></font>
              <div id="yiv7881599873yui_3_16_0_1_1416442934900_61749">Hi again,</div>
              <div id="yiv7881599873yui_3_16_0_1_1416442934900_61750"><br clear="none">
              </div>
              <div dir="ltr" id="yiv7881599873yui_3_16_0_1_1416442934900_61751">In
                the java_x86.log file, I could see that the 1603 error
                was caused because the java was already installed.  So I
                added an exitCode='1603' and it fixed the problem. 
                There was also another similar problem with another
                install command.  I added the appropriate exitCode and
                it seems to work fine now.  I didn't know the /L
                option.  That was very helpful.</div>
              <div dir="ltr" id="yiv7881599873yui_3_16_0_1_1416442934900_61752"><br clear="none">
              </div>
              <div dir="ltr" id="yiv7881599873yui_3_16_0_1_1416442934900_61753">Concerning
                FlashPlayer, I removed the file tests and it works fine
                now. <br clear="none">
              </div>
              <div dir="ltr" id="yiv7881599873yui_3_16_0_1_1416442934900_61754"><br clear="none">
              </div>
              <div dir="ltr" id="yiv7881599873yui_3_16_0_1_1416442934900_61758">Thanks
                a lot for your help.</div>
              <br clear="none">
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br clear="none">
    I would not add the exit code 1603 as being successful, since it can
    have many reasons.<br clear="none">
    <br clear="none">
    I would change the package to always check if there is already the
    same or a higher version installed.<br clear="none">
    <br clear="none">
    <package id="JRE8"<br clear="none">
        name="Java Runtime Environment 8"<br clear="none">
        revision="%JRE_VER%"<br clear="none">
        reboot="false"<br clear="none">
        priority="10"<br clear="none">
        precheck-upgrade="always"><br clear="none">
    <br clear="none">
    The attribute "precheck-upgrade" will force WPKG to run the checks
    before the package is upgraded, so you avoid problems with packages
    that don't upgrade if the same version is already installed.<div class="qtdSeparateBR"><br><br></div><div class="yiv7881599873yqt9410859865" id="yiv7881599873yqtfd25077"><br clear="none">
    <pre id="yui_3_16_0_1_1416844702118_33164" class="yiv7881599873moz-signature">--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?</pre>
  </div></div></div><br><div class="yqt9410859865" id="yqtfd98312">-------------------------------------------------------------------------<br clear="none">SSLrack - get your cheap cheap SSL certificates (standard, wildcard, EV)<br clear="none"><a shape="rect" href="http://www.sslrack.com/" target="_blank">http://www.sslrack.com/</a><br clear="none">-------------------------------------------------------------------------<br clear="none">wpkg-users mailing list archives >> <a id="yui_3_16_0_1_1416844702118_33168" shape="rect" href="http://lists.wpkg.org/pipermail/wpkg-users/" target="_blank">http://lists.wpkg.org/pipermail/wpkg-users/</a><br clear="none">_______________________________________________<br clear="none">wpkg-users mailing list<br clear="none"><a shape="rect" ymailto="mailto:wpkg-users@lists.wpkg.org" href="mailto:wpkg-users@lists.wpkg.org">wpkg-users@lists.wpkg.org</a><br clear="none"><a shape="rect" href="http://lists.wpkg.org/mailman/listinfo/wpkg-users" target="_blank">http://lists.wpkg.org/mailman/listinfo/wpkg-users</a><br clear="none"></div><div id="yui_3_16_0_1_1416844702118_33175"><br></div><div id="yui_3_16_0_1_1416844702118_33176"><br></div><div dir="ltr" id="yui_3_16_0_1_1416844702118_33178">Hi again Stefan,</div><div id="yui_3_16_0_1_1416844702118_33182" dir="ltr"><br></div><div id="yui_3_16_0_1_1416844702118_33181" dir="ltr">I didn't know about precheck-upgrade.  That's very convenient.  I removed the exit code elements and added the precheck-upgrade and it works very well.</div><div id="yui_3_16_0_1_1416844702118_33184" dir="ltr"><br></div><div id="yui_3_16_0_1_1416844702118_33185" dir="ltr">Big thanks for your help.</div><div id="yui_3_16_0_1_1416844702118_33186" dir="ltr"><br></div><div id="yui_3_16_0_1_1416844702118_33191" dir="ltr">Frederic<br></div><br></div> </div> </div>  </div></body></html>