changeset 612:ad163f8f6236

Prepare for upgrade
author Chris Cannam
date Tue, 03 Jul 2012 15:30:15 +0100
parents 864cf6bc6eff
children aade37785eca
files easyhg.wxs
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/easyhg.wxs	Tue Jul 03 15:26:30 2012 +0100
+++ b/easyhg.wxs	Tue Jul 03 15:30:15 2012 +0100
@@ -2,13 +2,13 @@
 
   <Product
       Name="EasyMercurial" 
-      Id="CDD72D35-518B-49E2-A389-B3F7C1AE289D" 
+      Id="*"
       Language="1033"
       Codepage="1252" 
-      Version="1.2.0" 
+      Version="1.2.2" 
       UpgradeCode="B82DFDA9-B9DE-49BC-93E5-0B96F9DEB04B"
       Manufacturer="Queen Mary, University of London">
-
+    
     <Package
         Id="*"
         Keywords="Installer"
@@ -20,6 +20,8 @@
         Compressed="yes" 
         SummaryCodepage="1252"/>
 
+    <MajorUpgrade DowngradeErrorMessage="A later version of EasyMercurial is already installed. Setup will now exit."/>
+
     <Media Id="1" Cabinet="easyhg.cab" EmbedCab="yes" DiskPrompt="CD-ROM #1"/>
     <Property Id="DiskPrompt" Value="EasyMercurial Installation [1]"/>