First, what was your commandline to pyro? You have to match the @Id of your
PatchBaseline element to the wixmst you supply from torch in your pyro
commandline (e.g. "-t Sample sample.wixmst"). Also your commandline to torch
should include "-p".

Also, between your baseline and your upgraded you should do the following:

They have the same values for ProductCode & ProductLanguage. If this is the
only change you may want to consider making ProductVersion identical as
well. In fact, the only difference between the two MSIs (or wixpdbs) should
be that one condition.

BTW, unless your condition is in the "MainExecutable" component you may want
to try not putting any children in your PatchFamily element. If PatchFamily
is empty it checks everything for inclusion. Otherwise it filters to only
include what is in that list.

-----Original Message-----
From: John Lister [mailto:john.lis...@kickstone.com] 
Sent: Wednesday, October 14, 2009 7:59 AM
To: wix-users@lists.sourceforge.net
Cc: os...@live.com
Subject: Re: Re: Installer screw up

Blair wrote
>
> If you have a lot of customers you will probably be better off 
> distributing
> an MSP file which can be run right from your web site instead of requiring

> a
> special command-line like a minor upgrade MSI will.

Cheers, this seems the best solution as it has been distributed a bit. 
Although i'm having a problem.

I've changed the offending condition which now works ok, but i can't seem to

build the msp file.

Using either the MSI files or the wixpdb files makes no difference, I've 
taken the sample patch.wxs files from the web - If this is where i've gone 
wrong, please advise...

<?xml version='1.0' encoding='windows-1252'?>
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
  <Patch AllowRemoval='yes' Manufacturer='Kickstone Technologies Ltd.' 
MoreInfoURL='www.pricegoblin.co.uk'
    DisplayName='IE 8 Uninstall fix' Description='Patch to allow uninstall 
with IE8' Classification='Update'>

    <Media Id='5000' Cabinet='Sample.cab'>
      <PatchBaseline Id='Sample' />
    </Media>

    <PatchFamily Id='SamplePatchFamily' Version='1.0.0.0' Supersede='yes'>
      <ComponentRef Id='MainExecutable' />
    </PatchFamily>

  </Patch>
</Wix>

and all works well until i come to run pyro when i get the following error:

pyro.exe : error PYRO0252 : No valid transforms were provided to attach to 
the patch. Check to make sure the transforms you passed on the command line 
have a matching baseline authored in the patch. Also, make sure there are 
differences been your target and upgrade.


Is it because only a condition has changed? Do i need to change a file as 
well? If i change a file would the patch update the condition?

Thanks



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to