What version of the WiX toolset are you using?

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Isaac Guenard
Sent: Thursday, May 22, 2008 14:51
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Problem using Merge module for MFC71

I am creating a simple test installer for our application, to see if
it is worth pursuing Wix as our installer platform instead of
Installshield.

So far things have been going well. However, when I try to add Merge
modules for our MFC requirements, I end up getting this error:

-----------------------
light.exe : error LGHT0001 : Error HRESULT E_FAIL has been returned from a call
to a COM component.

Exception Type: System.Runtime.InteropServices.COMException

Stack Trace:
   at Microsoft.Tools.WindowsInstallerXml.IMsmMerge2.Merge(String feature, Strin
g directory)
   at Microsoft.Tools.WindowsInstallerXml.Binder.MergeModules(String databasePat
h, Output output)
   at Microsoft.Tools.WindowsInstallerXml.Binder.Bind(Output output)
   at Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run(String[] args)
------------------------

Specifically I am using VC_User_MFC71_Loc_RTL_X86_---.msm for my test.
(one of the required libraries). I can't make head or tails of the
problem. Does this look familiar to anyone?

This is essentially my test installer below. Any help would be appreciated.

<?xml version='1.0' encoding='windows-1252'?>
<Wix xmlns='http://schemas.microsoft.com/wix/2003/01/wi'>
        <Product Name='Generation 1.0' Id='098A5C88-2777-11DD-938F-9E9355D89593'
                Language='1033' Codepage='1252' Version='1.0.0' 
Manufacturer='eyeon
Software Inc.'>

                <Package Id='????????-????-????-????-????????????' 
Keywords='Installer'
                  Description="Test Installer"
                  Comments='Generation is a registered trademark of eyeon 
Software.'
Manufacturer='eyeon Software.'
                  InstallerVersion='100' Languages='1033' Compressed='yes'
SummaryCodepage='1252' />

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

                <Media Id='1' Cabinet='Sample.cab' EmbedCab='yes' 
DiskPrompt="CD-ROM #1" />
                <Property Id='DiskPrompt' Value="Test 1.0 Installation [1]" />
                <Directory Id='TARGETDIR' Name='SourceDir'>
                        <Directory Id='ProgramFilesFolder' Name='PFiles'>
                                <Directory Id='eyeon' Name='Test'>
                                        <Directory Id='INSTALLDIR' 
Name='Generate' LongName='Test 1.0'>
                                                <Merge Id='MFC71_Loc_RTL' 
Language='1033' src='C:\Program
Files\Common Files\Merge Modules\VC_User_MFC71_Loc_RTL_X86_---.msm'
DiskId='1' />
                                                <Directory Id='Compositing' 
Name='Composit' LongName='Compositing'>
                                                        <Component Id='Test_01' 
Guid='28BF9216-2778-11DD-B7BD-0B9F55D89593'>
                                                                <File 
Id='TestEXE' Name='Test.exe' LongName='Test.exe'
DiskId='1' Source='Sources\Compositing\Test.exe' Vital='yes'>
                                                                        
<Shortcut Id="startmenuTest" Directory="ProgramMenuDir" Name="Test"
                                                                          
LongName="Test 1.0" WorkingDirectory='Compositing'
                                                                          
Icon="Test.exe" IconIndex="0" />
                                                                </File>
                                                        </Component>
                                                        </Directory>
                                                </Directory>
                                        </Directory>
                                </Directory>
                        </Directory>
                        <Directory Id="ProgramMenuFolder" Name="PMenu" 
LongName="Programs">
                           <Directory Id="ProgramMenuDir" Name='Generate' 
LongName="Test 1.0" />
                        </Directory>

                </Directory>
                <Feature Id='Compositing' Title="Compositing Module"
Description="The Compositing Module"
ConfigurableDirectory='INSTALLDIR' Level='1000'>
                        <ComponentRef Id='Test_01' />
                        <MergeRef Id='MFC71_Loc_RTL' />
                </Feature>
                <UIRef Id="WixUI_Mondo" />
                <UIRef Id="WixUI_ErrorProgressText" />
                <Icon Id="Test.exe" SourceFile="Sources\Compositing\Test.exe" />
        </Product>
</Wix>

-------------------------------------------------------------------------
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

-------------------------------------------------------------------------
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