2017-09-11 10:49:25 +00:00
|
|
|
|
|
|
|
#include AddBackslash(SourcePath) + "..\src\common\version.h"
|
|
|
|
|
|
|
|
#define APP_PUBLISHER "Nodir Temirkhodjaev"
|
|
|
|
#define APP_URL "https://github.com/tnodir"
|
|
|
|
#define APP_EXE_NAME "FortFirewall.exe"
|
|
|
|
|
|
|
|
[Setup]
|
|
|
|
; NOTE: The value of AppId uniquely identifies this application.
|
|
|
|
; Do not use the same AppId value in installers for other applications.
|
|
|
|
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
|
2017-09-11 11:17:27 +00:00
|
|
|
AppMutex={#APP_NAME}
|
2017-09-11 10:49:25 +00:00
|
|
|
AppName={#APP_NAME}
|
|
|
|
AppVersion={#APP_VERSION_STR}
|
|
|
|
AppVerName={#APP_NAME}
|
|
|
|
AppCopyright=Copyright (C) 2015 Nodir Temirkhodjaev
|
|
|
|
AppPublisher={#APP_PUBLISHER}
|
|
|
|
AppPublisherURL={#APP_URL}
|
|
|
|
AppSupportURL={#APP_URL}
|
|
|
|
AppUpdatesURL={#APP_UPDATES_URL}
|
|
|
|
DefaultGroupName={#APP_NAME}
|
|
|
|
DefaultDirName={pf32}\{#APP_NAME}
|
|
|
|
AlwaysShowDirOnReadyPage=yes
|
|
|
|
AlwaysShowGroupOnReadyPage=yes
|
|
|
|
AllowNoIcons=yes
|
|
|
|
OutputBaseFilename=FortFirewall-{#APP_VERSION_STR}
|
|
|
|
UninstallFilesDir={app}\uninst
|
|
|
|
ArchitecturesInstallIn64BitMode=x64
|
|
|
|
Compression=lzma2/ultra
|
|
|
|
SolidCompression=yes
|
|
|
|
|
|
|
|
[Languages]
|
2017-09-14 04:33:29 +00:00
|
|
|
Name: en; MessagesFile: "compiler:Default.isl"
|
|
|
|
Name: ru; MessagesFile: "compiler:Languages\Russian.isl"
|
|
|
|
|
2017-09-11 10:49:25 +00:00
|
|
|
[Files]
|
|
|
|
Source: ".\build\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
|
|
|
|
|
|
|
[Icons]
|
|
|
|
; Start menu shortcut
|
2017-10-19 09:05:37 +00:00
|
|
|
Name: "{group}\{#APP_NAME}"; Filename: "{app}\{#APP_EXE_NAME}"; IconFilename: "{app}\FortFirewall.ico"
|
2017-09-13 11:08:27 +00:00
|
|
|
; Uninstaller shortcut
|
2017-10-19 09:05:37 +00:00
|
|
|
Name: "{group}\{cm:UninstallProgram,{#APP_NAME}}"; Filename: "{uninstallexe}"; IconFilename: "{app}\FortFirewall.ico"
|
2017-09-11 10:49:25 +00:00
|
|
|
|
|
|
|
[Run]
|
2017-10-02 03:52:52 +00:00
|
|
|
Filename: "{app}\driver\scripts\uninstall.bat"; Description: "Uninstall driver"; Flags: runascurrentuser
|
2017-09-11 10:49:25 +00:00
|
|
|
Filename: "{app}\driver\scripts\install.bat"; Description: "Install driver"; Flags: runascurrentuser
|
|
|
|
|
|
|
|
[UninstallRun]
|
|
|
|
Filename: "{app}\driver\scripts\uninstall.bat"; Flags: runascurrentuser
|
2017-09-13 11:08:27 +00:00
|
|
|
Filename: "{app}\{#APP_EXE_NAME}"; Parameters: "-b=0"; Flags: runascurrentuser
|
2017-09-11 10:49:25 +00:00
|
|
|
|
2018-02-19 15:02:13 +00:00
|
|
|
[InstallDelete]
|
|
|
|
Type: files; Name: "{app}\*.dll"
|
|
|
|
Type: files; Name: "{app}\*.exe"
|
|
|
|
Type: files; Name: "{app}\driver\*.sys"
|
|
|
|
Type: filesandordirs; Name: "{app}\i18n"
|
|
|
|
Type: filesandordirs; Name: "{app}\imports"
|
|
|
|
Type: filesandordirs; Name: "{app}\plugins"
|
2018-08-24 11:47:02 +00:00
|
|
|
Type: filesandordirs; Name: "{app}\scripts"
|
2018-02-19 15:02:13 +00:00
|
|
|
|
2017-09-11 10:49:25 +00:00
|
|
|
[UninstallDelete]
|
|
|
|
Type: filesandordirs; Name: "{app}"
|