|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Patch assembly in GACHi,
Sorry if I don't post my question in the propper place. If so, please, direct me to the right forum. Thanks :) I have troubles building a patch (a PCP file) that propper update an assembly in GAC. I have setup1 that installs assembly ver 1.0.0.0 in GAC and setup2 that installs the same assembly ver 1.0.1.0 in GAC. When I build a MSP file according to the documentation and apply it, the previous assembly (ver 1.0.0.0) remains in the GAC. The newer one also appears in GAC. Have someone resolved the same problem? Please, help! Thanks >I have setup1 that installs assembly ver 1.0.0.0 in GAC and setup2 that What did you expect would happen? The GAC is designed to hold multiple>installs the same assembly ver 1.0.1.0 in GAC. When I build a MSP file >according to the documentation and apply it, the previous assembly (ver >1.0.0.0) remains in the GAC. The newer one also appears in GAC. > >Have someone resolved the same problem? versions of the same assembly. Mattias -- Mattias Sjögren [C# MVP] mattias @ mvps.org http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com Please reply only to the newsgroup. Hi,
I want the previous assembly in GAC to be unpublished and the newer version of the assembly to be published. I said that both versions of the assembly appear in GAC after applying the patch. This is not a problem for the application as it functions quite well in this situation. The problem is that when deinstalling the patch and the client application, one of the assembly version always remain in GAC. It appear that the remaining assembly is no longer associated with the setup that install it. Actually, when I watch the install and deinstall log of the client installation and the patch I see the propper actions executed but the assembly still remain in GAC. Would you please provide me with example PCP file that propper substitute assembly installed in GAC and proper remove it from there upon uninstall? Thanks Show quote "Mattias Sjögren" <mattias.dont.want.spam@mvps.org> wrote in message news:ugX%23Ii3JGHA.3912@TK2MSFTNGP10.phx.gbl... > >I have setup1 that installs assembly ver 1.0.0.0 in GAC and setup2 that >>installs the same assembly ver 1.0.1.0 in GAC. When I build a MSP file >>according to the documentation and apply it, the previous assembly (ver >>1.0.0.0) remains in the GAC. The newer one also appears in GAC. >> >>Have someone resolved the same problem? > > What did you expect would happen? The GAC is designed to hold multiple > versions of the same assembly. > > > Mattias > > -- > Mattias Sjögren [C# MVP] mattias @ mvps.org > http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com > Please reply only to the newsgroup. |
|||||||||||||||||||||||