[wpkg-users] serverside log

Tomasz Chmielewski mangoo at wpkg.org
Mon Feb 27 16:49:35 CET 2006


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



wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users




More information about the wpkg-users mailing list