Hi Hamza On 31.07.2012 11:48, Hamza K. wrote: > with versiongreaterorequal i cant remove my packages he does nothing. Let's see... > Package: > > <?xml version="1.0" encoding="UTF-8"?> > <packages> ... > <check type='uninstall' condition='versiongreaterorequal' > path='Unlocker %VERSION%' value='%VERSION%'/> Remember that this checks for the "DisplayVersion" entry in uninstall information within the registry. Not all applications insert such an entry. However Unlocker 1.9.1 seems to. Let's check the log... > Log File: > 2012-07-31 11:42:56, DEBUG : WPKG 1.3.0 starting... > 2012-07-31 11:42:56, DEBUG : Reboot-Cmd is standard. > 2012-07-31 11:42:57, DEBUG : Reading XML file: > //192.168.48.103/wpkg/packages/UnLocker.xml > 2012-07-31 11:42:57, DEBUG : Reading XML file: > //192.168.48.103/wpkg/packages/Unlocker-x64.xml Unlocker packages read. ... > 2012-07-31 11:43:04, DEBUG : Profiles applying to the current host:|PC1| > 2012-07-31 11:43:04, DEBUG : Getting profiles which apply to this node. > 2012-07-31 11:43:04, DEBUG : Initializing new log file: > 'C:\Windows\TEMP\wpkg-vdd-vmx06-vm04.log' in replace mode. > 2012-07-31 11:43:04, DEBUG : Applying profile: PC1 > 2012-07-31 11:43:04, DEBUG : Reading variables from hosts[s] > 2012-07-31 11:43:04, DEBUG : Reading variables from host: > name='VDD-VMX06-VM04',profile-id='PC1' > 2012-07-31 11:43:04, DEBUG : Synchronizing. Number of packages referenced by > profile: 0. > 2012-07-31 11:43:04, DEBUG : Evaluating packages to be removed. > 2012-07-31 11:43:04, DEBUG : Number of packages to remove: 0 The profile "PC1" assigned to the host you're running WPKG at does not have any packages assigned. As a result WPKG would remove all packages previously assigned to this host by WPKG. Please check %SystemRoot%\system32\wpkg.xml whether unlocker previously has been installed properly by WPKG. I assume your wpkg.xml on this host is empty - this is why WPKG does not start any action (no software deployed to this host by WPKG previously, no software assigned now -> no action to do). Maybe you expect that WPKG would execute the checks of all packages and execute remove commands of all of them not assigned to the host. This is a common wrong assumption. WPKG will only remove packages if they have been assigned previously using WPKG. So if you previously assigned unlocker to this host and it gets properly installed by WPKG, then it will add it to wpkg.xml. If you later remove unlocker from the profile again, then WPKG performs a remove. br, Rainer |