I'm a little foggy on what the specific arguments are for installing
.Net assemblies, our product requires that the assemblies be installed
in both the GAC and INSTALLDIR. I've tried creating duplicate
components, but am getting ICE30 errors during install. The component
definitions look like (abbreviated):

      <Directory Id="TARGETDIR" Name="SourceDir">
        <Directory Id="GlobalAssemblyCache" ShortSourceName="Global~1"
SourceName="GlobalAssemblyCache">
          <Component Id="DevExpress.Data.v7.3"
Guid="{B4DC2878-F1C4-453C-A0F8-4B76CE5644C7}">
            <File Id="devexpress.data.v7.3"
Name="DevExpress.Data.v7.3.dll" KeyPath="yes" ShortName="DEVEXP~1.DLL"
Assembly=".net" AssemblyManifest="devexpress.data.v7.3"
Source="..\..\..\..\3rdPartyFiles\DevExpress\2007
v7.3.7\DevExpress.Data.v7.3.dll" />
          </Component>
        </Directory>
        <Directory Id="INSTALLDIR">
          <Component Id="NG_DevExpress.Data.v7.3"
Guid="{AD9A08C0-E43A-4d42-AFD0-FBC3A8AD01B7}">
            <File Id="NG_devexpress.data.v7.3"
Name="DevExpress.Data.v7.3.dll" KeyPath="yes" ShortName="DEVEXP~1.DLL"
Assembly=".net" AssemblyManifest="devexpress.data.v7.3"
Source="..\..\..\..\3rdPartyFiles\DevExpress\2007
v7.3.7\DevExpress.Data.v7.3.dll" />
          </Component>
       </Directory>

The error thrown is: ICE30: The target file
'DEVEXP~1.DLL|DevExpress.Data.v7.3.dll' is installed in '[TARGETDIR]\'
by two different components on an SFN system:
'DevExpress.Data.v7.3.B6A5B460_6165_47E9_A9B7_7D44808C7B98' and
'NG_DevExpress.Data.v7.3.B6A5B460_6165_47E9_A9B7_7D44808C7B98'. This
breaks component reference counting.

Am I using the correct syntax for installing to the GAC? I'm not sure
why WiX thinks both files are going to [TARGETDIR]. This is with WiX
3.0.3704.0 What's the proper way to install an assembly to both GAC
and a non-GAC folder.

-- 
-Chris

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to