[wpkg-users] "Database Inconsistency: Package with ID x does not exist..." But it Does Exist

James Arnold james at longhill.org.uk
Mon Nov 27 14:17:38 CET 2017


Hello everyone,

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!

Okay, client deploys all historic packages except for the new one I've just
done. That's "claroreadse7.xml" below:

<?xml version="1.0" encoding="UTF-8"?>

<packages>

    <package
id="ClaroReadSE7.2.38"
        name="ClaroReadSE7.2.38"
        revision="1"
        reboot="false"
        priority="10">

<check type="file" condition="exists" path="C:\Program Files (x86)\Claro
Software\ClaroRead SE\ClaroUp.exe" />

        <!-- <install cmd="%SOFTWARE%\ClaroReadSE7\claro.bat" /> -->
<install cmd='msiexec.exe /qn /i
"%SOFTWARE%\ClaroReadSE7\01\ClaroReadSE-7.2.38-auth\ClaroReadSE-engb-7.2.38-auth-X.msi"
LICENCEKEY=xxxx-xxxx-xxxx-xxxx-xxxx /passive /norestart' />
<install cmd='msiexec.exe /qn /i
"%SOFTWARE%\ClaroReadSE7\01\ClaroReadSE-7.2.38-auth\VA25-BritishEnglish-Serena.msi"
/passive /norestart' />
<!-- <upgrade cmd="%SOFTWARE%\ClaroReadSE7\claro.bat >
c:\clarobatupgrade.log" /> -->

<remove cmd='msiexec.exe /qn /x
"%SOFTWARE%\ClaroReadSE7\01\ClaroReadSE-7.2.38-auth\ClaroReadSE-engb-7.2.38-auth-X.msi"
/passive /norestart' />
<exit code="0"/>
<exit code="2"/>
</remove>

    </package>

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!"

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.

Anyone see what I'm doing wrong? Thanks for any and all help! :)

</packages>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20171127/d4d31c7c/attachment.html>


More information about the wpkg-users mailing list