Bugs item #1736751, was opened at 2007-06-13 20:53
Message generated for change (Settings changed) made by barnson
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1736751&group_id=105970
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Wont Fix
Priority: 5
Private: No
Submitted By: Simon Dahlbacka (sdahlbac)
Assigned to: Nobody/Anonymous (nobody)
Summary: same dll both in GAC and elsewere, error
Initial Comment:
I have the following WXS, (basically I'd like to install the same .net assembly
both to the GAC and INSTALLDIR).
<DirectoryRef Id="INSTALLLOCATION">
<Component Id="GACHDDStatusServiceContractComponent"
Guid="PUT-GUID-HERE"
KeyPath="no">
<File Id="GACHDDStatusServiceContractDll"
KeyPath="yes"
Assembly=".net"
Name="HDDStatusServiceContract.dll"
Source="$(var.SourceDir)HDDStatusServiceContract\bin\$(var.Configuration)\HDDStatusServiceContract.dll"
/>
</Component>
<Component Id="HDDStatusServiceContractComponent"
Guid="PUT-GUID-HERE">
<File Id="HDDStatusServiceContractDll"
Name="HDDStatusServiceContract.dll"
Source="$(var.SourceDir)HDDStatusServiceContract\bin\$(var.Configuration)\HDDStatusServiceContract.dll"
/>
</Component>
</DirectoryRef>
Now, as far as I have understood this, if an assembly is GAC:d then it goes
only to the GAC and nowhere else.
However, I get the following errors:
Error 2 ICE30: The target file
'dm5bro4h.dll|HDDStatusServiceContract.dll' is installed in
'[ProgramFilesFolder]\Lemon Design\' by two different components on an LFN
system: 'GACHDDStatusServiceContractComponent' and
'HDDStatusServiceContractComponent'. This breaks component reference counting.
C:\Users\Simon\Documents\Visual Studio
2005\Projects\HDDStatusGadget\HDDStatusInstaller\HDDStatusContract.wxs 17
1 HDDStatusInstaller
Error 3 ICE30: The target file
'dm5bro4h.dll|HDDStatusServiceContract.dll' is installed in
'[ProgramFilesFolder]\Lemon Design\' by two different components on an LFN
system: 'GACHDDStatusServiceContractComponent' and
'HDDStatusServiceContractComponent'. This breaks component reference counting.
C:\Users\Simon\Documents\Visual Studio
2005\Projects\HDDStatusGadget\HDDStatusInstaller\HDDStatusContract.wxs 8
1 HDDStatusInstaller
To me, this seems like a spurious error, (although I know too little to know if
it actually makes sense or not..)
----------------------------------------------------------------------
>Comment By: Bob Arnson (barnson)
Date: 2007-06-17 01:41
Message:
Logged In: YES
user_id=26581
Originator: NO
The ICE30 validation looks for potential problems but doesn't consider the
assembly attribute. We can't change the ICE code, unfortunately. The
easiest workaround is to define another directory for GAC'd files. It
doesn't matter what you name it or where you put it in the Directory
hierarchy.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1736751&group_id=105970
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs