[wpkg-users] WPKG-Hostlogs after Update to V. 1.1.2 and Client V. 1.3.9

Pendl Stefan stefan.pendl at haidlmair.at
Tue Oct 6 14:31:24 CEST 2009


>
> Hi @ all
>
> after the Update to V. 1.1.2 and Client V. 1.3.9 the following script doesn´t work:
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <packages>
>
> <package id="wpkglog" name="wpkg.xml files from workstations" revision="1" priority="0" execute="always">
>         <install timeout="15" cmd='cmd /C copy /Y "%SYSTEMROOT%\system32\wpkg.xml" "\\server\hostlogs\%COMPUTERNAME%-wpkg.xml"' />
> </package>
> </packages>
>
> I get these error:
>
> Could not process (install) package 'wpkg.xml files from workstations' (wpkglog):
> Exit code returned non-successful value (1) on command 'cmd /C copy /Y "%SYSTEMROOT%\system32\wpkg.xml" "\\server5\hostlogs\%COMPUTERNAME%-
> wpkg.xml"'.
> Can you helb me to solve the problem?
>

I have changed to run this as a batch script as "Execute After" from the WPKG client, which makes sure that the file is not in use by wpkg.js

---
Stefan Pendl



More information about the wpkg-users mailing list