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:
parent
a64fcbfb5c
commit
9321e811d7
@ -12,6 +12,8 @@ Unicode true
|
||||
SetCompressor /SOLID lzma
|
||||
; General Headers
|
||||
!include "FileFunc.nsh"
|
||||
!include "WinVer.nsh"
|
||||
!include "LogicLib.nsh"
|
||||
|
||||
;==============================================================================
|
||||
; Configuration Defines
|
||||
@ -279,6 +281,10 @@ SectionEnd
|
||||
;==============================================================================
|
||||
|
||||
Function .onInit
|
||||
${IfNot} ${AtLeastWin7}
|
||||
MessageBox MB_OK "Windows 7 and above required"
|
||||
Quit
|
||||
${EndIf}
|
||||
!if ${BITS} == "64"
|
||||
SetRegView 64
|
||||
!else
|
||||
|
Loading…
x
Reference in New Issue
Block a user