diff options
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()); |