-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.iss
83 lines (72 loc) · 2.75 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
; This Script used to build installer for clipbird application using inno setup
; constants used in the script
#define ClipbirdPublisher "srilakshmikanthanp"
#define ClipbirdName "clipbird"
#define ClipbirdVersion "1.3.3"
#define ClipbirdUUID "3A8D9FCA-9F95-4947-8AB0-3E364ED765E1"
#define ClipbirdURL "https://github.com/srilakshmikanthanp/clipbirdesk"
#define ClipbirdExeName "clipbird.exe"
[Setup]
AppPublisher={#ClipbirdPublisher}
AppVerName={#ClipbirdName} {#ClipbirdVersion}
AppId={#ClipbirdUUID}
AppVersion={#ClipbirdVersion}
AppName={#ClipbirdName}
AppPublisherURL={#ClipbirdURL}
AppSupportURL={#ClipbirdURL}
AppUpdatesURL={#ClipbirdURL}
DefaultDirName={autopf}\{#ClipbirdName}
DisableProgramGroupPage=yes
LicenseFile=NOTICE
OutputBaseFilename=clipbird-x64
SetupIconFile=src\assets\images\logo.ico
OutputDir=.\dist
Compression=lzma
SolidCompression=yes
WizardStyle=modern
UninstallDisplayIcon={app}\{#ClipbirdExeName}
UsePreviousLanguage=no
[Registry]
; To start app on windows startup
Root : HKLM; \
Subkey : "Software\Microsoft\Windows\CurrentVersion\Run"; \
ValueType : string; \
ValueName : "{#ClipbirdName}"; \
ValueData : """{app}\{#ClipbirdExeName}"""; \
Flags : uninsdeletevalue
[Files]
; List of files to be included in the installer
Source : ".\setup\*"; \
DestDir : "{app}"; \
Flags : ignoreversion recursesubdirs createallsubdirs
[Languages]
; Include English language
Name : "english"; \
MessagesFile : "compiler:Default.isl"
[Tasks]
; Create desktop icon Optionality
Name : "desktopicon"; \
Description : "{cm:CreateDesktopIcon}"; \
GroupDescription : "{cm:AdditionalIcons}"; \
Flags : unchecked
[Icons]
; Desktop Icon
Name : "{autodesktop}\{#ClipbirdName}"; \
Filename : "{app}\{#ClipbirdExeName}"; \
Tasks : desktopicon
; Start Menu Icon
Name : "{autoprograms}\{#ClipbirdName}"; \
Filename : "{app}\{#ClipbirdExeName}"
[Run]
; Install Bonjour service for Windows
Filename : msiexec.exe; \
Parameters : "/i ""{app}\Bonjour64.msi"" /qn /norestart"; \
StatusMsg : "Installing Bonjour..."
; Install VC++ Redistributables
Filename : {app}\vc_redist.x64.exe; \
Parameters : "/q /norestart"; \
StatusMsg : "Installing VC++ Redistributables..."
; Start the application after installation
Filename : "{app}\{#ClipbirdExeName}"; \
Description : "{cm:LaunchProgram,{#StringChange(ClipbirdName, '&', '&&')}}"; \
Flags : nowait postinstall skipifsilent