-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstaller.iss
More file actions
82 lines (64 loc) · 2.15 KB
/
installer.iss
File metadata and controls
82 lines (64 loc) · 2.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
[Setup]
AppName=Forix
AppVersion=1.0
AppPublisher=Forix
AppPublisherURL=https://spdly.xo.je
AppSupportURL=https://spdly.xo.je/forix
AppUpdatesURL=https://spdly.xo.je/updates
DefaultDirName={pf}\Forix
DefaultGroupName=Forix
OutputDir=output
OutputBaseFilename=Forix_Setup
Compression=lzma
SolidCompression=yes
SetupIconFile=assets\forix.ico
; UI Customization
WizardStyle=modern
WizardImageFile=assets\installer_banner.bmp
WizardSmallImageFile=assets\installer_small.bmp
; Behavior
DisableProgramGroupPage=yes
UninstallDisplayIcon={app}\Forix.exe
; Optional polish
PrivilegesRequired=admin
SetupLogging=yes
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[CustomMessages]
AppName=Forix
AppTagline=Forging Better Projects
AppDescription=Forix is an advanced project, file, and inventory management system designed for developers and engineers.
[Messages]
WelcomeLabel1=Welcome to the Forix Setup Wizard
WelcomeLabel2=This will install Forix on your system.\n\nForix helps you organize, version, and manage projects efficiently.
SelectDirLabel3=Choose the folder where Forix will be installed.
FinishedLabel=Setup has finished installing Forix on your system.
[Files]
; Main application (Nuitka output)
Source: "build_nuitka\main.dist\*"; DestDir: "{app}"; Flags: recursesubdirs ignoreversion
; VC++ Redistributable
Source: "vc_redist.x64.exe"; DestDir: "{tmp}"; Flags: deleteafterinstall
[Icons]
Name: "{group}\Forix"; Filename: "{app}\Forix.exe"
Name: "{commondesktop}\Forix"; Filename: "{app}\Forix.exe"; Tasks: desktopicon
[Tasks]
Name: "desktopicon"; Description: "Create Desktop Shortcut"; Flags: unchecked
[Run]
; Install VC++ only if not already installed
Filename: "{tmp}\vc_redist.x64.exe"; Parameters: "/quiet /norestart"; \
StatusMsg: "Installing required components..."; \
Check: not IsVCRedistInstalled()
; Launch app after install
Filename: "{app}\Forix.exe"; Description: "Launch Forix"; Flags: nowait postinstall skipifsilent
[Code]
function IsVCRedistInstalled(): Boolean;
var
Version: String;
begin
Result := RegQueryStringValue(
HKLM,
'SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\x64',
'Version',
Version
);
end;