This repository has been archived by the owner on Nov 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.iss
65 lines (58 loc) · 3.17 KB
/
setup.iss
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
; Script generated by the Inno Script Studio Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
;----------------------------------------------------------------
;-- These variables should be defined in command line
;-- /D<name>[=<value>] Emulate #define public <name> <value>
;----------------------------------------------------------------
;-- These variables are defined in cake.build file,
;-- section Inno-Setup
;----------------------------------------------------------------
;#define public MyAppVersion
;#define public BinDirectory
;#define public BinPluginDir
;----------------------------------------------------------------
#define MyAppName "Log Reader"
#define MyAppPublisher "Probel"
#define MyAppURL "https://github.com/jibedoubleve/log-reader"
#define MyAppExeName "Probel.LogReader.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={{C55534BE-4DD1-4F83-B0C6-E048D29652B9}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={commonpf}\{#MyAppName}
DisableDirPage=yes
DefaultGroupName={#MyAppName}
OutputBaseFilename=logreader.{#MyAppVersion}.setup
Compression=lzma
SolidCompression=yes
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: "{#BinDirectory}{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
Source: "{#BinDirectory}*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
;----------------------------------------------------------------
;-- binaries of the plugins
;----------------------------------------------------------------
Source: "{#CsvPluginDir}*"; DestDir: "{userappdata}\probel\log-reader\plugins\csv\"; Flags: ignoreversion recursesubdirs
Source: "{#TextPluginDir}*"; DestDir: "{userappdata}\probel\log-reader\plugins\text\"; Flags: ignoreversion recursesubdirs
Source: "{#OraclePluginDir}*"; DestDir: "{userappdata}\probel\log-reader\plugins\oracle\"; Flags: ignoreversion recursesubdirs
Source: "{#MsSqlPluginDir}*"; DestDir: "{userappdata}\probel\log-reader\plugins\mssql\"; Flags: ignoreversion recursesubdirs
Source: "{#IISPluginDir}*"; DestDir: "{userappdata}\probel\log-reader\plugins\iis\"; Flags: ignoreversion recursesubdirs
Source: "{#SQLitePluginDir}*"; DestDir: "{userappdata}\probel\log-reader\plugins\sqlite\"; Flags: ignoreversion recursesubdirs
;----------------------------------------------------------------
[Icons]
Name: "{commonprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent