<div dir="ltr"><div class="inboxEmptyHack"></div>Gosh that was mega helpful, thanks for taking the time on that Dave.<input name="virtru-metadata" type="hidden" value="{"email-policy":{"state":"closed","expirationUnit":"days","disableCopyPaste":false,"disablePrint":false,"disableForwarding":false,"expires":false,"isManaged":false},"attachments":{}}"><div><br></div><div>Right, that's been amended as per, but still wasn't working. </div><div><br></div><div>However I *did* find that (with the help of an xml verifier) that my remove tag didn't end correctly. I've changed that now, but it was checking out that local log file that steered me right to it, so thanks again hugely for that too! </div><div><br></div><div>Just so I know I understand then (sorry if this has been painful everyone!) the .xml file for the package itself (eg msoffice.xml, chrome.xml) I can call anything at all. What matters is, in the file itself, the <package></package> section has the id=boris SO LONG AS in profiles.xml I've a section under the relevant OU for <package package-id="boris" /></div><div><br></div><div>I *think* I'm there now. Thanks much to everyone!</div><div><br></div><div>J</div><div class="gmail_extra" style="display:block"><br><div class="gmail_quote">On 27 November 2017 at 14:34, Dave Evans <span dir="ltr"><<a href="mailto:dave.evans@goodness.co.uk" target="_blank">dave.evans@goodness.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    James: just to be clear<br>
    and you may have got it working by now as others have commented, but
    the explanation may help<br>
    you say in the title:<span class=""><br>
    ""Database Inconsistency: Package with ID x does not exist..." But
    it Does Exist"<br></span>
    it doesn't exist, hence the error :-)<br>
    <br>
    you have defined in your profile that a package called
    "claroreadse7" should be installed<br>
    I'm guessing that you have created a file called "claroreadse7.xml"<br>
    in that file you have created a package definition with an id of
    "ClaroReadSE7.2.38"<br>
    <br>
    first of all WPKG is blind to the filename of the .xml files, you
    could have called it boris.xml and it would have worked just as well
    (or badly)<br>
    WPKG reads all the contents of all the .xml files it can find, and
    puts them all together, the filenames themselves are not important.<br>
    there are only two things which need to line up:<br>
      * the name you called it in the profile.xml file  (or a file in
    the /profiles folder)<br>
      * and the id in a package definition<br>
    so if you've called it "claroreadse7" in your profiles file:<br>
    then your package needs to start:<br>
    <br>
        <package <br>
            id="claroreadse7"<span class=""><br>
            name="ClaroReadSE7.2.38"<br>
            revision="1"<br>
            reboot="false"<br>
            priority="10"><br>
    <br></span>
    I'm not sure if the package ID is case sensitive but I always
    preserve the case - just in case.<br>
    the above should get your package working<br>
    <br>
    even better style might be this:<br>
        <package<br>
            id="claroreadse7"<br>
            name="ClaroReadSE"<br>
            revision="%version%"<br>
            reboot="false"<br>
            priority="10"><br>
    <br>
            <variable name="version" value="7.2.38" />  <br>
    <br>
    then you just need to update the version line when there's a new
    version to deploy, and everything just works.<br>
    the "name" is just a description, useful in reports.<br>
    <br>
    by default I believe WPKG should be creating a log file in SYSTEM's
    %temp% (probably c:\windows\temp) which you can inspect.<br>
    if you find and amend this line in config.xml you can force it to
    create the log file in the root of c:\ on each system<br>
    <br>
            <param name='log_file_path' value='%SystemDrive%' /><br>
    <br>
    the file will likely be called wpkg-[HOSTNAME].log<br>
    <br>
    Happy wpkg-ing<span class="HOEnZb"><font color="#888888"><br>
    <br>
    Dave</font></span><div><div class="h5"><br>
    <pre class="m_-5958960890418320005moz-signature" cols="72"></pre>
    <div class="m_-5958960890418320005moz-cite-prefix">On 27/11/2017 14:04, Paul McGrath
      wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">
      
      
      
      <div class="m_-5958960890418320005WordSection1">
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi,<u></u><u></u></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">You’ve
            named it ‘</span>    <package id="ClaroReadSE7.2.<wbr>38" but
          it is referenced in the error as ‘claroreadse7’<u></u><u></u></p>
        <p class="MsoNormal"><u></u> <u></u></p>
        <p class="MsoNormal">Lose the .2.38 from the package id in both
          the package and profile xml<u></u><u></u></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
        <p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US"> wpkg-users
            [<a class="m_-5958960890418320005moz-txt-link-freetext" href="mailto:wpkg-users-bounces@lists.wpkg.org" target="_blank">mailto:wpkg-users-bounces@<wbr>lists.wpkg.org</a>]
            <b>On Behalf Of </b>James Arnold<br>
            <b>Sent:</b> 27 November 2017 13:59<br>
            <b>To:</b> <a class="m_-5958960890418320005moz-txt-link-abbreviated" href="mailto:wpkg-users@lists.wpkg.org" target="_blank">wpkg-users@lists.wpkg.org</a><br>
            <b>Subject:</b> Re: [wpkg-users] "Database Inconsistency:
            Package with ID x does not exist..." But it Does Exist<u></u><u></u></span></p>
        <p class="MsoNormal"><u></u> <u></u></p>
        <div>
          <p class="MsoNormal">Thanks Ulli and Paul!<u></u><u></u></p>
          <div>
            <p class="MsoNormal"><u></u> <u></u></p>
          </div>
          <div>
            <p class="MsoNormal">Okay, I've changed those fields above,
              still not getting it installed though. <u></u><u></u></p>
          </div>
          <div>
            <p class="MsoNormal"><u></u> <u></u></p>
          </div>
          <div>
            <p class="MsoNormal">Yes it's in the correct position/OU and
              defined in profiles.xml<u></u><u></u></p>
          </div>
          <div>
            <p class="MsoNormal"><u></u> <u></u></p>
          </div>
          <div>
            <p class="MsoNormal">Same message in client's
              AppLog: Database inconsistency: Package with ID
              'claroreadse7' does not exist within the package database
              or the local settings file. Please contact your system
              administrator!<u></u><u></u></p>
          </div>
          <div>
            <p class="MsoNormal"><u></u> <u></u></p>
          </div>
          <div>
            <p class="MsoNormal">Cheers both again,<u></u><u></u></p>
          </div>
          <div>
            <p class="MsoNormal"><u></u> <u></u></p>
          </div>
          <div>
            <p class="MsoNormal">J<u></u><u></u></p>
          </div>
          <div>
            <p class="MsoNormal"><u></u> <u></u></p>
            <div>
              <p class="MsoNormal">On 27 November 2017 at 13:17, James
                Arnold <<a href="mailto:james@longhill.org.uk" target="_blank">james@longhill.org.uk</a>>
                wrote:<u></u><u></u></p>
              <blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
                <div>
                  <div>
                    <p class="MsoNormal">Hello everyone,<u></u><u></u></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><u></u> <u></u></p>
                  </div>
                  <div>
                    <p class="MsoNormal">First off, to whoever's
                      reading, thanks loads for the work on wpkg! Just
                      getting to grips with a system I've inherited at
                      the moment and I've hit a snag. Please be gentle!<u></u><u></u></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><u></u> <u></u></p>
                  </div>
                  <div>
                    <p class="MsoNormal">Okay, client deploys all
                      historic packages except for the new one I've just
                      done. That's "claroreadse7.xml" below:<u></u><u></u></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><u></u> <u></u></p>
                  </div>
                  <div>
                    <div>
                      <p class="MsoNormal"><?xml version="1.0"
                        encoding="UTF-8"?><u></u><u></u></p>
                    </div>
                    <div>
                      <p class="MsoNormal"><u></u> <u></u></p>
                    </div>
                    <div>
                      <p class="MsoNormal"><packages><u></u><u></u></p>
                    </div>
                    <div>
                      <p class="MsoNormal"><u></u> <u></u></p>
                    </div>
                    <div>
                      <p class="MsoNormal">    <package <u></u><u></u></p>
                    </div>
                    <div>
                      <p class="MsoNormal">id="ClaroReadSE7.2.38"<u></u><u></u></p>
                    </div>
                    <div>
                      <p class="MsoNormal">       
                        name="ClaroReadSE7.2.38"<u></u><u></u></p>
                    </div>
                    <div>
                      <p class="MsoNormal">        revision="1"<u></u><u></u></p>
                    </div>
                    <div>
                      <p class="MsoNormal">        reboot="false"<u></u><u></u></p>
                    </div>
                    <div>
                      <p class="MsoNormal">        priority="10"><u></u><u></u></p>
                    </div>
                    <div>
                      <p class="MsoNormal">        <u></u><u></u></p>
                    </div>
                    <div>
                      <p class="MsoNormal"><check type="file"
                        condition="exists" path="C:\Program Files
                        (x86)\Claro Software\ClaroRead SE\ClaroUp.exe"
                        /><u></u><u></u></p>
                    </div>
                    <div>
                      <p class="MsoNormal">        <u></u><u></u></p>
                    </div>
                    <div>
                      <p class="MsoNormal">        <!-- <install
                        cmd="%SOFTWARE%\ClaroReadSE7\<wbr>claro.bat" />
                        --><u></u><u></u></p>
                    </div>
                    <div>
                      <p class="MsoNormal"><install cmd='msiexec.exe
                        /qn /i
