[wpkg-users] Silently drop a package

Vladimir Psenicka vladimir.psenicka at prodeco.cz
Tue Nov 18 10:17:32 CET 2008


Upgrade (increase revision number) package SU1 without upgrade command
and remove command, then remove package from profile:

example:
> <package
> 		id="SU1"
> 		name="SU1"
> 		revision="2"
> 		reboot="false"
> 		priority="10"
> 		execute="once">
> 		
> 		<install cmd='%SOFTWARE%\blabla...'>
> 			<exit code="3010" />
> 		</install>
> 		
> 	</package>



Andreas Heinlein napsal(a):
> Hello,
> 
> I would like to know if and how it is possible to make WPKG simply
> forget about a certain package, i.e. remove it from the profiles and
> package list *without* making WPKG try to uninstall the package.
> 
> I had deployed Adobe Reader 8.1.2 as package, and since I was still
> quite new to WPKG, I later deployed Adobe Reader 8.1.2 SU1 as a separate
> package (depending on Adobe Reader 8.1.2), which was obviously not the
> best choice. Now I deployed Adobe Reader 9, which automatically
> uninstalls 8.1.2 and the SU1. I increased revision number of the Adobe
> Reader package and updated the checks and commands, which worked just
> fine. But what now with the SU1 package?
> 
> I removed it from the packages and profiles, which worked somehow but
> made wpkg try an uninstall of SU1 (after it already had installed Adobe
> Reader 9), which of course failed and let wpkg complain about a "zombie"
> package; it was removed from the list of installed packages anyway.
> 
> But what would be the "clean" way to do this?
> 
> Bye,
> Andreas
> -------------------------------------------------------------------------
> wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
> _______________________________________________
> wpkg-users mailing list
> wpkg-users at lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/wpkg-users

-- 
Vladimir Psenicka
IT system engineer
Prodeco a.s.



More information about the wpkg-users mailing list