Markus Senn wrote:
Hi,

is there a solution for a serverside log.
For example a flat text file, where i can look as admin which software was installed on a client.

WPKG is executed on the client, so you remote machine (server) would have to guess what's being installed on a workstation. Perhaps you could tell from the logs (the files that were transferred), but there's no guarantee that it was installed correctly then.

So the easiest way would be to look at a wpkg.xml file.

It is located in %WINDIR%\system32\wpkg.xml


Technically, you could fetch it in at least two ways:

1) copy it to the server after all commands are executed - you could do it with WPKG (always execute, copy command with the lowest priority of all packages).

2) copy it "from" the server.
Normally, you can connect to any Windows workstation from any other machine, i.e. type \\192.168.1.4\C$ to connect to the C drive on a machine 192.168.1.4 (if you have the correct credentials).


So, depending on the server you have (Samba or AD), you could execute a cron job, which would mount the share, copy the file, and then unmount it (problem: offline workstations), or even do it with a "postexec" command in Samba.


--
Tomasz Chmielewski
http://wpkg.org


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
wpkg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wpkg-users

Reply via email to