I'm trying to work out how to allow an initial MSI to be "fixed" by an 
arbitrary (fortunately linear) chain of MSPs. Following the documentation I can 
do the first link in the chain, but when I apply the same sort of MSP to the 
resulting bit, it fails to install with the "make sure you have the product 
installed" etc. message.

Here's a WXS file used to generate my patch:

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
  <Patch AllowRemoval="yes" Manufacturer="Statistics Canada" 
MoreInfoURL="http://f7cmdev15/"; DisplayName="Patch" Description="Small update 
patch" Classification="Update">
    <Media Id="5000" Cabinet="RTM.cab">
      <PatchBaseline Id="RTM" />
    </Media>
    <PatchFamilyRef Id="SamplePatchFamily" />
  </Patch>
  <Fragment>
    <PatchFamily Id="SamplePatchFamily" Version="1.0.0.0" Supersede="yes">
      <ComponentRef Id="Fbfda1e7e1ccd4" />
    </PatchFamily>
  </Fragment>
</Wix>

At each stage of the chain I've simply been changing the ComponentRefs 
appropriately in the PatchFamily. Those of you who remember my previous 
questions may recall that I intend this to be all hidden away in an automatic 
tool, so what I've done is compared new to old in the full WXS for the new MSI 
and put in all changed ComponentRefs, which as far as I can tell works at the 
first stage but fails once you have the first MSP installed.

I figure it has something to do with the PatchBaseline being wrong, but don't 
know for sure, since the documentation is unclear to me here.





Keith Douglas
Statistics Canada | 170 Tunney's Pasture Driveway, Ottawa ON K1A 0T6
Statistique Canada | 170, promenade Tunney's Pasture, Ottawa ON K1A 0T6
keith.doug...@statcan.gc.ca
Telephone | Téléphone 613-951-4405
Facsimile | Télécopieur 613-951-1966
Government of Canada | Gouvernement du Canada 



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to