I have an interop assembly that breaks my patching.

When patch is installed verbose log shows this:

MSI (s) (78:E8) [16:12:06:987]: Baseline: INTEROP.SERVICELIB.DLL not touched in 
this transaction, verification required.
MSI (s) (78:E8) [16:12:06:989]: Baseline: Existing INTEROP.SERVICELIB.DLL 
version 5.30.2.52 does not match any baseline. Will not be cached.

There is no previous info in the log showing that this file is treated any 
differently than the other files that get cached.

The information at Heath Stewart's Blog :
http://blogs.msdn.com/heaths/archive/2006/12/08/source-resolution-during-patch-uninstall.aspx
doesn't seem to apply to explain this case because this assembly is not 
installed in GAC and there are no corresponding MsiAssembly and MsiAssemblyName 
tables.

Since the assembly gets created from the type library, in the beginning I 
thought the problem is simple and due to the resource version which was always 
set to 1.0.0.0, even if the code got changed. I fixed this by running the 
utility that updated file and product version resource after assembly was 
created. That didn't help.

Then I realized that, even if I changed file and product version resource, the 
assembly version was still fixed at 1.0.0.0 in both RTM and QFE builds. Ok, 
that got fixed too with the little utility that invokes ildasm and, after 
editing the manifest version part ilasm. But that didn't help either. MSI 
insists on not caching the file.

So my question is how can I understand what is making MSI treat this assembly 
so differently?

There are no such problems with .NET assemblies that are not interop, but are 
built from C# source code.

If I decide to provide the RTM source MSI, that will fix my current problem 
with uninstalling QFE1 patch and going back to RTM.

But will I be able to apply and remove multiple patches of this assembly? What 
about dropping from QFE2 to QFE1 if MSI doesn't feel like caching anything 
about this assembly?

TradeStation Group, Inc. is a publicly-traded holding company (NASDAQ GS: TRAD) 
of three operating subsidiaries, TradeStation Securities, Inc. (Member NYSE, 
FINRA, SIPC and NFA), TradeStation Technologies, Inc., a trading software and 
subscription company, and TradeStation Europe Limited, a United Kingdom, 
FSA-authorized introducing brokerage firm. None of these companies provides 
trading or investment advice, recommendations or endorsements of any kind. The 
information transmitted is intended only for the person or entity to which it 
is addressed and may contain confidential and/or privileged material. Any 
review, retransmission, dissemination or other use of, or taking of any action 
in reliance upon, this information by persons or entities other than the 
intended recipient is prohibited. If you received this in error, please contact 
the sender and delete the material from any computer.
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to