diff options
| author | xiphon <xiphon@protonmail.com> | 2019-11-12 01:16:53 +0000 |
|---|---|---|
| committer | xiphon <xiphon@protonmail.com> | 2019-11-12 02:25:29 +0000 |
| commit | 92f9bec1e74729072a15c3352d715b2e40abdbe2 (patch) | |
| tree | dab099452f051b49bd3b25ea1d31e2c4104d40f3 /installers | |
| parent | 025a6380828454f9ea49e9a3609b2023c919c521 (diff) | |
| download | monzero-gui-92f9bec1e74729072a15c3352d715b2e40abdbe2.tar.gz monzero-gui-92f9bec1e74729072a15c3352d715b2e40abdbe2.tar.xz monzero-gui-92f9bec1e74729072a15c3352d715b2e40abdbe2.zip | |
installer: automatically set app version information
Diffstat (limited to 'installers')
| -rw-r--r-- | installers/windows/Monero.iss | 8 | ||||
| -rw-r--r-- | installers/windows/ReadMe.htm | 5 |
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>
|
