summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Installer/Installer64.nsi
diff options
context:
space:
mode:
authorsr55 <[email protected]>2019-08-12 19:00:57 +0100
committersr55 <[email protected]>2019-08-12 19:00:57 +0100
commit5b3c3c620855130c7bcd47685ad69a765e0cfd7b (patch)
treeac58ca35f6291b48a62093fa9e83328e69941e64 /win/CS/HandBrakeWPF/Installer/Installer64.nsi
parent0af0a5fee3c40415d46d89c75e90d58342338cff (diff)
WinGui: Fix the .NET Framework version check in the installer.
Diffstat (limited to 'win/CS/HandBrakeWPF/Installer/Installer64.nsi')
-rw-r--r--win/CS/HandBrakeWPF/Installer/Installer64.nsi11
1 files changed, 3 insertions, 8 deletions
diff --git a/win/CS/HandBrakeWPF/Installer/Installer64.nsi b/win/CS/HandBrakeWPF/Installer/Installer64.nsi
index a17360a28..68e8c65ca 100644
--- a/win/CS/HandBrakeWPF/Installer/Installer64.nsi
+++ b/win/CS/HandBrakeWPF/Installer/Installer64.nsi
@@ -4,9 +4,6 @@
Homepage: <http://HandBrake.fr/>.
It may be used under the terms of the GNU General Public License. */
-; Script generated by the HM NIS Edit Script Wizard.
-
-; HM NIS Edit Wizard helper defines
!define PRODUCT_NAME "HandBrake"
!define PRODUCT_VERSION "1.3.0"
!define PRODUCT_VERSION_NUMBER "1.3.0"
@@ -14,10 +11,8 @@
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
!define PRODUCT_UNINST_ROOT_KEY "HKLM"
-;Required .NET framework
-!define MIN_FRA_MAJOR "4"
-!define MIN_FRA_MINOR "8"
-!define MIN_FRA_BUILD "*"
+;Required .NET framework for 4.7.1
+!define MIN_FRAMEWORK_VER 461308
SetCompressor lzma
ManifestDPIAware true
@@ -232,7 +227,7 @@ Function CheckFrameWork
IfErrors NotDetected
- ${If} $0 >= 393295
+ ${If} $0 >= MIN_FRAMEWORK_VER
StrCpy $0 "1"
${Else}
NotDetected: