[wix-users] Uninstallable Patch does not show Version Number

Tyler Gustafson tgustafson at solacom.com
Thu Aug 25 07:26:31 PDT 2016

I have been working with a small test program to learn WiX patching and I have managed to make patches which successfully install and uninstall.
When I have installed a new patch or removed one I have applied, the version number of my product changes in the "Uninstall or change a program" window as expected.

When I look in the "Uninstall an update" I can see the latest patch I have applied and uninstall it. If there are lower patches also installed they don't show up until the most current patch is uninstalled which is also expected.

There is a "Version" column in this "Uninstall an update" window which I would like to know how to populate. It is currently empty and so I cannot tell which patch I am selecting for uninstall unless I go back to the "Uninstall or change a program" window and look at the "Version" column there.

The code for one of my patches is as follows:
<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
  <Patch AllowRemoval="yes" Manufacturer="Acme Corp" MoreInfoURL="http://www.dynamocorp.com/" DisplayName="Sample Patch" Description="Small Update Patch" Classification="Update" MinorUpdateTargetRTM="yes">
    <Media Id="5000" Cabinet="Patch.cab">
      <PatchBaseline Id="Patch" />
    <PatchFamilyRef Id="SamplePatchFamily" />
    <PatchFamily Id="SamplePatchFamily" Version="" Supersede="yes">
      <!--<ComponentRef Id=MainExecutable/>-->


More information about the wix-users mailing list