I have followed the below example and works fine.
http://blogs.msdn.com/pmarcu/archive/2007/06/28/sample-patch.aspx

But unfortunately what I have is msi files, old and new. I want to create a
patch.
I use votive and build using TFS. 

When there is a new release, I get the new msi and want to compare with the
previously release msi to get the Diff.Wixmst.
I used the following command.
****************
torch.exe -p Existing.msi Updated.msi -out Diff.Wixmst
candle.exe Patch.wxs 
light.exe Patch.wixobj -out Patch.WixMsp 
pyro.exe Patch.WixMsp -out Patch1.msp -t RTM Diff.Wixmst
****************
My Patch.wxs looks something like this.
****************
<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
  <Patch
      AllowRemoval="yes"
      Manufacturer="Calyon Bank"
      MoreInfoURL="http://www.calyon.com/";
      DisplayName="Treasury Reporting, Outstanding Amount Export"
      Description="Library updated"
      Classification="Update">
    <Media Id="5000" Cabinet="RTM.cab">
      <PatchBaseline Id="RTM"/>
    </Media>
    <PatchFamilyRef Id="OptimWebAssembly"/>
  </Patch>
  <Fragment>
    <PatchFamily Id='OptimWebAssembly' Version='1.0.0' Supersede='yes'>
      <ComponentRef Id="WEBbin5227"/>
    </PatchFamily>
  </Fragment>
</Wix>
****************

I am getting 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 between your target and upgrade.
*****************

I tried -xo switch with torch.exe but I get the same error.

Please help if someone know the answer.

Thank you!
-- 
View this message in context: 
http://n2.nabble.com/Patch-with-msi-input-tp2296045p2296045.html
Sent from the wix-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to