[wpkg-users] trouble with check conditions

David Petterson david at ifm.liu.se
Fri Feb 22 16:01:28 CET 2013


On 2013-02-21 20:35, Rob Bos wrote:
> I'm trying to write a package that will install a patch if necessary,
> but install the base version if it doesn't exist, but I'm running into
> problems with the evaluation of check conditions. Specifically, Adobe
> Acrobat, which requires that you first install up to the most recent
> quarterly release, and then apply out-of-cycle patches on top of that.
> 
> So I can go none->10.1.5->10.1.6, or 10.1.5->10.1.6.


I use a batch script that tries to install the latest patch.
If errorlevel 0, exit script.
If not errorlevel 0, uninstall all found acrobat readers, install the
base version and then patch 10.1.5 and then 10.1.6.


-- 
David Petterson <david at ifm.liu.se>		Phone: +46(0)13-28 2617
Systems Administrator
Department of Physics, Chemistry and Biology at Linköping University
Office: F F202
SE 581 83 Linköping, Sweden



More information about the wpkg-users mailing list