"%SOFTWARE%\ClaroReadSE7\01\<wbr>ClaroReadSE-7.2.38-auth\<wbr>ClaroReadSE-engb-7.2.38-auth-<wbr>X.msi"
                        LICENCEKEY=xxxx-xxxx-xxxx-<wbr>xxxx-xxxx /passive
                        /norestart' /><u></u><u></u></p>
                    </div>
                    <div>
                      <p class="MsoNormal"><install cmd='msiexec.exe
                        /qn /i
"%SOFTWARE%\ClaroReadSE7\01\<wbr>ClaroReadSE-7.2.38-auth\VA25-<wbr>BritishEnglish-Serena.msi"
                        /passive /norestart' /><u></u><u></u></p>
                    </div>
                    <div>
                      <p class="MsoNormal"><!-- <upgrade
                        cmd="%SOFTWARE%\ClaroReadSE7\<wbr>claro.bat >
                        c:\clarobatupgrade.log" /> --><u></u><u></u></p>
                    </div>
                    <div>
                      <p class="MsoNormal">             <u></u><u></u></p>
                    </div>
                    <div>
                      <p class="MsoNormal"><remove cmd='msiexec.exe
                        /qn /x
"%SOFTWARE%\ClaroReadSE7\01\<wbr>ClaroReadSE-7.2.38-auth\<wbr>ClaroReadSE-engb-7.2.38-auth-<wbr>X.msi"
                        /passive /norestart' /><u></u><u></u></p>
                    </div>
                    <div>
                      <p class="MsoNormal"><exit code="0"/><u></u><u></u></p>
                    </div>
                    <div>
                      <p class="MsoNormal"><exit code="2"/><u></u><u></u></p>
                    </div>
                    <div>
                      <p class="MsoNormal"></remove><u></u><u></u></p>
                    </div>
                    <div>
                      <p class="MsoNormal"> <u></u><u></u></p>
                    </div>
                    <div>
                      <p class="MsoNormal">    </package><u></u><u></u></p>
                    </div>
                    <div>
                      <p class="MsoNormal"><u></u> <u></u></p>
                    </div>
                    <div>
                      <p class="MsoNormal">This doesn't install on my
                        test client, which (in AppLog) complains of
                        "Database inconsistency: Package with ID
                        'claroreadse7' does not exist within the package
                        database or the local settings file. Please
                        contact your system administrator!"<u></u><u></u></p>
                    </div>
                    <div>
                      <p class="MsoNormal"><u></u> <u></u></p>
                    </div>
                    <div>
                      <p class="MsoNormal">But there is 100% certainly a
                        "claroreadse7.xml" in the packages folder with
                        the rest of the packages, with the same rights
                        as all the other .xml files in there.<u></u><u></u></p>
                    </div>
                    <div>
                      <p class="MsoNormal"><u></u> <u></u></p>
                    </div>
                    <div>
                      <p class="MsoNormal">Anyone see what I'm doing
                        wrong? Thanks for any and all help! :)<u></u><u></u></p>
                    </div>
                    <div>
                      <p class="MsoNormal"><u></u> <u></u></p>
                    </div>
                    <div>
                      <p class="MsoNormal"></packages><u></u><u></u></p>
                    </div>
                  </div>
                </div>
              </blockquote>
            </div>
            <p class="MsoNormal"><br>
              <br clear="all">
              <u></u><u></u></p>
            <div>
              <p class="MsoNormal"><u></u> <u></u></p>
            </div>
            <p class="MsoNormal">-- <u></u><u></u></p>
            <div>
              <div>
                <div>
                  <div>
                    <p class="MsoNormal"><b><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#000099">James
                          Arnold - Network Manager</span></b><u></u><u></u></p>
                    <div>
                      <p class="MsoNormal"><b><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#000099">Longhill
                            High School</span></b><u></u><u></u></p>
                    </div>
                    <div>
                      <p class="MsoNormal"><b><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#000099">Falmer
                            Road</span></b><u></u><u></u></p>
                    </div>
                    <div>
                      <p class="MsoNormal"><b><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#000099">Rottingdean</span></b><u></u><u></u></p>
                    </div>
                    <div>
                      <p class="MsoNormal"><b><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#000099">East
                            Sussex</span></b><u></u><u></u></p>
                    </div>
                    <div>
                      <p class="MsoNormal"><b><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#000099">BN2
                            7FR</span></b><u></u><u></u></p>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="m_-5958960890418320005mimeAttachmentHeader"></fieldset>
      <br>
      </div></div><span class=""><pre>------------------------------<wbr>---
