If I remove "<pca:ComPlusComponent>" and children, here are the log
lines.

 

Action 9:31:27: CreateComPlusApplicationRoles. Creating COM+ application
roles

Action 9:31:27: AddUsersToComPlusApplicationRoles. Adding users to COM+
application roles

Action 9:31:27: RegisterComPlusAssemblies. Registering COM+ components

RegisterComPlusAssemblies: DLL: C:\application\MyTestRh\MyTest.exe

Action 9:31:36: AddComPlusRoleAssignments. Assigning roles to COM+
components

Action 9:31:36: CreateSubscriptionsComPlusComponents. Creating
subscriptions for COM+ components

 

In the component services MMC, I then see the application created but
under Components for the Application it has nothing.  Also a search
through the registry for the class GUID returns no results.  It seems
that the assembly is not registering.

 

To do this manually I would typically use regasm with the /tlb and
/codebase options and then drag the .tlb into the Components in the
Complus Application.  Am I correct to assume that WIX is essentially
doing these steps?

 

Thanks,

Shawn

 

 

From: Fredrik Grohn [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 21, 2008 5:21 PM
To: Meyer, Shawn; wix-users@lists.sourceforge.net
Subject: RE: ComPlus Install Help : Error 0x80070490: Failed to
findcomponent object

 

That error means that a component with the guid "GUID-Of-Class" in your
example below was not found in the application after registering the
assembly. What happens if you remove the ComPlusComponent element, does
a component with that guid show up?

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Meyer,
Shawn
Sent: Thursday, May 22, 2008 12:08 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] ComPlus Install Help : Error 0x80070490: Failed to
find component object

 

 

I am receiving this error "ComPlusInstallExecute:  Error 0x80070490:
Failed to find component object" in the MSI log when running the
installer.

 

If I remove the "ComPlusAssembly" element and children, the
ComApplication is created properly.

 

I am not sure what to make of the error message.

 

Here is my fragment

 

<Directory Id="MyTestBinaries" Name="MyTestRh">

          <Component Id="MyTestComponents" Guid="GUID">

 

            <File Id="MyTest.exe" 

                  Source="$(var.MyTest.TargetDir)MyTest.exe"
KeyPath="yes" DiskId="1" />

 

            <File Id="MyTest.pdb"

              Source="$(var.MyTest.TargetDir)MyTest.pdb" DiskId="1"  />

 

            <File Id="MyTest.tlb"

              Source="$(var.MyTest.TargetDir)MyTest.tlb" DiskId="1"  />

 

            <pca:ComPlusPartition Id="MyTestComPlusPartition"
Name="MyTestComPlusPartition">

              <pca:ComPlusApplication Id="MyTestComPlusApp"
Name="MyTest" ApplicationId="{GUID}">

                <pca:ComPlusAssembly Id="MyTestRh"
DllPath="[#MyTest.exe]"  Type=".net" TlbPath="[#MyTest.tlb]">

                  <pca:ComPlusComponent Id="CMyTest"
CLSID="GUID-Of-Class">

                    <pca:ComPlusInterface Id="IMyTest"
IID="GUID-OF-Interface">

                      

                    </pca:ComPlusInterface>

                    

                  </pca:ComPlusComponent>

                  

                </pca:ComPlusAssembly>

              </pca:ComPlusApplication>

            </pca:ComPlusPartition>

            

          

        </Component>

      

</Directory>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to