mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-19 00:15:21 +01:00
parent
f4d3a94553
commit
f3bc47a309
1 changed files with 6 additions and 1 deletions
|
@ -76,6 +76,7 @@ InstallDir "$PROGRAMFILES\Raspberry Pi Imager"
|
|||
|
||||
|
||||
!include "MUI.nsh"
|
||||
!include "WinVer.nsh"
|
||||
|
||||
!define MUI_ABORTWARNING
|
||||
!define MUI_UNABORTWARNING
|
||||
|
@ -1026,6 +1027,10 @@ Function .onInit
|
|||
SetSilent silent
|
||||
WriteUninstaller "$%TEMP%\uninstall.exe"
|
||||
Quit ; just bail out quickly when running the "inner" installer
|
||||
!else
|
||||
${IfNot} ${AtLeastWin7}
|
||||
MessageBox MB_OK "Windows 7 or above required"
|
||||
Quit
|
||||
${EndIf}
|
||||
!endif
|
||||
FunctionEnd
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue