Something here on that: 

http://blogs.msdn.com/astebner/archive/2008/08/10/8847259.aspx 

and you should keep the assembly name values the same (so don't change the 
strong name). 

Phil Wilson 


-----Original Message-----
From: DanR [mailto:daniel.roberts...@repab.se] 
Sent: Thursday, December 10, 2009 9:36 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Question on updating GAC assemblies


We develop multiple applications using the same framwork, hence we put some
DLL files in the GAC.

Now I’m trying to patch an assembly in the GAC to a new version. I’m giving
it a new strong name by increasing the build number and are then updating my
application by reinstalling the MSI (minor upgrade) with the new assembly in
it. So fooCore.dll is increased from version 1.0.0.0 => 1.0.1.0 

After  the upgrade both the old and the new version of the fooCore.dll
assembly are placed in the GAC.  

When does the old assembly gets removed from the GAC? Does it ever? 
Since, on this particular test-computer, I have but one of our products
installed, hence no other product is using/referencing  version 1.0.0.0 of
the fooCore.dll. Shouldn’t that one then be removed automaticly during the
upgrade?
Of course, if there were other products using fooCore.dll I understand why
the first version would still be there, but now the 1.0.1.0 version is the
only one in use. 

regards
Daniel

-- 
View this message in context: 
http://n2.nabble.com/Question-on-updating-GAC-assemblies-tp4146652p4146652.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. This e-mail is confidential and may well also be legally privileged. 
If you have received it in error, you are on notice of its status. Please 
notify the sender immediately by reply e-mail and then delete this message from 
your system. Please do not copy it or use it for any purposes, or disclose its 
contents to any other person. This email comes from a division of the Invensys 
Group, owned by Invensys plc, which is a company registered in England and 
Wales with its registered office at Portland House, Bressenden Place, London, 
SW1E 5BF (Registered number 166023). For a list of European legal entities 
within the Invensys Group, please go to 
http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77. 
You may contact Invensys plc on +44 (0)20 7821 3848 or e-mail 
inet.hqhelpd...@invensys.com. This e-mail and any attachments thereto may be 
subject to the terms of any agreements between Invensys (and/or its 
subsidiaries and affiliates) and the recipient (and/or its subsidiaries and 
affiliates).

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to