Hey Anthony,

There is no association with the VS packager and WiX. WiX is fully Windows
Installer compliant which is why you are seeing these issues. It is not that
WiX can't "handle" the MSM, it is that it would be doing so without giving
you, the developer, valid information for your product. The good news is
that you are able to fix these problems now before they become a bug or
other issue in the file <grin/>.

I am sure that if you ran any ICE validation tools against the packages you
have built in the past you would see the same issues in your VS packages.
You are able to suppress these warnings in light which, in this case, VS
completely ignores and allows malformed MSMs/MSIs to be built. Of course
this could cause serious issues with your MSI and your application but if
you don't have a way to fix it on your own and can't get Crystal to fix it
this would work. Another possiblity, again not highly recommend, would be to
use dark or some other tool to pull all the information out of the MSM and
repackage it in your installation.

> I quoted 4 hours to get this done... I've already used that up :)

Welcome to setup. You can thank the MSM you are consuming on this one...

Thanks,

Brian Rogers
"Intelligence removes complexity." - Me
http://icumove.spaces.live.com


On Mon, May 4, 2009 at 3:39 PM, Anthony F <eatme...@hotmail.com> wrote:

>
>
> Yes, and it spits out many, many errors including the "must contain
> MSIPublishAssemblies and MSUUnpublishAssemblies" errors that I'm getting
> with Wix.  The problem here is that it works perfectly well when creating
> installers in Visual Studio.  I'll be the first to admit that I'm by no
> means an expert in the art of creating install packages, but if VS can
> handle the messed up msm, shouldn't wix be able to as well?  I thought (I
> may be WAY wrong on this) that the VS packager was based on wix?
>
> Perhaps a little background is in order here:  I created an application for
> a client several years ago (around the time VS .NET 2005 was in Beta 2) and
> gave them the installer on a CD.  They have since lost the CD and their
> server was lost in a flood a couple of weeks ago.  I have a backup of the
> code (it's a web app, and thus that part doesn't require an installer) but I
> don't have a VS dev environment anymore because I don't really develop in
> Windows anymore.  Crystal Reports only has the merge modules for their
> runtime components available for download, not an msi.  I need to somehow
> build an installer from the merge module so they can re-install the Crystal
> run-time components to get their app working again.  I quoted 4 hours to get
> this done... I've already used that up :)
>
>
> > Date: Mon, 4 May 2009 15:11:23 -0700
> > From: wende...@gmail.com
> > To: wix-users@lists.sourceforge.net
> > Subject: Re: [WiX-users] Frustrated... can't get a simple installer to
> work
> >
> > Have you opened the Crystal Reports merge module in Orca and run a
> > Tools | Validation?
> >
> > Wendell
> >
> > On Mon, May 4, 2009 at 2:21 PM, Anthony F <eatme...@hotmail.com> wrote:
> > >
> > > 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
> > >
> >
> >
> >
> > --
> > "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
>
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to