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