[wix-users] Uninstallable Patch does not show Version Number
Tyler Gustafson
tgustafson at solacom.com
Fri Aug 26 08:19:53 PDT 2016
Hi Niel,
Thanks for the suggestion. I switched my components to 64 bit and added Platform="x64" to the Package tag then re-build my test installers and patches.
I can confirm that by only changing the program from 32 to 64 bit, both the previously un-populated "Version" and "Publisher"(bonus!) fields in the "Uninstall an update" window are now properly populated.
I guess the trick was >1000 googles because I was somewhere around 300 and hadn't made any progress.
Thanks a bunch!
Tyler
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Neil Hayes
Sent: August-25-16 11:17 PM
To: WiX Toolset Users Mailing List
Subject: Re: [wix-users] Uninstallable Patch does not show Version Number
Tyler,
I'm looking at the exact same thing, Version and Publisher columns. I have a feeling I read somewhere in my 1000's of googles that these values can only be populated by a 64 bit installer.
Hopefully now we'll find the true answer.
Neil
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Tyler Gustafson
Sent: Thursday, August 25, 2016 4:27 PM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Uninstallable Patch does not show Version Number
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" />
</Media>
<PatchFamilyRef Id="SamplePatchFamily" />
<PatchFamily Id="SamplePatchFamily" Version="1.1.0.0000" Supersede="yes">
<!--<ComponentRef Id=MainExecutable/>-->
</PatchFamily>
</Patch>
</Wix>
Thanks,
Tyler
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
--
Scanned by Total Defense Email Cloud Security http://cloud.totaldefense.com
More information about the wix-users
mailing list