Commit 5b3c3c62 authored by sr55's avatar sr55

WinGui: Fix the .NET Framework version check in the installer.

parent 0af0a5fe
......@@ -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:
......
......@@ -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 Nightly"
!define PRODUCT_VERSION "Nightly"
!define PRODUCT_VERSION_NUMBER "Nightly"
......@@ -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
......@@ -228,7 +223,7 @@ Function CheckFrameWork
IfErrors NotDetected
${If} $0 >= 393295
${If} $0 >= MIN_FRAMEWORK_VER
StrCpy $0 "1"
${Else}
NotDetected:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment