[wpkg-users] package is run one more time after removal

Rainer Meier r.meier at wpkg.org
Tue Jun 2 19:30:47 CEST 2009


Hi Simon,

simplesi wrote:
> When testing I removed a package from a profile but wpkg seemed to still run
> it the next time i ran my logon script (which does cscript
> %WPKGROOT%\wpkg.js /synchronize )
> 
> It them doesn't do run it on subsequent runs.
> 
> I'm assuming it looks in wpkg.xml and sees the entry there and decides to
> run it and then deletes it from wpkg.xml afterwards.
> 
> Is there a way to stop this happening or is it a bug?
> 
> Using WPKG 1.1.0

This might be because of the update-before-remove functionality. In case the
local package (the one which you removed from the profile, but not from the
package database I guess) is outdated then WPKG will first run the latest
install commands as defined within the server database before executing the
remove procedure.

The reason for this is to allow administrators to fix up broken uninstall
procedures in existing packages and therefore allow clients to remove the
packages correctly.

br,
Rainer



More information about the wpkg-users mailing list