Patch assembly in GAC

  • Thread starter microsoft.public.vsnet.general
  • Start date
M

microsoft.public.vsnet.general

Hi,

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
 
M

Mattias Sjögren

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
 
M

microsoft.public.vsnet.general

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top