toolkit/bin/installer/setup.iss
2022-02-14 04:26:18 -03:00

108 lines
3.9 KiB
Plaintext

; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "Indetectables Toolkit"
#define MyAppVersion "2022.3"
#define MyAppPublisher "Indetectables"
#define MyAppURL "https://www.indetectables.net/"
#define MyAppToolsFolder "{app}\toolkit"
#define MyAppBinsFolder "{app}\bin"
#define MySrcDir "D:\code\indetectables\toolkit_prod"
[Setup]
AppId={{1FF89DD9-2D8E-4959-B670-2344285F456B}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
AppVerName={#MyAppName} - {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={autopf}\{#MyAppName}
DefaultGroupName={#MyAppName}
PrivilegesRequiredOverridesAllowed=dialog
OutputBaseFilename=Toolkit_{#MyAppVersion}_setup
Compression=lzma
SolidCompression=yes
WizardStyle=modern
ArchitecturesInstallIn64BitMode=x64
SetupIconFile="{#MySrcDir}\bin\sendto\toolkit.ico"
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
Name: "spanish"; MessagesFile: "compiler:Languages\Spanish.isl"
[Components]
Name: "Analysis"; Description: "Analysis tools"; Types: full;
#include "sections\analysis.iss"
[Components]
Name: "Decompilers"; Description: "Decompilers"; Types: full;
#include "sections\decompilers.iss"
[Components]
Name: "Dissasembler"; Description: "Dissasembler"; Types: full;
#include "sections\dissasembler.iss"
[Components]
Name: "HEXEditor"; Description: "Hex editors"; Types: full;
#include "sections\hex-editor.iss"
[Components]
Name: "Monitor"; Description: "Monitor tools"; Types: full;
#include "sections\monitor.iss"
[Components]
Name: "Other"; Description: "Other tools"; Types: full;
#include "sections\other.iss"
[Components]
Name: "RootkitsDetector"; Description: "Rootkits Detector"; Types: full;
#include "sections\rootkits-detector.iss"
[Components]
Name: "UnPacking"; Description: "UnPacking"; Types: full;
#include "sections\unpacking.iss"
[Components]
Name: "Updater"; Description: "Tools auto updater"; Types: full;
#include "sections\updater.iss"
;;;;;;;;;;;;;;;;;;;;;;;;
; Extras
;;;;;;;;;;;;;;;;;;;;;;;;
; Add docs
[Files]
Source: "{#MySrcDir}\*.md"; Destdir: "{app}";
; Shortcut to program's folder
[Icons]
Name: "{userdesktop}\{#MyAppName}\Explore all tools"; Filename: "{#MyAppToolsFolder}"
Name: "{group}\{#MyAppName}\Explore all tools"; Filename: "{#MyAppToolsFolder}";
; SendTo+ shortcuts
[Files]
Source: "{#MySrcDir}\bin\sendto\*"; Destdir: "{#MyAppBinsFolder}\sendto\";
[Icons]
; x64
Name: "{userappdata}\Microsoft\Windows\SendTo\{#MyAppName}"; Filename: "{#MyAppBinsFolder}\sendto\sendto_x64.exe"; WorkingDir: "{#MyAppBinsFolder}\sendto\"; IconFilename: "{#MyAppBinsFolder}\sendto\toolkit.ico"; Check: Is64BitInstallMode
Name: "{userdesktop}\{#MyAppName}\Menu"; Filename: "{#MyAppBinsFolder}\sendto\sendto_x64.exe"; WorkingDir: "{#MyAppBinsFolder}\sendto\"; IconFilename: "{#MyAppBinsFolder}\sendto\toolkit.ico"; Check: Is64BitInstallMode
; x32
Name: "{userappdata}\Microsoft\Windows\SendTo\{#MyAppName}"; Filename: "{#MyAppBinsFolder}\sendto\sendto_x86.exe"; WorkingDir: "{#MyAppBinsFolder}\sendto\"; IconFilename: "{#MyAppBinsFolder}\sendto\toolkit.ico"; Check: not Is64BitInstallMode
Name: "{userdesktop}\{#MyAppName}\Menu"; Filename: "{#MyAppBinsFolder}\sendto\sendto_x86.exe"; WorkingDir: "{#MyAppBinsFolder}\sendto\"; IconFilename: "{#MyAppBinsFolder}\sendto\toolkit.ico"; Check: not Is64BitInstallMode
; Force delete all files
[UninstallDelete]
Type: filesandordirs; Name: "{#MyAppToolsFolder}\Analysis"
Type: filesandordirs; Name: "{#MyAppToolsFolder}\Decompilers"
Type: filesandordirs; Name: "{#MyAppToolsFolder}\Dissasembler"
Type: filesandordirs; Name: "{#MyAppToolsFolder}\HEX Editor"
Type: filesandordirs; Name: "{#MyAppToolsFolder}\Monitor"
Type: filesandordirs; Name: "{#MyAppToolsFolder}\Other"
Type: filesandordirs; Name: "{#MyAppToolsFolder}\Rootkits Detector"
Type: filesandordirs; Name: "{#MyAppToolsFolder}\UnPacking"