wpkg-users mailing list archives >> <a class="m_-5958960890418320005moz-txt-link-freetext" href="http://lists.wpkg.org/pipermail/wpkg-users/" target="_blank">http://lists.wpkg.org/<wbr>pipermail/wpkg-users/</a>
______________________________<wbr>_________________
wpkg-users mailing list
<a class="m_-5958960890418320005moz-txt-link-abbreviated" href="mailto:wpkg-users@lists.wpkg.org" target="_blank">wpkg-users@lists.wpkg.org</a>
<a class="m_-5958960890418320005moz-txt-link-freetext" href="https://lists.wpkg.org/mailman/listinfo/wpkg-users" target="_blank">https://lists.wpkg.org/<wbr>mailman/listinfo/wpkg-users</a>
</pre>
    </span></blockquote>
    <br>
  </div>

<br>------------------------------<wbr>---<br>
wpkg-users mailing list archives >> <a href="http://lists.wpkg.org/pipermail/wpkg-users/" rel="noreferrer" target="_blank">http://lists.wpkg.org/<wbr>pipermail/wpkg-users/</a><br>
______________________________<wbr>_________________<br>
wpkg-users mailing list<br>
<a href="mailto:wpkg-users@lists.wpkg.org">wpkg-users@lists.wpkg.org</a><br>
<a href="https://lists.wpkg.org/mailman/listinfo/wpkg-users" rel="noreferrer" target="_blank">https://lists.wpkg.org/<wbr>mailman/listinfo/wpkg-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font size="1" face="arial, helvetica, sans-serif" color="#000099"><b>James Arnold - Network Manager</b></font><div><font size="1" face="arial, helvetica, sans-serif" color="#000099"><b>Longhill High School</b></font></div><div><font size="1" face="arial, helvetica, sans-serif" color="#000099"><b>Falmer Road</b></font></div><div><font size="1" face="arial, helvetica, sans-serif" color="#000099"><b>Rottingdean</b></font></div><div><font size="1" face="arial, helvetica, sans-serif" color="#000099"><b>East Sussex</b></font></div><div><font size="1" face="arial, helvetica, sans-serif" color="#000099"><b>BN2 7FR</b></font></div></div></div></div></div>
</div></div>