[wix-users] Building Wix project for sameagain

Laique Abbas laiqueabbas_is at yahoo.com
Mon Jan 30 01:54:56 PST 2017

I think burn is creating this issue. The 2 entries in control panel is the problem.Any help?

    On Monday, January 30, 2017 1:36 PM, Laique Abbas <laiqueabbas_is at yahoo.com> wrote:

 To add on this, Its doing upgrade on same version but adding two entries in control panel,

    On Monday, January 30, 2017 1:17 PM, Laique Abbas <laiqueabbas_is at yahoo.com> wrote:

   <Product Id="*" Name="$(var.ScreenAppName)" Language="1033" Version="$(var.Version)" Manufacturer="Afiniti" UpgradeCode="60B8EB97-EEDC-4E3A-A93B-1C83B906FABA">   <Upgrade Id="60B8EB97-EEDC-4E3A-A93B-1C83B906FABA">      <UpgradeVersion Property="REMOVEOLDVERSION" Minimum="" Maximum="$(var.Version)" IncludeMaximum="yes"/>      <UpgradeVersion OnlyDetect="yes" Property="NEWERFOUND" Minimum="$(var.Version)" IncludeMinimum="yes" />    </Upgrade>
<MajorUpgrade AllowSameVersionUpgrades="yes" DowngradeErrorMessage="A newer version of [ProductName] is already installed." Schedule="afterInstallValidate" />
I had a requirement to do versioning on 4th bit of Version too so I wrote the above WIX code. Its working perfectly but there is just one problem. I build the WIX solution and then ran the msi for version and then building the solution again for same version and then running the msi results in installation again though it must just give an uninstall option in this case.I think its because of revision number. Well Is there a way to stop permit running the same version msi again ?
Any help would be appreciated.



More information about the wix-users mailing list