aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-11-13 09:05:55 -0600
committerluigi1111 <luigi1111w@gmail.com>2019-11-13 09:05:55 -0600
commite8befc4c67a8d3d4bc230caf40c35c9be7caf6d7 (patch)
tree6bc6f530d0fa2792f900cdc8c3f5b2c087bd98f2
parent5518771a8bd69c5ec452b46fc87f66db66215283 (diff)
parent92f9bec1e74729072a15c3352d715b2e40abdbe2 (diff)
downloadmonzero-gui-e8befc4c67a8d3d4bc230caf40c35c9be7caf6d7.tar.gz
monzero-gui-e8befc4c67a8d3d4bc230caf40c35c9be7caf6d7.tar.xz
monzero-gui-e8befc4c67a8d3d4bc230caf40c35c9be7caf6d7.zip
Merge pull request #2438
92f9bec installer: automatically set app version information (xiphon)
-rw-r--r--installers/windows/Monero.iss8
-rw-r--r--installers/windows/ReadMe.htm5
2 files changed, 8 insertions, 5 deletions
diff --git a/installers/windows/Monero.iss b/installers/windows/Monero.iss
index 3a7660cb..01678d83 100644
--- a/installers/windows/Monero.iss
+++ b/installers/windows/Monero.iss
@@ -1,6 +1,7 @@
; Monero Carbon Chamaeleon GUI Wallet Installer for Windows
; Copyright (c) 2017-2019, The Monero Project
; See LICENSE
+#define GuiVersion GetFileVersion("bin\monero-wallet-gui.exe")
[Setup]
AppName=Monero GUI Wallet
@@ -8,7 +9,8 @@ AppName=Monero GUI Wallet
; Thus it's important to keep this stable over releases
; With a different "AppName" InnoSetup would treat a mere update as a completely new application and thus mess up
-AppVersion=0.15.0.0
+AppVersion={#GuiVersion}
+VersionInfoVersion={#GuiVersion}
DefaultDirName={pf}\Monero GUI Wallet
DefaultGroupName=Monero GUI Wallet
UninstallDisplayIcon={app}\monero-wallet-gui.exe
@@ -39,6 +41,8 @@ UsedUserAreasWarning=no
; play a role in only in few cases as the first standard user in a Windows installation does have admin rights.
; So, for the time being, this installer simply disregards this problem.
+[Messages]
+SetupWindowTitle=%1 {#GuiVersion} Installer
[Languages]
Name: "en"; MessagesFile: "compiler:Default.isl"
@@ -65,7 +69,7 @@ Name: "en"; MessagesFile: "compiler:Default.isl"
; Note that it would be very dangerous to use "ignoreversion" on files that may be shared with other
; applications somehow. Luckily this is no issue here because ALL files are "private" to Monero.
-Source: "ReadMe.htm"; DestDir: "{app}"; Flags: ignoreversion
+Source: {#file AddBackslash(SourcePath) + "ReadMe.htm"}; DestDir: "{app}"; DestName: "ReadMe.htm"; Flags: ignoreversion
Source: "FinishImage.bmp"; Flags: dontcopy
; Monero GUI wallet exe and guide
diff --git a/installers/windows/ReadMe.htm b/installers/windows/ReadMe.htm
index f9e044ea..4d1c336f 100644
--- a/installers/windows/ReadMe.htm
+++ b/installers/windows/ReadMe.htm
@@ -6,8 +6,7 @@
<body style="font-family: Arial, Helvetica, sans-serif">
<h1>Monero Carbon Chamaeleon GUI Wallet</h1>
- <p>Copyright (c) 2014-2019, The Monero Project<br>
- Date: November 1, 2019</p>
+ <p>Copyright (c) 2014-2019, The Monero Project</p>
<h2>Preface</h2>
@@ -23,7 +22,7 @@
<h2>Content of the Package</h2>
- <p>You just installed the <i>Monero GUI wallet</i> for Windows, release Carbon Chamaeleon, version 0.15.0.0.
+ <p>You just installed the <i>Monero GUI wallet</i> for Windows, release Carbon Chamaeleon, version {#GuiVersion}.
The wallet enables you to send and receive Moneroj in a secure and very private way.
</p>