-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup-compilation.iss
More file actions
64 lines (55 loc) · 3.8 KB
/
setup-compilation.iss
File metadata and controls
64 lines (55 loc) · 3.8 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
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "Andekata"
#define MyAppVersion "1.0.3"
#define MyAppPublisher "Ajaro"
#define MyAppURL "http://ajaro.id/"
#define MyAppExeName "neard.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.)
AppId={{C1AE71A2-8D80-4488-8E4C-EC8B4030B39B}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={#MyAppName}
DisableProgramGroupPage=yes
LicenseFile=C:\Ajaro\Andekata.bak\lisensi.txt
OutputDir=C:\Ajaro
OutputBaseFilename=andekata-setup-{#MyAppVersion}
Compression=lzma
SolidCompression=yes
DisableDirPage=yes
ShowTasksTreeLines=yes
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: "C:\Ajaro\Andekata.bak\neard.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Ajaro\Andekata.bak\*"; Excludes: "\setup-compilation.iss, \.gitignore, \tes.bat"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
Name: "{commonprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; IconFilename: "{app}\core\resources\icons\app.ico"
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon; IconFilename: "{app}\core\resources\icons\app.ico"
[Run]
Filename: "{app}\andekata-scripts\andekata-installation.bat"; WorkingDir: "{app}"; Flags: shellexec waituntilterminated; StatusMsg: "Setup Environment..."
Filename: "{app}\core\libs\php\php-win.exe"; Parameters: "bootstrap.php startup"; WorkingDir: "{app}\core"; Flags: shellexec waituntilterminated; StatusMsg: "Setup Startup..."
Filename: "{app}\core\libs\php\php-win.exe"; Parameters: "bootstrap.php reload"; WorkingDir: "{app}\core"; Flags: shellexec waituntilterminated; StatusMsg: "Reload..."
Filename: "{app}\core\libs\php\php-win.exe"; Parameters: "bootstrap.php checkVersion"; WorkingDir: "{app}\core"; Flags: shellexec waituntilterminated; StatusMsg: "Checking Version..."
Filename: "{app}\core\libs\php\php-win.exe"; Parameters: "bootstrap.php exec"; WorkingDir: "{app}\core"; Flags: shellexec waituntilterminated; StatusMsg: "Executing..."
Filename: "{app}\andekata-scripts\andekata-api-setup.bat"; WorkingDir: "{app}\apps"; Flags: shellexec waituntilterminated; StatusMsg: "Setup Andekata API..."
Filename: "{app}\andekata-scripts\andekata-client-setup.bat"; WorkingDir: "{app}\apps"; Flags: shellexec waituntilterminated; StatusMsg: "Setup Andekata Client..."
Filename: "{app}\core\libs\php\php-win.exe"; Parameters: "bootstrap.php setupAndekataVhostApi"; WorkingDir: "{app}\core"; Flags: shellexec waituntilterminated; StatusMsg: "Setup Virtual Host API"
Filename: "{app}\core\libs\php\php-win.exe"; Parameters: "bootstrap.php setupAndekataVhostClient"; WorkingDir: "{app}\core"; Flags: shellexec waituntilterminated; StatusMsg: "Setup Virtual Host Client"
[UninstallRun]
Filename: "{app}\core\libs\hostseditor\HostsEditor.exe /d andekata.api"; WorkingDir: "{app}"; Flags: shellexec waituntilterminated; StatusMsg: "Remove api.andekata.app from hosts"
Filename: "{app}\core\libs\hostseditor\HostsEditor.exe /d andekata.client"; WorkingDir: "{app}"; Flags: shellexec waituntilterminated; StatusMsg: "Remove andekata.app from hosts"
[UninstallDelete]
Type: files; Name: "{app}\*"
Type: filesandordirs; Name: "{app}"