diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2021-05-05 19:16:10 -0500 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2021-05-11 19:11:19 -0500 |
| commit | 3afcdb255803a747447d2770b56019d5d144d443 (patch) | |
| tree | 27c05d9d428418b2f52652580dd1ce275795a09b /src/WixToolset.WixBA/UpdateViewModel.cs | |
| parent | dc5e7be8b3810510ef2948d38c66a4c98501c229 (diff) | |
| download | wix-3afcdb255803a747447d2770b56019d5d144d443.tar.gz wix-3afcdb255803a747447d2770b56019d5d144d443.tar.bz2 wix-3afcdb255803a747447d2770b56019d5d144d443.zip | |
Update WixBA to Mba.Core 4.0.40.
Diffstat (limited to 'src/WixToolset.WixBA/UpdateViewModel.cs')
| -rw-r--r-- | src/WixToolset.WixBA/UpdateViewModel.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
| 171 | // or smaller than ours (we have a private build). If we really wanted to, we could leave the e.StopProcessingUpdates alone and | 171 | // or smaller than ours (we have a private build). If we really wanted to, we could leave the e.StopProcessingUpdates alone and |
| 172 | // enumerate all of the updates. | 172 | // enumerate all of the updates. |
| 173 | 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)); | 173 | 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)); |
| 174 | if (e.Version > WixBA.Model.Version) | 174 | if (WixBA.Model.Engine.CompareVersions(e.Version, WixBA.Model.Version) > 0) |
| 175 | { | 175 | { |
| 176 | WixBA.Model.Engine.SetUpdate(null, e.UpdateLocation, e.Size, UpdateHashType.None, null); | 176 | WixBA.Model.Engine.SetUpdate(null, e.UpdateLocation, e.Size, UpdateHashType.None, null); |
| 177 | this.UpdateVersion = String.Concat("v", e.Version.ToString()); | 177 | this.UpdateVersion = String.Concat("v", e.Version.ToString()); |
