I am having trouble using wix to install a 32-bit complus app on a 64-bit
server. The install does work on a 32-bit server.
The error is 'Error occurred while configuring component 'IAsyncProcessor'
with attribute 'System.EnterpriseServices.InterfaceQueuingAttribute'.'
More complete log included below.

The application is a queued component.  It is targeting the .net 2.0
framework.

The component that I am installing does have a somewhat complicated class
structure:
        1.  Dll 1 has the interface definition. 
        2.  Dll 2 has a base class that implments the interface in dll 1.
        3.  Dll 3 is a subclass of dll 2 and that is the component I am trying 
to
install.
It appears that the error occurrs when installing a complus components for
dll 3 and it is trying to find the interface defined in dll 1.  

As a test I broke my install out into two separate packages.  One to install
all the dependent files in the gac and registers the needed components for
COM. 
Then a second install to just create the complus application and install the
appropriate component.  


When run on a 64-bit 2008 Server the log looks like this: 

        MSI (s) (A0:8C) [16:47:52:003]: Executing op:
End(Checksum=0,ProgressTotalHDWord=0,ProgressTotalLDWord=1246804)
        MSI (s) (A0:8C) [16:47:52:003]: User policy value 'DisableRollback' is 0
        MSI (s) (A0:8C) [16:47:52:003]: Machine policy value 'DisableRollback' 
is 0
        MSI (s) (A0:E4) [16:47:52:003]: Invoking remote custom action. DLL:
C:\Windows\Installer\MSI335E.tmp, Entrypoint: ComPlusInstallExecuteCommit
        ComPlusInstallExecuteCommit:  ExceptionInfo: Code='0',
Source='System.EnterpriseServices', Description='Error occurred while
configuring component 'IAsyncProcessor' with attribute
'System.EnterpriseServices.InterfaceQueuingAttribute'.', 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: CPA.SiteMessageProcessor
        ComPlusInstallExecuteCommit:  Error 0x80020009: Failed to register
assemblies
        CustomAction ComPlusInstallExecuteCommit returned actual error code 1603
(note this may not be 100% accurate if translation happened inside sandbox)
        MSI (s) (A0:8C) [16:47:55:456]: Executing op:
Header(Signature=1397708873,Version=500,Timestamp=1131120122,LangId=1033,Platform=0,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1)


Here is the wix code for the component that is failing.

      <Component Id="Proc_Async_A"
Guid="{559E11E2-C729-46FF-9369-CFFC49068EF1}">
        <Class Id="{FE49078D-5B29-43BF-A525-98A358168452}"
Context="InprocServer32" Description="SMS.Diplomat.Processor.PROC_ASYNC_A"
ThreadingModel="both" ForeignServer="mscoree.dll">
          <ProgId Id="PROC_ASYNC_A.Processor"
Description="SMS.Diplomat.Processor.PROC_ASYNC_A" />
        </Class>
        <complus:ComPlusApplication  
          Id                             = "Complus.Proc_async_a"
          ApplicationId                  =
"{DE67B080-5E0D-49F3-AAD3-FB204CBF250D}"
          AccessChecksLevel              = "applicationLevel"
          Activation                     = "local"
          ApplicationAccessChecksEnabled = "no"
          Description                    = "sms|Diplomat Asynchronous
Processor"
          Identity                       = "nt authority\localservice"
          Name                           = "PROC_ASYNC_A"
          QueuingEnabled                 = "yes"
          QueueListenerEnabled           = "yes"
          QCListenerMaxThreads           = "0"
          RunForever                     = "yes"
          >
          <complus:ComPlusAssembly
            Id               = "CPA.SiteMessageProcessor"
            DllPath          = "[#fil9466D50A93E9E58EC101AA1B375541CF]"
            TlbPath          = "[#filBBA8DA3180BF70FB9A8FD97FB1DE2A6B]"
            RegisterInCommit = "yes"
            Type             = ".net"
            >
            <complus:ComPlusComponent Id="Component.SiteMessageProcessor"
