[wpkg-users] Installing a new version of a program over an old one

Tomasz Chmielewski mangoo at wpkg.org
Sat Jan 28 10:05:45 CET 2006


Charles McLaughlin wrote:
> Hello,
> 
> I'd like to use wpkg to install Quicktime 7.0.4 on all my PCs.  I 
> already have version 7.0.2 installed, but there is a security flaw 
> reported.  It seems that simply installing the new version is good 
> enough -- no need to uninstall the old version.
> 
> How can I write a "check" that won't die when it detects that the old 
> version is already installed?

Just write a check that determines that this is a version 7.0.2 / 7.0.4.

Perhaps look into Software Add/Remove, some files, the registry?

If you can't figure the difference between the two, create a file called 
"Quicktime_7.0.4", which will be put in the Quicktime installation dir 
(something like %programfiles%\quicktime\Quicktime_7.0.4), and check for 
its existance. Don't forget to create that file after 7.0.4 is installed.


-- 
Tomek



wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users




More information about the wpkg-users mailing list