[wix-users] Upgrade - XML?

Bevan Weiss bevan.weiss at gmail.com
Sun Sep 8 17:15:49 PDT 2024


What's "not working" about it?

You might want to consult this:
https://www.firegiant.com/docs/wix/v3/tutorial/upgrades-and-modularization/checking-for-oldies/

It's still largely applicable for v4 / v5.


Bevan

On Mon, 9 Sept 2024 at 08:40, KONDURU Pavan via wix-users
<wix-users at lists.wixtoolset.org> wrote:
>
> You have to add this :
>
> <InstallExecuteSequence>
>     <RemoveExistingProducts After="InstallInitialize" />
> </InstallExecuteSequence>
>
>
> From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Rajeev Kallur via wix-users
> Sent: Saturday, September 7, 2024 11:56 PM
> To: wix-users at lists.wixtoolset.org
> Cc: Rajeev Kallur <kallur2014 at gmail.com>
> Subject: [wix-users] Upgrade - XML?
>
> Hi , Is this code correct? Currently upgrade from 5. 1. 0. 0 to 5. 2. 0. 0 not working. Any comments? <Upgrade Id="$(var. UpgradeCode)"> <UpgradeVersion OnlyDetect="yes" Minimum="$(var. ProductVersion)" Property="NEWERVERSIONDETECTED" IncludeMinimum="no"
>
>
> Hi ,
>
>
>
> Is this code correct?   Currently upgrade from 5.1.0.0 to 5.2.0.0 not working.
>
> Any comments?
>
>
>
> <Upgrade Id="$(var.UpgradeCode)">
>
> <UpgradeVersion OnlyDetect="yes"
>
> Minimum="$(var.ProductVersion)"
>
> Property="NEWERVERSIONDETECTED"
>
> IncludeMinimum="no" />
>
>
>
> <UpgradeVersion OnlyDetect="no"
>
> Maximum="$(var.ProductVersion)"
>
> Property="OLDERVERSIONBEINGUPGRADED"
>
> IncludeMaximum="no" />
>
>
>
> <!-- Detect for changes in 4th field only -->
>
> <UpgradeVersion Property="ANOTHERBUILDINSTALLED"
>
> Maximum="$(var.ProductVersion)" Minimum="$(var.ProductVersion)"
>
> IncludeMinimum="yes" IncludeMaximum="yes" OnlyDetect="yes" />
>
>
>
> </Upgrade>
>
>
>
> ____________________________________________________________________
>
> WiX Toolset Users Mailing List provided by FireGiant https://urldefense.com/v3/__http://www.firegiant.com/__;!!FbCVDoc3r24SyHFW!8OdJYGKOPflpfG-B09AeCe1brpHUuQBkNZ1IaCG3qiluP5A6fz8PNNdOEXDlCMhGAbygm0KNgxgy8QcwPARZnWp3bh4TLg$<https://urldefense.com/v3/__http:/www.firegiant.com/__;!!FbCVDoc3r24SyHFW!8OdJYGKOPflpfG-B09AeCe1brpHUuQBkNZ1IaCG3qiluP5A6fz8PNNdOEXDlCMhGAbygm0KNgxgy8QcwPARZnWp3bh4TLg$>[firegiant[.]com]
>
> This email and any attachments are intended solely for the use of the individual or entity to whom it is addressed and may be confidential and/or privileged.
>
> If you are not one of the named recipients or have received this email in error,
>
> (i) you should not read, disclose, or copy it,
>
> (ii) please notify sender of your receipt by reply email and delete this email and all attachments,
>
> (iii) Dassault Systèmes does not accept or assume any liability or responsibility for any use of or reliance on this email.
>
>
> Please be informed that your personal data are processed according to our data privacy policy as described on our website. Should you have any questions related to personal data protection, please contact 3DS Data Protection Officer https://www.3ds.com/privacy-policy/contact/
>
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list