From 93998720b2ddb2c1395222046d98e51ead344b03 Mon Sep 17 00:00:00 2001 From: Mat Sutcliffe Date: Sun, 5 Jul 2020 23:20:18 +0100 Subject: [PATCH] [Installer] Check if EOL has expired before installing --- install.pri | 1 + installer/installbuilder/project.xml | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/install.pri b/install.pri index ff5002b4c..4b6f8cb69 100644 --- a/install.pri +++ b/install.pri @@ -248,6 +248,7 @@ bitrock_builder_bin = $$(BITROCK_BUILDER) project.installerFilename=$${INSTALLER_BASENAME}.$${INSTALLER_EXT} \ project.version=$$swiftConfig(version.full) \ versionFull=$$swiftConfig(version.full).$${VER_REV} \ + endOfLife=$$swiftConfig(endOfLife) \ project.windows64bitMode=$${WINDOWS64BITMODE} \ project.enableDebugger=$${INSTALLER_DEBUG} \ architecture=$${ARCHITECTURE} diff --git a/installer/installbuilder/project.xml b/installer/installbuilder/project.xml index 0744f8faa..cd38d4209 100644 --- a/installer/installbuilder/project.xml +++ b/installer/installbuilder/project.xml @@ -24,6 +24,20 @@ + + checkExpiryDate + + + installDate + + + + + + This version has expired. Please download a more recent version. + + + checkForRunningSwift @@ -86,6 +100,7 @@ It must be closed before the installation can proceed + @@ -326,6 +341,9 @@ It must be closed before the installation can proceed 1 + + 21000101 +