CLSID="FE49078D-5B29-43BF-A525-98A358168452" />
          </complus:ComPlusAssembly>
        </complus:ComPlusApplication>

        <File Id="fil9466D50A93E9E58EC101AA1B375541CF" KeyPath="yes"
Source="RegAsmOut\SMS.Diplomat.Proc_Async_A.dll" />
        <RegistryValue Root="HKCR"
Key="CLSID\{FE49078D-5B29-43BF-A525-98A358168452}\Implemented
Categories\{62C8FE65-4EBB-45e7-B440-6E39B2CDBF29}" Value="" Type="string"
Action="write" />
        <RegistryValue Root="HKCR"
Key="CLSID\{FE49078D-5B29-43BF-A525-98A358168452}\InprocServer32\2.0.0.1"
Name="Class" Value="SMS.Diplomat.Processor.PROC_ASYNC_A" Type="string"
Action="write" />
        <RegistryValue Root="HKCR"
Key="CLSID\{FE49078D-5B29-43BF-A525-98A358168452}\InprocServer32\2.0.0.1"
Name="Assembly" Value="SMS.Diplomat.Proc_Async_A, Version=2.0.0.1,
Culture=neutral, PublicKeyToken=ab1969897eac2c90" Type="string"
Action="write" />
        <RegistryValue Root="HKCR"
Key="CLSID\{FE49078D-5B29-43BF-A525-98A358168452}\InprocServer32\2.0.0.1"
Name="RuntimeVersion" Value="v2.0.50727" Type="string" Action="write" />
        <RegistryValue Root="HKCR"
Key="CLSID\{FE49078D-5B29-43BF-A525-98A358168452}\InprocServer32\2.0.0.1"
Name="CodeBase" Value="[#fil9466D50A93E9E58EC101AA1B375541CF]" Type="string"
Action="write" />
        <RegistryValue Root="HKCR"
Key="CLSID\{FE49078D-5B29-43BF-A525-98A358168452}\InprocServer32"
Name="Class" Value="SMS.Diplomat.Processor.PROC_ASYNC_A" Type="string"
Action="write" />
        <RegistryValue Root="HKCR"
Key="CLSID\{FE49078D-5B29-43BF-A525-98A358168452}\InprocServer32"
Name="Assembly" Value="SMS.Diplomat.Proc_Async_A, Version=2.0.0.1,
Culture=neutral, PublicKeyToken=ab1969897eac2c90" Type="string"
Action="write" />
        <RegistryValue Root="HKCR"
Key="CLSID\{FE49078D-5B29-43BF-A525-98A358168452}\InprocServer32"
Name="RuntimeVersion" Value="v2.0.50727" Type="string" Action="write" />
        <RegistryValue Root="HKCR"
Key="CLSID\{FE49078D-5B29-43BF-A525-98A358168452}\InprocServer32"
Name="CodeBase" Value="[#fil9466D50A93E9E58EC101AA1B375541CF]" Type="string"
Action="write" />
        <File Id="filBBA8DA3180BF70FB9A8FD97FB1DE2A6B" KeyPath="no"
Source="RegAsmOut\SMS.Diplomat.Proc_Async_A.tlb">
          <TypeLib Id="{DC1C3E0E-B2FA-3ECD-9E59-4AD3A716DC9B}"
Description="Processor" HelpDirectory="INSTALLDIR" Language="0"
MajorVersion="2" MinorVersion="0">
            <Interface Id="{3BFE194B-7B97-3D33-8448-BA794A4B2932}"
Name="_PROC_ASYNC_A"
ProxyStubClassId="{00020424-0000-0000-C000-000000000046}"
ProxyStubClassId32="{00020424-0000-0000-C000-000000000046}" />
            <Interface Id="{E3D7782A-DCC0-45D9-B2E6-A703BE264081}"
Name="IAsyncProcessor"
ProxyStubClassId="{00020424-0000-0000-C000-000000000046}"
ProxyStubClassId32="{00020424-0000-0000-C000-000000000046}" />
          </TypeLib>
        </File>
      </Component>
 
Any thoughts of what might be causing the error would be great.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Error-configuring-component-when-installing-ComPlus-app-on-64bit-os-tp7590606.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to