Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikkel Krautz <mikkel@krautz.dk>2015-06-06 14:25:23 +0300
committerMikkel Krautz <mikkel@krautz.dk>2015-06-06 14:25:53 +0300
commit3d4663465ea1e528a299f1939237c31a4188775c (patch)
tree766b1760f1ff5dd311391f35a7c9b711a18f2c86 /installer
parent06e19e6fb191afa794f8018b67252940bc097fdd (diff)
installer: force uninstall before install.
In theory, the installer should already do this, but if we aren't caferful with our component GUID'ing (or so the docs say), it can break. This method will force the uninstallation to happen before installation. This should fix the issue where stale files from old versions are left behind.
Diffstat (limited to 'installer')
-rw-r--r--installer/Product.wxs2
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/Product.wxs b/installer/Product.wxs
index 05746d5e7..a1d5b0257 100644
--- a/installer/Product.wxs
+++ b/installer/Product.wxs
@@ -32,7 +32,7 @@
VersionNT > 501 OR (VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 1)
</Condition>
- <MajorUpgrade AllowDowngrades='no' AllowSameVersionUpgrades='yes' MigrateFeatures='yes' Schedule='afterInstallExecute' DowngradeErrorMessage='A later version of [ProductName] is already installed.' />
+ <MajorUpgrade AllowDowngrades='no' AllowSameVersionUpgrades='yes' MigrateFeatures='yes' Schedule='afterInstallValidate' DowngradeErrorMessage='A later version of [ProductName] is already installed.' />
<Media Id="1" Cabinet="$(var.ProductName).cab" EmbedCab="yes" CompressionLevel="high" />