Try putting the pca:ComPlusApplication configuration under the tlb file rather than the dll. I have found I have had to do that to make it work. I don't really understand why but it seemed to work for me.
Neil -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ing. Jaroslav Urban Sent: 05 March 2007 13:26 To: Wix-Users Subject: [WiX-users] COM+ and GAC installation with wix.v2.0.4820.0 Hi 2 All, I try to install my Net assembly to GAC, but it gives me error when it is installed. compilation is Oki. May someone tell me what is wrong? Installed assembly is signed with strong name as [assembly: AssemblyKeyFile( key follows)]. My wxs file, just piece: <Component Id="idCompBin" DiskId="1" Guid="772F9B3A-F6E6-4C56-B66D-40744342AA12"> <File Id="ASDSoft.Common.Gateways.ARES.dll" LongName="ASDSoft.Common.Gateways.ARES.dll" Name="ASDSOFT.DLL" Source="D:\Work\Gateway\_Release\ASDSoft.Common.Gateways.ARES\ASDSoft.Common.Gateways.ARES.dll" KeyPath="yes" Assembly=".net" DiskId="1" Vital="yes" /> <pca:ComPlusApplication Id="MydotNet" Name="My COM+ Application"> <pca:ComPlusAssembly Id="MyComPlusAssembly" TlbPath="[#ASDSoft.Common.Gateways.ARES.tlb]" Type=".net" DllPathFromGAC="yes" RegisterInCommit="yes"> <pca:ComPlusComponent Id="CheckInterface" CLSID="16050B0C-643E-4E8F-AB87-4D8A7BCCC6CE" /> </pca:ComPlusAssembly> </pca:ComPlusApplication> </Component> <Component Id="idCompTdl" DiskId="1" Guid="23B12921-CC7A-482C-978A-485F00D8F20C"> <File Id="ASDSoft.Common.Gateways.ARES.tlb" LongName="ASDSoft.Common.Gateways.ARES.tlb" Name="ASDSOFT.TLB" Source="D:\Work\Gateway\_Release\ASDSoft.Common.Gateways.ARES\ASDSoft.Common.Gateways.ARES.tlb" /> </Component> It shows error: ComPlusInstallExecuteCommit: ExceptionInfo: Code='0', Source='System.EnterpriseServices', Description='Jeden nebo více po ComPlusInstallExecuteCommit: Error 0x80020009: Failed to invoke RegistrationHelper.InstallAssembly() method ComPlusInstallExecuteCommit: Error 0x80020009: Failed to register .NET assembly ComPlusInstallExecuteCommit: Error 0x80020009: Failed to register assembly, key: MyComPlusAssembly ComPlusInstallExecuteCommit: Error 0x80020009: Failed to register assemblies ComPlusRollbackInstallExecute: ExceptionInfo: Code='0', Source='System.EnterpriseServices', Description='Jeden nebo více po ComPlusRollbackInstallExecute: Error 0x80020009: Failed to invoke RegistrationHelper.UninstallAssembly() method ComPlusRollbackInstallExecute: Error 0x80020009: Failed to unregister .NET assembly ComPlusRollbackInstallExecute: Failed to unregister assembly, hr: 0x80020009, key: MyComPlusAssembly One question related to GAC installation> 1. Should be installed assembly put in some special dir or it doesn't matter? E.g. : <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="GACDir" Name="GAC"> <Component GAC declaraion follows..... 2. when looking to GAC, my assembly has assemblyname equal "temp", which is not what I expect. Am I missing something? Thanx for any help, bye X. ------------------------------------------------------------------------- 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