Setup & Deployment - merge modules causing compiler warnings

  • Thread starter Thread starter mjobbe
  • Start date Start date
M

mjobbe

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.
 
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
 
Back
Top