summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2012-07-09 14:01:08 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2012-07-10 11:16:55 +0200
commite6366366053544a79937540d4a037023c1fc41fc (patch)
tree9ba5d661da3c817d6c16be01fe57c89adf4f1acb /data
parent68fa9d762a4f1a8f271868789188cdf89716884a (diff)
wix: add support for major upgrades
Diffstat (limited to 'data')
-rw-r--r--data/wix/installer.wxs3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/wix/installer.wxs b/data/wix/installer.wxs
index 04ff226e..8ac65a45 100644
--- a/data/wix/installer.wxs
+++ b/data/wix/installer.wxs
@@ -11,6 +11,9 @@
<Media Cabinet="product.cab" EmbedCab="yes" Id="1"/>
+ <!-- Upgrades -->
+ <MajorUpgrade DowngradeErrorMessage="A later version of [ProductName] is already installed. Setup will now exit"/>
+
<!-- Add/Remove Programs -->
<Property Id="ARPPRODUCTICON" Value="MainIcon" />
<Property Id="ARPCONTACT" Value="$(var.Manufacturer)" />