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.


begin:vcard
fn:Jaroslav Urban
n:Urban;Jaroslav
org:ASD Software s.r.o.
adr;quoted-printable;quoted-printable;quoted-printable;quoted-printable:;;=C5=BDerot=C3=ADnova 2981/55A;=C5=A0umperk;Olomouck=C3=BD;78701;=C4=8Cesk=C3=A1 Republika
email;internet:[EMAIL PROTECTED]
tel;work:+420 583 300 753
url:http://www.asd-software.cz
version:2.1
end:vcard

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