Hmm, there is nothing below that looks wrong.  Can you provide more details 
about the exact command lines and exact .wxs file that is causing the problem?  
If you can't send the whole thing, can you send an example .wxs file that 
demonstrates the same problem?  I just can't repro the problem your hitting.

PS:  Have you tried using Reflector or ildasm to verify that the assemblies 
have valid strong names?

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of BULL, Dave, GBM
Sent: Wednesday, December 20, 2006 01:32
To: Rob Mensching; 'wix-users@lists.sourceforge.net'
Subject: Re: [WiX-users] Installing to the GAC

Hi Rob

I have two assemblies that I am trying to install into the GAC. Both are 
signed, both are generated using .NET 1.1 compiler.

One is a wrapper around a COM type library, generated by tlbimp, and the other 
is a DLL which is dependent on the wrapper.

They are in separate components in the wix file.

Neither Candle nor Light gave any warnings or errors. I have tried the 
following switches on candle to get more information out, but it doesn't report 
anything on stdout:

light -v <assemblyname>
light -trace <assemblyname>
light -v -trace <assemblyname>
light -pedantic <assemblyname>

Dave

________________________________
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: 19 December 2006 18:07
To: BULL, Dave, GBM; 'wix-users@lists.sourceforge.net'
Subject: RE: [WiX-users] Installing to the GAC
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