Sorry I can't help, I never do patches I find it is easier to stick with major 
upgrades for all releases.

Neil

-----Original Message-----
From: Farrukhw [mailto:farru...@gmail.com] 
Sent: 17 July 2012 13:36
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Patch to update version of installed product?

Thanks Neil,
But that's a full product upgrade. My task is to generate a patch which would 
update the Version info of installed product.

I just tried this:
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
  <Patch
      AllowRemoval="yes"
      Manufacturer="Farrukh"
      DisplayName="elcoCAD Patch"
      Description="elcoCAD Patch"
      Classification="Update"
       OptimizePatchSizeForLargeFiles="yes"
        >
    <Media Id="5000" Cabinet="RTM.cab" >
      <PatchBaseline Id="RTM"/>
   </Media>
    <PatchFamilyRef Id="elcoCAD" />

    <TargetProductCodes Replace="yes">
      <TargetProductCode Id="{8AFE6DB7-4732-4BD5-A9D2-1CF2C6CC9C13}" />
    </TargetProductCodes>

  </Patch>

  <Fragment>
    <PatchFamily Id="elcoCAD" Version='1.0.0.0' Supersede='yes'>
      <PropertyRef Id='ProductVersion'/>
    </PatchFamily>
  </Fragment>
</Wix>

and it worked. It changed the version that 4 digit version successfully. But 
only problem I faced is when I launched the msp file, it showed Customize 
Dialog (Repair, Reinstall, Uninstall) and I have to click on Repair but it did 
the job.

i want to get rid of that Customize Dialog and wanted that this should do the 
job directly.

Any ideas?


--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Patch-to-update-version-of-installed-product-tp7579458p7579468.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
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




------------------------------------------------------------------------------
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