[wix-users] Building Wix project for sameagain

Laique Abbas laiqueabbas_is at yahoo.com
Mon Jan 30 06:52:21 PST 2017


I have found that you will get more than one arp entry for a Bundle.exe if you do not increment any of the four parts between builds.  But again Burn does not have any impact on how the msiexec.exe engine processes a MSI ProductVersion string.Actually this is my problem? how can i resolve this issue as I am also getting more than one arp entry.
Regards,Laique 

    On Monday, January 30, 2017 7:45 PM, Phill Hogland <phill.hogland at rimage.com> wrote:
 

 #yiv4678853320 #yiv4678853320 -- .yiv4678853320EmailQuote {margin-left:1pt;padding-left:4pt;border-left:#800000 2px solid;}#yiv4678853320 #yiv4678853320 #yiv4678853320 --p {margin-top:0;margin-bottom:0;}#yiv4678853320 https://msdn.microsoft.com/en-us/library/windows/desktop/aa370859(v=vs.85).aspx

"Note that Windows Installer uses only the first three fields of the product version. If you include a fourth field in your product version, the installer ignores the fourth field."
If you are talking about the forth part of the MSI ProductVersion (as your example indicates "then ran the msi for version 1.0.0.1") , then this issue has nothing to do with Burn.  You either need to change your "requirement" to conform to MSI rules, or write your own Operatings System and equivalent of msiexec.exe, or have a discussion with Microsoft.  There is not anything the wix folks can do about a desire to change the MSI ProductVersion behavior.
If you are using a Wix Burn Bundle.exe to chain your MSIs (which must still conform to the MSI ProductVersion rule of ignoring the forth part of a ProductVersion), the bundle.exe can and does use all four parts of the bundle.exe's version.  I have found that you will get more than one arp entry for a Bundle.exe if you do not increment any of the four parts between builds.  But again Burn does not have any impact on how the msiexec.exe engine processes a MSI ProductVersion string.
PhillFrom: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Laique Abbas <laiqueabbas_is at yahoo.com>
Sent: Monday, January 30, 2017 3:54:56 AM
To: WiX Toolset Users Mailing List
Subject: Re: [wix-users] Building Wix project for sameagain I think burn is creating this issue. The 2 entries in control panel is the problem.Any help?
Regards,Laique

    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,
Regards,Laique 

    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="0.0.0.0" 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 1.0.0.1 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.
Regards,Laique


   

   

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

   


More information about the wix-users mailing list