> > To work around this issue I've introduced a new switch called > /queryMode which > takes the "remote" attribute: /queryMode:remote > > In "remote" mode WPKG will change its behavior in some special cases: > > - WPKG reads all host attributes from the settings node (wpkg.xml) > - WPKG does not perform checks whether the package is still installed > - it just assumes the package is still installed correctly > when dong the query > on server side. > Hi Rainer, I have just checked the remote query and it works great except for one thing. It seems that the queryMode does not update the host os attributes. Example command line: cscript.exe -Nologo "\\vboxsrv\Stefan_Win7\Downloads\WPKG\WPKG Server\wpkg.js" /query:ms /settings:"\\vboxsrv\Stefan_Win7\Downloads\WPKG\ClientStatus\vm-winxp.xml" /queryMode:remote Output: Host information attributes from settings database: hostname: vm-winxp architecture: x86 os: microsoft windows xp professional, , sp3, 5.1.2600 ipaddresses: 10.0.2.15 domainname: groups: lcid: 409 lcidOS: 409 Current profile packages: Java Runtime Environment 6 ID: JRE6 Revision (new): 29 Revision (old): 26 Action: Upgrade pending Reboot: false Execute: - Priority: 10 Status: Installed Adobe Reader 9 ID: AdobeReader9 Revision: 9.4.6 Action: Installation pending Reboot: false Execute: - Priority: 10 Status: Not Installed Adobe Reader 10 ID: AdobeReader10 Revision: 10.1.1 Action: Remove pending Reboot: false Execute: - Priority: 10 Status: Installed Citrix online plug-in (Web) ID: CitrixClient Revision: 12.1.0.30 Action: Remove pending Reboot: false Execute: - Priority: 10 Status: Installed Freemake Video Converter ID: FreemakeVideoConverter Revision: 2.4.0 Action: Remove pending Reboot: false Execute: - Priority: 10 Status: Installed Hardcopy ID: Hardcopy Revision: 2011.8.26.0 Action: Remove pending Reboot: false Execute: - Priority: 10 Status: Installed Paint.NET ID: PaintNET Revision: 3.5.10 Action: Remove pending Reboot: false Execute: - Priority: 10 Status: Installed Process Explorer Link ID: ProcExpLink Revision: 2011.07.02 Action: Remove pending Reboot: false Execute: - Priority: 10 Status: Installed Windows Server 2003 Resource Kit Tools ID: ResourceKitTools Revision: 6.0.2600.0 Action: Remove pending Reboot: false Execute: - Priority: 100 Status: Installed The upgrade is correct, but the remove actions apply to the local host, where the query is executed. Host information attributes from local host: hostname: vm-win2k architecture: x86 os: microsoft windows 2000 professional, , sp4, 5.0.2195 ipaddresses: 10.0.2.15 domainname: groups: lcid: c07 lcidOS: 407 If you need the complete configuration, I will send it to you. --- Stefan -------------- next part -------------- A non-text attachment was scrubbed... Name: wpkg-vm-win2k.log Type: application/octet-stream Size: 7037 bytes Desc: not available URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20111022/fe53b406/attachment.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: Profile_DesktopPC.xml Type: text/xml Size: 2167 bytes Desc: not available URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20111022/fe53b406/attachment.xml> -------------- next part -------------- A non-text attachment was scrubbed... Name: Profile_PhysikalischeRechner.xml Type: text/xml Size: 375 bytes Desc: not available URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20111022/fe53b406/attachment-0001.xml> -------------- next part -------------- A non-text attachment was scrubbed... Name: Profile_VirtuelleRechner.xml Type: text/xml Size: 657 bytes Desc: not available URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20111022/fe53b406/attachment-0002.xml> |