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

Tomasz Chmielewski mangoo at wpkg.org
Wed Oct 7 15:13:49 CEST 2009


Hans-Werner Friedemann schrieb:
> 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" /> 

You have a syntax error in the above line.


-- 
Tomasz Chmielewski
http://wpkg.org



More information about the wpkg-users mailing list