[wpkg-users] remove does not work of type <check type="file" condition="versionequalto" path="%programfiles%\pidgin\pidgin.exe" value="2.5.3.0" />

Johannes.Brix at evidian.com Johannes.Brix at evidian.com
Fri Jan 2 16:54:20 CET 2009


Hello,

I don't know if this is a bug of wpkg.js or of my config, 
but removing this package doesn't remove it from wpkg.xml.

<package
   id="pidgin"
   name="Pidgin"
   revision="2530"
   reboot="false"
   priority="1">
   <check type="file" condition="versionequalto" 
path="%programfiles%\pidgin\pidgin.exe" value="2.5.3.0" />
   <install cmd='cmd /C taskkill /F /T /IM pidgin.exe' >
      <exit code='1' />
      <exit code='128' /> 
   </install> 
   <install cmd='\\evd-ads2\wpkg\Pidgin\pidgin-2.5.3.exe /L=1031 /S /NOUI' 
/>
   <install cmd='\\evd-ads2\wpkg\Pidgin\pidgin-install.cmd' />
   <upgrade cmd='cmd /C taskkill /F /T /IM pidgin.exe' >
      <exit code='1' />
      <exit code='128' /> 
   </upgrade> 
   <upgrade cmd='\\evd-ads2\wpkg\Pidgin\pidgin-2.5.3.exe /L=1031 /S /NOUI' 
/>
   <upgrade cmd='\\evd-ads2\wpkg\Pidgin\pidgin-install.cmd' />
   <remove cmd='\\evd-ads2\wpkg\Pidgin\pidgin-remove.cmd' >
      <exit code='0' />
   </remove>
</package>
---------------------------------------------------------
Message during execution:

Installing dependencies of 'Pidgin' (pidgin).
Installing 'Pidgin' (pidgin)...
Command 'cmd /C taskkill /F /T /IM pidgin.exe' returned  exit code [128]. 
This exit code is not an error.
Command in installation of Pidgin returned exit code [128]. This exit code 
indicates success.
Processing (install) of Pidgin successful.
Removing Pidgin (pidgin)...
Command '\\evd-ads2\wpkg\Pidgin\pidgin-remove.cmd' returned  exit code 
[0]. This exit code is not an error.
Command in removal of Pidgin returned  exit code [0]. This exit code 
indicates success.
Could not process (remove) Pidgin.
Package still installed.
---------------------------------------------------------

Pidgin has been properly removed, but WKPG is not able to remove it from 
the list. Why?

Thank you for your help and kind regards,

Johannes

---------------------------------------------------------------------------
Johannes Brix, CISSP, CISA               Phone:    ++49 (0)2 20 33 05 15 
32
Senior Support Engineer                  Mobile:   ++49 (0)  17 35 88 76 
48
Evidian Customer Care Köln               Web: support.evidian.com
 www.evidian.com
---------------------------------------------------------------------------




More information about the wpkg-users mailing list