mirror of
https://github.com/tnodir/fort
synced 2024-11-15 07:25:18 +00:00
Installer: Check allowed processor architectures
This commit is contained in:
parent
0a38bbc3ef
commit
a2ea0a6e42
@ -41,6 +41,7 @@ UninstallFilesDir={app}\uninst
|
|||||||
UninstallDisplayIcon={uninstallexe}
|
UninstallDisplayIcon={uninstallexe}
|
||||||
SetupIconFile={#SRC_PATH}\ui_bin\{#APP_ICO_NAME}
|
SetupIconFile={#SRC_PATH}\ui_bin\{#APP_ICO_NAME}
|
||||||
ArchitecturesInstallIn64BitMode=x64
|
ArchitecturesInstallIn64BitMode=x64
|
||||||
|
ArchitecturesAllowed={#PROC_ARCHS}
|
||||||
Compression=lzma/normal
|
Compression=lzma/normal
|
||||||
SolidCompression=yes
|
SolidCompression=yes
|
||||||
|
|
||||||
|
@ -3,11 +3,16 @@
|
|||||||
@cd %~dp0
|
@cd %~dp0
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
@set PROC_ARCHS="x86 x64"
|
||||||
@set CHECK_WIN10=
|
@set CHECK_WIN10=
|
||||||
@if not exist ".\build\driver\x86\" (
|
@if not exist ".\build\driver\x86\" (
|
||||||
@set CHECK_WIN10=Y
|
@set PROC_ARCHS="x64"
|
||||||
|
@set CHECK_WIN10="Y"
|
||||||
|
)
|
||||||
|
@if exist ".\build\driver\ARM64\" (
|
||||||
|
@set PROC_ARCHS="arm64"
|
||||||
)
|
)
|
||||||
|
|
||||||
@set INNO_PATH=D:\Utils\Dev\InnoSetup5\ISCC.exe
|
@set INNO_PATH=D:\Utils\Dev\InnoSetup5\ISCC.exe
|
||||||
|
|
||||||
"%INNO_PATH%" FortFirewall.iss /DCHECK_WIN10=%CHECK_WIN10%
|
"%INNO_PATH%" FortFirewall.iss /DPROC_ARCHS=%PROC_ARCHS% /DCHECK_WIN10=%CHECK_WIN10%
|
||||||
|
Loading…
Reference in New Issue
Block a user