[wpkg-users] wpkgExpress: No import of xml possible

Alexandros Gougousoudis gougousoudis-list at servicecenter-khs.de
Tue Jun 1 17:31:13 CEST 2010


Hi,

I installed wpkgExpress (v1.0-r12)on my Lenny, so far so good. But when 
I try to import my packages.xml I get the error:

Uploaded Packages failed to pass XSD schema validation
Errors

    * Element 'remove': This element is not expected. (line 15)


The first lines of my packages.xml are:

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

    <package id="winup" name="Windows-Update" priority="1" 
reboot="false" revision="3">
    <check condition="equals" 
path="HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\WUServer" 
type="registry" value="http://wsus.verwaltung.kh-berlin.de"></check>
    <install cmd="\\physalis\wpkg\files\dist\wsus\install-wsus.bat">
            <exit code="0"></exit>
    </install>
    </package>

    <package id="no_usbstor" name="Disable USB Storage" priority="1" 
reboot="false" revision="1">
    <check condition="equals" 
path="HKLM\SYSTEM\CurrentControlSet\Services\USBSTOR\Start" 
type="registry" value="4"></check>
    <install 
cmd="\\physalis\wpkg\files\dist\no_usbstor\install-no_usbstor.bat">
            <exit code="0"></exit>
    <remove 
cmd="\\physalis\wpkg\files\dist\yes_usbstor\install-yes_usbstor.bat"></remove>
    </install>
    </package>

[...]

So I think it has problems with

<remove 
cmd="\\physalis\wpkg\files\dist\yes_usbstor\install-yes_usbstor.bat"></remove>

Hm, has the remove command been changed? What am I doing wrong?

Thx
 Alex





More information about the wpkg-users mailing list