[PATCH stable] installer: add windows application version number to inno installer script

Urs Rau urs.rau at gmail.com
Thu Jan 7 13:24:29 UTC 2016


# HG changeset patch
# User Urs Rau <urs.rau at gmail.com>
# Date 1452170966 0
#      Thu Jan 07 12:49:26 2016 +0000
# Branch stable
# Node ID c904bd0798f19a085988462b323b98e7d57e485e
# Parent  7c598947fbbd78b26989326c61345c6e46855bdc
installer: add windows application version number to inno installer script

this addition to the inno installer script means that the windows uninstaller registry key “DisplayVersion" is set to the application version number and will show in Add/Remove Programs

diff -r 7c598947fbbd -r c904bd0798f1 contrib/win32/mercurial.iss
--- a/contrib/win32/mercurial.iss	Sat Jan 02 02:04:32 2016 +0100
+++ b/contrib/win32/mercurial.iss	Thu Jan 07 12:49:26 2016 +0000
@@ -23,6 +23,7 @@
 [Setup]
 AppCopyright=Copyright 2005-2015 Matt Mackall and others
 AppName=Mercurial
+AppVersion={#VERSION}
 #if ARCH == "x64"
 AppVerName=Mercurial {#VERSION} (64-bit)
 OutputBaseFilename=Mercurial-{#VERSION}-x64


More information about the Mercurial-devel mailing list