[wpkg-users] wpkg - how to upgrade between different products like 'firefox 3' to 'firefox 4'?
Paul McGrath
J.P.McGrath at leeds.ac.uk
Wed Aug 31 21:26:54 CEST 2011
All the firefox versions just upgrade by uninstalling the older version during the self contained installation. We have only ever had one 'firefox', 'adode reader', 'flash player' etc.... package. You just create a 'firefoxv2' package for your test system and once I've proven it installs then rename it to 'firefox'.
As another reply stated you can put an uninstall 'msiexec /x {???????}' as an install line to remove the previous versions with error trapping if they don't exist.
________________________________________
From: wpkg-users-bounces at lists.wpkg.org [wpkg-users-bounces at lists.wpkg.org] On Behalf Of Urs Rau (UK) [urs.rau at om.org]
Sent: 31 August 2011 18:03
To: wpkg-users at lists.wpkg.org
Subject: [wpkg-users] wpkg - how to upgrade between different products like 'firefox 3' to 'firefox 4'?
Friends,
Has anybody mastered how to upgrade between versions of firefox or thunderbird or even nod32?
We currently have a "nod32 v3" wpkg package and a "nod32 v4" wpkg package, or a "firefox 3" and a "firefox 4" and "firefox" 5" and "firefox 6" wpkg package.
Has anybody worked out a clean way of upgrading between versions that wpkg considers to be non-related?
Something along the lines of a "upgrade" section in the xml that will actively edit the "wpkg.xml" db file pn the machine and do something along the lines of
sed -e 's/firefox 3/firefox 4/' on the wpkg.xml file and so consolidate different packages and make sure they can be upgraded in this way?
Thanks for any pointers or solutions to this problem.
Regards,
--
Urs Rau
More information about the wpkg-users
mailing list