summaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
authorFyodor Sheremetyev <sheremetyev@gmail.com>2013-02-13 00:32:09 +0400
committerFyodor Sheremetyev <sheremetyev@gmail.com>2013-02-13 00:32:09 +0400
commit6315161ac2d57a5a2a4b318b489add1a7b0dcf8b (patch)
tree964eaf3444c515cf5edcb85b08502cfea32ebab7 /windows
parenta65740f7769fdcb0e92d48032f05259b2a00df83 (diff)
WiX: uninstall any previously installed version.
Diffstat (limited to 'windows')
-rw-r--r--windows/pandoc.wxs7
1 files changed, 3 insertions, 4 deletions
diff --git a/windows/pandoc.wxs b/windows/pandoc.wxs
index 9062f10b3..69b980ad4 100644
--- a/windows/pandoc.wxs
+++ b/windows/pandoc.wxs
@@ -9,10 +9,9 @@
<Media Id="1" Cabinet="product.cab" EmbedCab="yes" />
<Property Id="PREVIOUSVERSIONSINSTALLED" Secure="yes" />
<Upgrade Id="A68E8EF6-ABB1-4F22-A3C5-68DFDF0AB562">
- <UpgradeVersion
- Minimum="0.46.0.0" Maximum="$(var.VERSION)"
- Property="PREVIOUSVERSIONSINSTALLED"
- IncludeMinimum="yes" IncludeMaximum="no" />
+ <UpgradeVersion Property='PREVIOUSVERSIONSINSTALLED'
+ Minimum='0.0.0.0' IncludeMinimum='yes'
+ Maximum="99.0.0.0" IncludeMaximum="no" />
</Upgrade>
<Property Id="ARPURLINFOABOUT" Value="http://johnmacfarlane.net/pandoc/" />
<InstallExecuteSequence>