Hi,

I am currently working with wix and trying to build an installer using wix
2.0 for my project. I need to add a crystal report merge moule with the
installer.

After adding merge module with my installer project when I try to build the
project, I got the following error:

"Error HRESULT E_FAIL has been returned from a call to a COM component."

 

The code of my installer project is given below:

 

<?xml version='1.0' encoding='Windows-1252'?>

<Wix xmlns='http://schemas.microsoft.com/wix/2003/01/wi'>

 

  <Product Name='IRAS 3.0'

    Id='41093361-5958-4F38-A7AC-A68CE2CB5543'
UpgradeCode='E1FD7EB8-1707-43D2-A26F-52F51F3019F9'

    Version='3.0.0' Manufacturer='Meridian Computer Services.'
Language='1033' Codepage='1252'>

 

    <Package Id='41093361-5958-4F38-A7AC-A68CE2CB5542' Keywords='Installer'

      Description="Meridian's IRAS 3.0 Installer"

      Comments='IRAS is a registered trademark of Meridian Computer
Services.' Manufacturer='Meridian Computer Services.'

      InstallerVersion='300' Languages='1033' Compressed='yes'
SummaryCodepage='1252' />

 

 

 

 

    <Media Id='1' Cabinet='IRAS.cab' EmbedCab='yes' DiskPrompt="CD-ROM #1"
/>

    <Property Id='DiskPrompt' Value="Meridian's IRAS 3.0 Installer [1]" />

 

    <Property Id="INSTALLDIR">

      <RegistrySearch Id='MeridianIRASRegistry' Type='raw'

        Root='HKLM' Key='Software\Meridian\IRAS 3.0' Name='InstallDir' />

    </Property>

 

    <Property Id="FILEEXISTS">

      <DirectorySearch Id="CheckFileDir" Path="[INSTALLDIR]" Depth="0">

        <FileSearch Id="CheckFile" Name="Lookfor.txt" />

      </DirectorySearch>

    </Property>

 

 

    <Directory Id='TARGETDIR' Name='SourceDir'>

      <Directory Id='ProgramFilesFolder' Name='PFiles'>

        <Directory Id='Meridian' Name='Meridian'>

          <Directory Id='INSTALLDIR' Name='IRAS30' LongName='IRAS 3.0'>

 

            <Component Id='MainExecutable'
Guid='41093361-5958-4F38-A7AC-A68CE2CB5544'>

              <File Id='IRASEXE' Name='IRAS30.exe' LongName='IRASAppl30.exe'
DiskId='1'

                              Source='IRASAppl30.exe' Vital='yes'>

 

 

                <Shortcut Id="startmenuIRAS30" Directory="ProgramMenuDir"
Name="IRAS30" 

                                 LongName="IRAS 3.0"
WorkingDirectory='INSTALLDIR'

                                 Icon="IRAS30.ico" IconIndex="0" />

                <Shortcut Id="desktopIRAS30" Directory="DesktopFolder"
Name="IRAS30"

                  LongName="IRAS 3.0" WorkingDirectory='INSTALLDIR'

                  Icon="IRAS30.ico" IconIndex="0" />

              </File>

            </Component>

 

 

            <Component Id='Log4DLL'
Guid='41093361-5958-4F38-A7AC-A68CE2CB5545'>

              <File Id='Log4DLL' Name='log4net.dll' LongName='log4net.dll'
DiskId='1'

                              Source='log4net.dll' Vital='yes'>

 

 

               

              </File>

            </Component>

 

 

            <Component Id='UtilityDLL'
Guid='41093361-5958-4F38-A7AC-A68CE2CB5546'>

              <File Id='UtilityDLL' Name='Utility.dll'
LongName='Iras.Utility.dll' DiskId='1'

                              Source='Iras.Utility.dll' Vital='yes'>

 

 

 

              </File>

            </Component>

 

            <Component Id='DataObjectDLL'
Guid='41093361-5958-4F38-A7AC-A68CE2CB5547'>

              <File Id='DataObjectDLL' Name='DObject.dll'
