[wpkg-users] How to run a batch-file with wpkg

Hans-Werner Friedemann h-w.friedemann at vds-herzberg.de
Wed Oct 7 15:12:01 CEST 2009


Hi @ all
 
I´ve try to run a batch file with WPKG!
There are a lot of Problems!!!
 
First I copy the file into a local directory, then i want to start
this file from this location.
 
I get these error-message:
 
"file://server5/WPKG/packages/PixiEasySwitch.xml". Das Zeichen '<' kann in einem Attributwert nicht verwendet werden.

This is my Script:

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

<packages>

<package
       id="PixiEasySwitch"
       name="PixiEasySwitch 1.1.0.0"
       revision="1100"
       priority="90">
        <check type="file" condition="exists" path="C:\Dokumente und Einstellungen\All Users\Desktop\Pixi EasySwitch 1.1.lnk" />
        <install cmd='%COMSPEC% /c copy /y /v "%SOFTWARE%\PixiEasySwitch\Pixi EasySwitch 1.1.exe" C:\pixi\' />
        <install cmd='%COMSPEC% /c copy /y /v "%SOFTWARE%\PixiEasySwitch\Pixi EasySwitch 1.1.lnk" C:\pixi\' />
        <install cmd='%COMSPEC% /c copy /y /v "%SOFTWARE%\PixiEasySwitch\CreateDesktopIcon.bat" C:\pixi\' />
        <install cmd='%COMSPEC% /c "C:\pixi\CreateDesktopIcon.bat" /> 
        <upgrade cmd='%COMSPEC% /c del /F /Q "C:\pixi\Pixi EasySwitch*.*"' />
        <upgrade cmd='%COMSPEC% /c copy /y /v "%SOFTWARE%\PixiEasySwitch\Pixi EasySwitch 1.1.exe" C:\pixi\' />
        <remove cmd='%COMSPEC% /c del /F /Q "C:\pixi\Pixi EasySwitch 1.1.exe"' />
</package>

</packages>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20091007/c95a2d1c/attachment-0001.html>


More information about the wpkg-users mailing list