Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Removing a patch affecting a shared file.


1 reply to this topic

SrikanthCJ

SrikanthCJ
  • Members
  • 9 posts

Posted 24 September 2005 - 03:32

All,

Subject "Shared File reverting back to older version when the patch is removed from one of the affected products"


We have a file that is shared by more than one Product.(Say CAC1033.dll delivered by both the products in the same folder and it is a shared file).
Now we created a new version of CAC1033.dll and created a uninstallable patch for each of the product. We were able to see the patch listed in the Add / Remove programs for each of the products.

If i remove the patch lets say from Product1, we observed that CAC1033.dll is reverting to the base version of the product. In this case, even product2 lists patch in the Add / Remove programs, where as the file is the older version. This is causing Inconsistency.

We would like to know how do we avoid the files reverting back in the above scenario.

Any help is appreciated.

Thanks.
Srikanth

Glytzhkof

Glytzhkof
  • Moderators
  • 1,447 posts

Posted 24 September 2005 - 14:58

I have never done patches like this, but one ugly solution could perhaps be to set the file to "leave on uninstall". You could then perhaps add code to detect whether the uninstall is complete or if it is a patch that is uninstalled and if it is a full uninstall you remove the file?
Regards
-Stein Åsmul