Looking at Aaron Stebner's blog on these issues, that error is: 

"Failed to install assembly '[2]' because of invalid file or assembly
name. The name of the file must be the name of the assembly plus .dll or
.exe." (the equivalent of fusion error code 0x80131047 -
FUSION_E_INVALID_NAME during install)  

So I suspect that you're breaking that "must be the name of the assembly
plus .dll" rule if you've pasted exact text -  I can see some typos in
the spelling of "community" and the LongName one is probably the one
that matters most. 


Phil Wilson 


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Colin
Bowern
Sent: Tuesday, April 10, 2007 12:01 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] IAssemblyCacheItem Commit failed with 0x80131047

I'm trying to debug a setup project where I have defined a component
with a strongly named assembly:

--snip--
<Directory Id="INSTALLDIR_GAC" Name="GAC">
  <Component Id="Assemblies_GAC"
Guid="D50D93D8-B5EF-46f4-A304-869ADBA389F9">
    <File Id="OfficialCommuntiy.Common.dll_GAC" Name="occgac.dll"
LongName="OfficialCommuntiy.Common.dll" DiskId="1"
Source="C:\Projects\Common\trunk\Common\bin\Release\OfficialCommunity.Co
mmon.dll" KeyPath="yes" Assembly=".net" />
  </Component>
</Directory>
--snip--

I am able to GAC the assembly using GacUtil on the command line, the
dependencies are already in the GAC as well. Reflector shows the
assembly full name as:

OfficialCommunity.Common, Version=2.2.0.0, Culture=neutral,
PublicKeyToken=9c02f6b549e26545

In the msiexec.log I'm seeing the following to which I have researched
with no real conclusion:

--snip--
MSI (s) (B0:9C) [14:21:05:060]: Assembly Error:The given assembly name
or codebase, '%1', was invalid.
MSI (s) (B0:9C) [14:21:05:060]: Note: 1: 1935 2:
{D50D93D8-B5EF-46F4-A304-869ADBA389F9} 3: 0x80131047 4:
IAssemblyCacheItem 5: Commit 6:
OfficialCommunity.Common,version="2.2.0.0",culture="neutral",publicKeyTo
ken="9C02F6B549E26545",processorArchitecture="MSIL"
Error 1935. An error occurred during the installation of assembly
'OfficialCommunity.Common,version="2.2.0.0",culture="neutral",publicKeyT
oken="9C02F6B549E26545",processorArchitecture="MSIL"'. Please refer to
Help and Support for more information. HRESULT: 0x80131047. assembly
interface: IAssemblyCacheItem, function: Commit, component:
{D50D93D8-B5EF-46F4-A304-869ADBA389F9}
MSI (s) (B0:9C) [14:21:21:916]: Product: Common Framework 2.2 CTP --
Error 1935. An error occurred during the installation of assembly
'OfficialCommunity.Common,version="2.2.0.0",culture="neutral",publicKeyT
oken="9C02F6B549E26545",processorArchitecture="MSIL"'. Please refer to
Help and Support for more information. HRESULT: 0x80131047. assembly
interface: IAssemblyCacheItem, function: Commit, component:
{D50D93D8-B5EF-46F4-A304-869ADBA389F9}
--snip--

Part of the difficultly is the relative undocumented nature of
IAssemblyCacheItem.  The assembly name looks correct.  I'm assuming the
processorArchitecture attribute gets tacked on and should be alright?  I
have tried adding the ProcessorArchitecture attribute to the File
element and it did not make a difference.

Any thoughts on other potential causes or knowledge of resolutions?

Thanks!
Colin

------------------------------------------------------------------------
-
Take Surveys. Earn Cash. Influence the Future of IT Join
SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to