1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2025-03-09 21:24:36 +00:00

Enforce minimum Windows version ref #983

This commit is contained in:
Andrew Senetar 2022-03-19 17:01:38 -05:00
parent a64fcbfb5c
commit 9321e811d7
Signed by: arsenetar
GPG Key ID: C63300DCE48AB2F1

View File

@ -12,6 +12,8 @@ Unicode true
SetCompressor /SOLID lzma SetCompressor /SOLID lzma
; General Headers ; General Headers
!include "FileFunc.nsh" !include "FileFunc.nsh"
!include "WinVer.nsh"
!include "LogicLib.nsh"
;============================================================================== ;==============================================================================
; Configuration Defines ; Configuration Defines
@ -279,6 +281,10 @@ SectionEnd
;============================================================================== ;==============================================================================
Function .onInit Function .onInit
${IfNot} ${AtLeastWin7}
MessageBox MB_OK "Windows 7 and above required"
Quit
${EndIf}
!if ${BITS} == "64" !if ${BITS} == "64"
SetRegView 64 SetRegView 64
!else !else