LongName='Iras.DataObject.dll' DiskId='1'

                              Source='Iras.DataObject.dll' Vital='yes'>

 

 

 

              </File>

            </Component>

 

            <Component Id='DataDLL'
Guid='41093361-5958-4F38-A7AC-A68CE2CB5548'>

              <File Id='DataDLL' Name='Data.dll' LongName='Iras.Data.dll'
DiskId='1'

                              Source='Iras.Data.dll' Vital='yes'>

 

 

 

              </File>

            </Component>

 

            <Component Id='CommonDLL'
Guid='41093361-5958-4F38-A7AC-A68CE2CB5549'>

              <File Id='CommonDLL' Name='Common.dll'
LongName='Iras.Common.dll' DiskId='1'

                              Source='Iras.Common.dll' Vital='yes'>

 

 

 

              </File>

            </Component>

 

            <Component Id='VBIDEDLL'
Guid='41093361-5958-4F38-A7AC-A68CE2CB5550'>

              <File Id='VBIDEDLL' Name='VBIDE.dll'
LongName='Interop.VBIDE.dll' DiskId='1'

                              Source='Interop.VBIDE.dll' Vital='yes'>

 

 

 

              </File>

            </Component>

 

 

            <Component Id='OfficeDLL'
Guid='41093361-5958-4F38-A7AC-A68CE2CB5551'>

              <File Id='OfficeDLL' Name='Office.dll'
LongName='Interop.Office.dll' DiskId='1'

                              Source='Interop.Office.dll' Vital='yes'>

 

 

 

              </File>

            </Component>

 

            <Component Id='ExcelDLL'
Guid='41093361-5958-4F38-A7AC-A68CE2CB5552'>

              <File Id='ExcelDLL' Name='Excel.dll'
LongName='Interop.Excel.dll' DiskId='1'

                              Source='Interop.Excel.dll' Vital='yes'>

 

 

 

              </File>

            </Component>

 

 

            <Component Id='WebDLL'
Guid='41093361-5958-4F38-A7AC-A68CE2CB5553'>

              <File Id='WebDLL' Name='Web.dll'
LongName='WebCab.Libraries.Bonds.dll' DiskId='1'

                              Source='WebCab.Libraries.Bonds.dll'
Vital='yes'>

 

 

 

              </File>

            </Component>

 

 

            <Component Id='VBE6EXTOLB'
Guid='41093361-5958-4F38-A7AC-A68CE2CB5554'>

              <File Id='VBE6EXTOLB' Name='V.OLB' LongName='VBE6EXT.OLB'
DiskId='1'

                              Source='C:\Program Files\Common
Files\Microsoft Shared\VBA\VBA6\VBE6EXT.OLB' Vital='yes'>

 

 

 

              </File>

            </Component>

 

            <Component Id='IRASDLL'
Guid='41093361-5958-4F38-A7AC-A68CE2CB5555'>

              <File Id='IRASDLL' Name='Iras.dll' LongName='Iras.dll'
DiskId='1'

                              Source='Iras.dll' Vital='yes'>

 

 

 

              </File>

            </Component>

 

 

            <Component Id='IComponentDLL'
Guid='41093361-5958-4F38-A7AC-A68CE2CB5556'>

              <File Id='IComponentDLL' Name='IC.dll'
LongName='Iras.Component.dll' DiskId='1'

                              Source='Iras.Component.dll' Vital='yes'>

 

 

 

              </File>

            </Component>

 

            <Component Id='IBizOldDLL'
Guid='41093361-5958-4F38-A7AC-A68CE2CB5557'>

              <File Id='IBizOldDLL' Name='IBizOld.dll'
LongName='Iras.BizOld.dll' DiskId='1'

                              Source='Iras.BizOld.dll' Vital='yes'>

 

 

 

              </File>

            </Component>

 

            <Component Id='AppConfig'
Guid='41093361-5958-4F38-A7AC-A68CE2CB5558'>

              <File Id='AppConfig' Name='A.config'
