Hi,
I am trying to install .net COM+ application using WixComPlus Extension.
Here is my code:

<compplus:ComPlusApplication Id="HubTransactionCoOrdinator"
ApplicationId="{9471518B-DE5B-4728-BE48-9F144813BFA0}" Name=" Hub
Transaction Coordinator" >
         
          <compplus:ComPlusAssembly Id="HubCompensator.dll"
DllPath="[#HubCompensator.dll]" TlbPath="[#HubCompensator.tlb]" 
RegisterInCommit="yes"  Type=".net">
            <compplus:ComPlusComponent Id="Hub.Compensator.5.0.1"
CLSID="A93BAF11-76DB-4E2D-8DB7-801FF6FF9562" />
          </compplus:ComPlusAssembly>
        
        <compplus:ComPlusAssembly Id="HubConnectionManager.dll"
DllPath="[#HubConnectionManager.dll]" TlbPath="[#HubConnectionManager.tlb]" 
RegisterInCommit="yes" Type=".net">
            <compplus:ComPlusComponent Id="Hub.ConnectionManager.5.0.1"
CLSID="2DB9546E-C13E-4C31-B5D7-50F944252A8C" />
          </compplus:ComPlusAssembly>
        
        </compplus:ComPlusApplication>


If i run the installer will throw following error:

Action 14:49:09: RegisterComPlusAssemblies. Registering COM+ components
RegisterComPlusAssemblies: DLL: C:\Program Files
(x86)\dummyCom\HubCompensator.dll
ComPlusInstallExecuteCommit:  ExceptionInfo: Code='0',
Source='System.EnterpriseServices', Description='Failed to load assembly
'c:\program files (x86)\dummycom\hubcompensator.dll'.', HelpFile='',
HelpContext='0'
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: Unisys.AgileBusiness.HubCompensator.dll
ComPlusInstallExecuteCommit:  Error 0x80020009: Failed to register
assemblies


Now the strange behavior is, if i change Type="native" installation goes
fine and everything gets installed without any issues.

Could anyone help me to resolve the error always come during .net com+
installation.
and why the behavior is like that?

Does anyone have the same problem?


Thanks and Regards,
Sampat



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Strange-Can-t-install-net-com-with-type-net-but-type-native-does-without-issues-tp7598954.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to