Groups | Blog | Home
all groups > dotnet general > september 2006 >

dotnet general : Setup & Deployment - merge modules causing compiler warnings



mjobbe NO[at]SPAM gmail.com
9/24/2006 10:38:50 PM
I have an installer that requires three merge modules (ATL, CRT, and
MFC), and after adding them in, I get the following warnings when I
build the MSI:

WARNING: Two or more objects have the same target location
('[payload_ul]\8.0.50727.42.cat')

WARNING: Two or more objects have the same target location
('[payload_ul]\8.0.50727.42.cat')

WARNING: Two or more objects have the same target location
('[payload_ul]\8.0.50727.42.cat')

WARNING: Two or more objects have the same target location
('[payload_ul]\8.0.50727.42.cat')

WARNING: Two or more objects have the same target location
('[policydir]\8.0.50727.42.policy')

WARNING: Two or more objects have the same target location
('[policydir]\8.0.50727.42.policy')

WARNING: Two or more objects have the same target location
('[payload_ul]\8.0.50727.42.policy')

WARNING: Two or more objects have the same target location
('[payload_ul]\8.0.50727.42.policy')

WARNING: Two or more objects have the same target location
('[payload_ul]\8.0.50727.42.policy')

WARNING: Two or more objects have the same target location
('[payload_ul]\8.0.50727.42.policy')

WARNING: Two or more objects have the same target location
('[policydir]\8.0.50727.42.policy')

WARNING: Two or more objects have the same target location
('[policydir]\8.0.50727.42.policy')

WARNING: Two or more objects have the same target location
('[policydir]\8.0.50727.42.cat')

WARNING: Two or more objects have the same target location
('[policydir]\8.0.50727.42.cat')

WARNING: Two or more objects have the same target location
('[policydir]\8.0.50727.42.cat')

WARNING: Two or more objects have the same target location
('[policydir]\8.0.50727.42.cat')

The MSI seems to work fine, but I'm wondering if there's a way to get
rid of these warnings. Seems like I might be including multiple copies
of the same files in my build, and would like to avoid that.

Apologies if there's a previous post on this topic - I couldn't find
one.

Thanks.
Steve Long
9/25/2006 10:01:29 AM
Well, here's one thing you can do. You can use Orca to view the merge
modules and see if you are including any of the same files as the merge
modules. This works most of the time for me, but, since I'm not an expert on
merge modules, I don't get it when a merge module doesn't list the files
it's including.
Anyway, it's a starting point.

Steve

[quoted text, click to view]

AddThis Social Bookmark Button