From 3afcdb255803a747447d2770b56019d5d144d443 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Wed, 5 May 2021 19:16:10 -0500 Subject: Update WixBA to Mba.Core 4.0.40. --- src/WixToolset.WixBA/UpdateViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/WixToolset.WixBA/UpdateViewModel.cs') diff --git a/src/WixToolset.WixBA/UpdateViewModel.cs b/src/WixToolset.WixBA/UpdateViewModel.cs index 445a9b1a..80d894cb 100644 --- a/src/WixToolset.WixBA/UpdateViewModel.cs +++ b/src/WixToolset.WixBA/UpdateViewModel.cs @@ -171,7 +171,7 @@ namespace WixToolset.WixBA // or smaller than ours (we have a private build). If we really wanted to, we could leave the e.StopProcessingUpdates alone and // enumerate all of the updates. WixBA.Model.Engine.Log(LogLevel.Verbose, String.Format("Potential update v{0} from '{1}'; current version: v{2}", e.Version, e.UpdateLocation, WixBA.Model.Version)); - if (e.Version > WixBA.Model.Version) + if (WixBA.Model.Engine.CompareVersions(e.Version, WixBA.Model.Version) > 0) { WixBA.Model.Engine.SetUpdate(null, e.UpdateLocation, e.Size, UpdateHashType.None, null); this.UpdateVersion = String.Concat("v", e.Version.ToString()); -- cgit v1.2.3-55-g6feb