Yes, WiX should have generated that table for you.  Is your Assembly strong 
signed?  Were there any warnings/errors from light during the build process?

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of BULL, Dave, GBM
Sent: Tuesday, December 19, 2006 04:54
To: 'wix-users@lists.sourceforge.net'
Subject: [WiX-users] Installing to the GAC

Hi

I'm trying to install an assembly into the GAC using wix. I thought that all I 
needed to do was add the Assembly=".net" attribute as shown below.

          <Component Id="EmailSrv.dll" 
Guid="{13D474A4-5710-473D-82B5-8BCCC90932B3}">
            <File Id="EmailSrv.dll" Name="EmailSrv.dll" KeyPath="yes" 
Source="EmailSrv\EmailSrv.dll" Assembly=".net" />
          </Component>

Candle and Light both run without errors, but when I try to install the msi, it 
fails with the following error:

DEBUG: Error 2228:  Database: . Unknown table 'MsiAssemblyName' in SQL query:  
SELECT `Value` FROM `MsiAssemblyName` WHERE `Component_` = ? AND (`Name` = 
'Name' OR `Name` = 'NAME' OR `Name` = 'name')
The installer has encountered an unexpected error installing this package. This 
may indicate a problem with this package. The error code is 2228. The arguments 
are: , MsiAssemblyName,  SELECT `Value` FROM `MsiAssemblyName` WHERE 
`Component_` = ? AND (`Name` = 'Name' OR `Name` = 'NAME' OR `Name` = 'name')
When I look at the msi using orca, it is missing the MsiAssemblyName table. 
Should wix not generate these entries for me when I add the Assembly attribute?

I am using candle/light version 3.0.2128.0

Any help would be most appreciated.

Dave





***********************************************************************************



The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered 
Office: 36 St Andrew Square, Edinburgh EH2 2YB.



Authorised and regulated by the Financial Services Authority







This e-mail message is confidential and for use by the



addressee only. If the message is received by anyone other



than the addressee, please return the message to the sender



by replying to it and then delete the message from your



computer. Internet e-mails are not necessarily secure. The



Royal Bank of Scotland plc does not accept responsibility for



changes made to this message after it was sent.







Whilst all reasonable care has been taken to avoid the



transmission of viruses, it is the responsibility of the recipient to



ensure that the onward transmission, opening or use of this



message and any attachments will not adversely affect its



systems or data. No responsibility is accepted by The



Royal Bank of Scotland plc in this regard and the recipient should carry



out such virus and other checks as it considers appropriate.



Visit our websites at:



www.rbs.com



www.rbsmarkets.com



***********************************************************************************


-------------------------------------------------------------------------
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