LongName='IRASAppl30.exe.config' DiskId='1'

                              Source='IRASAppl30.exe.config' Vital='yes'>

 

 

 

              </File>

            </Component>

 

         

 

 

            <Component Id='ReportDLL'
Guid='41093361-5958-4F38-A7AC-A68CE2CB5560'>

              <File Id='ReportDLL' Name='report.dll'
LongName='Iras.Report.dll' DiskId='1'

                              Source='Iras.Report.dll' Vital='yes'>

 

 

 

              </File>

            </Component>

 

 

            <Merge Id="CR115_NET_2005.03EDEA8C_20ED_4CDD_A488_566CD351DCAC"
Language="1033" SourceFile="C:\Program Files\Common Files\Merge
Modules\CrystalReports11_5_NET_2005.msm" DiskId="1" />

          </Directory>

        </Directory>

      </Directory>

 

      <Directory Id="ProgramMenuFolder" Name="PMenu" LongName="Programs">

        <Directory Id="ProgramMenuDir" Name='IRAS30' LongName="IRAS 3.0" />

      </Directory>

 

      <Directory Id="DesktopFolder" Name="Desktop" />

    </Directory>

 

 

    <Feature Id='Complete' Level='1'>

    <Feature Id='MainProgram' Level='1'>

      <ComponentRef Id='MainExecutable' />

    </Feature>

 

    <Feature Id='LOGDLL' Level='1'>

      <ComponentRef Id='Log4DLL' />

    </Feature>

 

      <Feature Id='UDLL' Level='1'>

        <ComponentRef Id='UtilityDLL' />

      </Feature>

 

 

      <Feature Id='DODLL' Level='1'>

        <ComponentRef Id='DataObjectDLL' />

      </Feature>

 

      <Feature Id='DDLL' Level='1'>

        <ComponentRef Id='DataDLL' />

      </Feature>

 

 

      <Feature Id='CDLL' Level='1'>

        <ComponentRef Id='CommonDLL' />

      </Feature>

 

 

 

      <Feature Id='VDLL' Level='1'>

        <ComponentRef Id='VBIDEDLL' />

      </Feature>

 

      <Feature Id='ODLL' Level='1'>

        <ComponentRef Id='OfficeDLL' />

      </Feature>

 

 

      <Feature Id='EDLL' Level='1'>

        <ComponentRef Id='ExcelDLL' />

      </Feature>

 

 

      <Feature Id='WDLL' Level='1'>

        <ComponentRef Id='WebDLL' />

      </Feature>

 

      <Feature Id='VOLB' Level='1'>

        <ComponentRef Id='VBE6EXTOLB' />

      </Feature>

 

 

      <Feature Id='IDLL' Level='1'>

        <ComponentRef Id='IRASDLL' />

      </Feature>

 

      <Feature Id='ICDLL' Level='1'>

        <ComponentRef Id='IComponentDLL' />

      </Feature>

 

      <Feature Id='IBODLL' Level='1'>

        <ComponentRef Id='IBizOldDLL' />

      </Feature>

 

      <Feature Id='Configuration' Level='1'>

        <ComponentRef Id='AppConfig' />

      </Feature>

 

 

 

    

 

      <Feature Id='RDLL' Level='1'>

        <ComponentRef Id='ReportDLL' />

      </Feature>

 

      <Feature Id="Msm" Title="Msm" Level="1">

        <MergeRef Id="CR115_NET_2005.03EDEA8C_20ED_4CDD_A488_566CD351DCAC"
/>

 

      </Feature>

 

 

 

 

    </Feature>

 

 

 

 

    <Icon Id="IRAS30.ico" SourceFile="IRASAppl30.ico" />

 

 

    <Condition Message="You need to be an administrator to install this
product.">

      Privileged

    </Condition>

 

 

 

  </Product>

  

</Wix>

 

 

Could anyone tell me any solution to get rid of the error.

 

WithRegards,

Maktuba

 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to