Hi,

When i try to register a *.net COM+ component *using wix-2.0.4820 this is
the error i get. I am a newbie to Wix

Action start 15:27:28: InstallFinalize.
ComPlusInstallExecuteCommit:  Error 0x80070490: Failed to find component
object
ComPlusInstallExecuteCommit:  Error 0x80070490: Failed to configure
components
ComPlusInstallExecuteCommit:  Error 0x80070490: Failed to register assembly,
key: TestComPlusAssembly
ComPlusInstallExecuteCommit:  Error 0x80070490: Failed to register
assemblies
Action ended 15:27:31: InstallFinalize. Return value 3.
Action ended 15:27:31: INSTALL. Return value 3.
Action ended 15:27:31: ExecuteAction. Return value 3.
Action ended 15:27:31: INSTALL. Return value 3.
=== Logging stopped: 7/27/2007  15:27:31 ===
MSI (c) (34:CC) [15:27:31:733]: Product: Test Package -- Installation
failed.

This is how the relevant section of my *wix file *looks
PSA for the complete file

 <Directory Id='TARGETDIR' Name='SourceDir'>
         <Directory Id='ProgramFilesFolder' Name='PFiles'>
            <Directory Id='MyDir' Name='TestProg' LongName='Test Program'>

               <Component Id="TestComPlusComponent_dll" DiskId="1"
Guid="83B3B898-D5EF-44db-9F95-2FFD32FAEB1A">
                 <File Id="TestComPlusComponent_dll" Name=" TestCC.dll"
Source="D:\WorkArea\TestApps\WIX\TestComComponent.dll" KeyPath="yes"
Assembly="no" />
                 <pca:ComPlusApplication  Id="MydotNet" Name="My COM+
Application">
                   <pca:ComPlusAssembly Id="TestComPlusAssembly"
DllPath="[#TestComPlusComponent_dll]" TlbPath="[#TestComPlusComponent_tlb]"
                     Type=".net" RegisterInCommit="yes">
                     <pca:ComPlusComponent Id="CheckInterface"
CLSID="A4C42969-F5AE-4d53-B427-52B02B0BD6AD"/>
                   </pca:ComPlusAssembly>
                 </pca:ComPlusApplication>
               </Component>

               <Component Id="TestComPlusComponent_tlb" DiskId="1"
Guid="E172FD2A-814A-489d-B1FD-6408DE7D7B6D">
                 <File Id="TestComPlusComponent_tlb" Name=" TCC.tlb"
Source="D:\WorkArea\TestApps\WIX\TestComComponent.tlb" KeyPath="yes" />
               </Component>

            </Directory>
         </Directory>
      </Directory>

Thanks

Shinu
<?xml version='1.0'?>
<Wix xmlns='http://schemas.microsoft.com/wix/2003/01/wi' 
xmlns:pca="http://schemas.microsoft.com/wix/2005/02/pubca";>
   <Product Id='12345678-1234-1234-1234-123456789012' Name='Test Package' 
Language='1033'
            Version='1.0.0.0' Manufacturer='Microsoft Corporation'>
      <Package Id='12345678-1234-1234-1234-123456789012'
                Description='My first Windows Installer package'
                Comments='This is my first attempt at creating a Windows 
Installer database'
                Manufacturer='Microsoft Corporation' InstallerVersion='200' 
Compressed='yes' />
 
      <Media Id='1' Cabinet='product.cab' EmbedCab='yes' />
 
      <Directory Id='TARGETDIR' Name='SourceDir'>
         <Directory Id='ProgramFilesFolder' Name='PFiles'>
            <Directory Id='MyDir' Name='TestProg' LongName='Test Program'>
            
               <Component Id="TestComPlusComponent_dll" DiskId="1" 
Guid="83B3B898-D5EF-44db-9F95-2FFD32FAEB1A">
                 <File Id="TestComPlusComponent_dll" Name="TestCC.dll" 
Source="D:\WorkArea\TestApps\WIX\TestComComponent.dll" KeyPath="yes" 
Assembly="no" />
                 <pca:ComPlusApplication  Id="MydotNet" Name="My COM+ 
Application">
                   <pca:ComPlusAssembly Id="TestComPlusAssembly" 
DllPath="[#TestComPlusComponent_dll]" TlbPath="[#TestComPlusComponent_tlb]"
                     Type=".net" RegisterInCommit="yes">
                     <pca:ComPlusComponent Id="CheckInterface" 
CLSID="A4C42969-F5AE-4d53-B427-52B02B0BD6AD"/>
                   </pca:ComPlusAssembly>
                 </pca:ComPlusApplication>
               </Component>
               
               <Component Id="TestComPlusComponent_tlb" DiskId="1" 
Guid="E172FD2A-814A-489d-B1FD-6408DE7D7B6D">
                 <File Id="TestComPlusComponent_tlb" Name="TCC.tlb" 
Source="D:\WorkArea\TestApps\WIX\TestComComponent.tlb" KeyPath="yes" />
               </Component>
               
            </Directory>
         </Directory>
      </Directory>
      <Feature Id='MyFeature' Title='My 1st Feature' Level='1'>
        <ComponentRef Id='TestComPlusComponent_dll' />
        <ComponentRef Id='TestComPlusComponent_tlb' />
      </Feature>
    </Product>
</Wix>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to