I've made some progress, but still get errors from light.


The wxs file looks like this:

<?xml version='1.0'?>
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
   <Product Id='c38b1fe0-38e3-11de-8745-0002a5d5c51b' Name='Crystal Reports for 
Visual Studio 2005 Redist Package' Language='1033' Version='1.0.0.0' 
Manufacturer='Microsoft Corporation'>
      <Package Description='Crystal Reports for Visual Studio 2005 Redist 
Package' Manufacturer='Microsoft Corporation' InstallerVersion='200' 
Compressed='yes' />
            
            <Media Id='1' Cabinet='CrystalReportsRedist2005_x86.cab' 
EmbedCab='yes' />
            
            <!-- These prevent ICE03 errors from the Crystal merge module -->
            <EnsureTable Id="AppSearch"/>
            <EnsureTable Id="BindImage"/>
            <EnsureTable Id="LockPermissions"/>
 
            <Directory Id='TARGETDIR' Name='SourceDir'>
                
      <Merge
        Id="CrystalMSM"
        Language="1033"
        DiskId="1"
        FileCompression="yes"
        SourceFile="CrystalReportsRedist2005_x86.msm"/>
            </Directory>
 
      <Feature Id='CR_Runtime' Title='Crystal Reports for Visual Studio 2005 
Runtime' Level='1'>
         <MergeRef Id='CrystalMSM' />
      </Feature>
   </Product>
</Wix>


I added the the 3 EnsureTable elements based on this msdn forum thread: 
http://social.msdn.microsoft.com/Forums/en-US/vscrystalreports/thread/70174b51-7eb1-4bd5-8232-606468618286

I'm just building using the command line:
candle.exe CR2005.wxs
light.exe CR2005.wixobj

The errors (and many warnings) look like this:

light.exe : warning LGHT1076 : ICE39: The File 
'x3frtencht.dll.9B4FB692_19F4_11D3_B324_00A0C9DA500E' is explicitly marked 
compressed, but the Summary Information Stream already specifies that the whole 
install is compressed. This might not be the behavior you want.
light.exe : warning LGHT1076 : ICE39: The File 
'x3frtenko.dll.9B4FB692_19F4_11D3_B324_00A0C9DA500E' is explicitly marked 
compressed, but the Summary Information Stream already specifies that the whole 
install is compressed. This might not b
e the behavior you want.
... (lots of these)

C:\Users\Anthony\AppData\Local\Temp\2yuyq_e9\CR2005.msi : error LGHT0204 : 
ICE83: Both MsiPublishAssemblies AND MsiUnpublishAssemblies actions MUST be 
present in InstallExecuteSequence table.
C:\Users\Anthony\AppData\Local\Temp\2yuyq_e9\CR2005.msi : error LGHT0204 : 
ICE83: The MsiPublishAssemblies action MUST be present in AdvtExecuteSequence 
table.


> Date: Mon, 4 May 2009 13:52:18 -0700
> From: wende...@gmail.com
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] Frustrated... can't get a simple installer to work
> 
> What are the errors?
> Can you email your wxs file and .cmd file for building and I'll take a look?
> 
> Thanks!
> 
> Wendell
> 
> 
> 
> On Mon, May 4, 2009 at 1:37 PM, Anthony F <eatme...@hotmail.com> wrote:
> >
> > I've been banging my head for the last few hours trying to create a 
> > super-simple installer (my first) with wix.  All I want is an installer 
> > that includes a single merge module... and that's it.  No options, no gui, 
> > no additional files.  Just the merge module.  I figured it would be a 
> > pretty simple proposition, but I guess I was wrong.  I finally got my wxs 
> > file working with candle, but now light is throwing about 3 dozen errors.
> >
> > Can someone point me to an example of an installer with a single merge 
> > module?  It would be MUCH appreciated...
> >
> > Thanks!
> >
> > _________________________________________________________________
> > Create a cool, new character for your Windows Live™ Messenger.
> > http://go.microsoft.com/?linkid=9656621
> > ------------------------------------------------------------------------------
> > Register Now & Save for Velocity, the Web Performance & Operations
> > Conference from O'Reilly Media. Velocity features a full day of
> > expert-led, hands-on workshops and two days of sessions from industry
> > leaders in dedicated Performance & Operations tracks. Use code vel09scf
> > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> 
> 
> 
> -- 
> "Some people come visit Europe and are really let down when they find
> out it's not like a credit-card commercial; others really get into
> meeting all the quirky people and careening along narrow mountain
> roads in rickety cabs driven by suicidal, gap-toothed Carpathians. I
> guess it's pretty obvious which one you are..." - Justin Crevier, May
> '01
> 
> ------------------------------------------------------------------------------
> Register Now & Save for Velocity, the Web Performance & Operations 
> Conference from O'Reilly Media. Velocity features a full day of 
> expert-led, hands-on workshops and two days of sessions from industry 
> leaders in dedicated Performance & Operations tracks. Use code vel09scf 
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users

_________________________________________________________________
Create a cool, new character for your Windows Live™ Messenger. 
http://go.microsoft.com/?linkid=9656621
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to