Different pkgs installing same components
Different pkgs installing same components
- Subject: Different pkgs installing same components
- From: Pradeep Kumar Udupi <email@hidden>
- Date: Tue, 28 Aug 2007 22:57:44 -0700
- Thread-topic: Different pkgs installing same components
Hi
I have a problem related to backward compatibility when installing two
different versions of the applications that are installed using different
pkgs.
I have a pkg that installs a set of applications on the user's system. This
pkg is already in the market and users are using it. But now I have a set of
pkgs that installs the same applications. The problem is the the previous
version used just one pkg to install all the applications, but now I have a
separate pkg for each of these applications.
Now if a user has a older version of the app and then he installs the new
pkgs then the preinstall script in the new pkg will remove the old version
of the app before installing the new one. If this is not done then instead
of replacing the whole app, the new pkg creates a merge of old and new app.
So the final app will contain some traces of old app as well as new app. It
seems to do a union of the two versions. Anyways this is not a huge problem
as such since this can be handled by deleting the old version.
The bigger problem is that if a user runs the older pkg then it will do the
same thing. Now I cant change anything in the pkg that is already out there.
So the question is how do I solve this backward compatibility issue? I have
some ideas where I can prohibit the old pkg from been installed by creating
a dummy receipt of the old pkg with a higher version than the one that is
shipped. This will work. But I was wondering if there is a better solution
than this.
Thanks
Pradeep
-----------------------------------------------
Robosoft Technologies - Come home to Technology
Disclaimer: This email may contain confidential material. If you were not an intended recipient, please notify the sender and delete all copies. Emails to and from our network may be logged and monitored. This email and its attachments are scanned for virus by our scanners and are believed to be safe. However, no warranty is given that this email is free of malicious content or virus.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden