summaryrefslogtreecommitdiff
path: root/bin/bbackupd/win32/installer.iss
blob: 20e3addb1d1341b7d5ba8f1a3c92d1d0e1d5afb0 (plain)
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
; Script to generate output file for Box Backup client for the Windows Platform
;
; Very important - this is the release process
;
; 1/ Upgrade BOX_VERSION in the file emu.h to the current version for example 0.09eWin32 - then perform a full rebuild
;
; 2/ Upgrade the AppVerName below to reflect the version
;
; 3/ Generate the output file, then rename it to the relevent filename to reflect the version

[Setup]
AppName=Box Backup
AppVerName=BoxWin32 0.09h
AppPublisher=Fluffy & Omniis
AppPublisherURL=http://www.omniis.com
AppSupportURL=http://www.omniis.com
AppUpdatesURL=http://www.omniis.com
DefaultDirName={pf}\Box Backup
DefaultGroupName=Box Backup
Compression=lzma
SolidCompression=yes
PrivilegesRequired=admin

[Files]
Source: "..\..\Release\bbackupd.exe"; DestDir: "{app}"; Flags: ignoreversion restartreplace
Source: "..\..\Release\bbackupctl.exe"; DestDir: "{app}"; Flags: ignoreversion restartreplace
Source: "..\..\Release\bbackupquery.exe"; DestDir: "{app}"; Flags: ignoreversion restartreplace
Source: "..\..\ExceptionCodes.txt"; DestDir: "{app}"; Flags: ignoreversion restartreplace
Source: "icon.ico"; DestDir: "{app}\"; Flags: ignoreversion restartreplace
Source: "msvcr71.dll"; DestDir: "{app}\"; Flags: restartreplace
Source: "bbackupd.conf"; DestDir: "{app}"; Flags: confirmoverwrite
Source: "..\..\..\zlib\zlib1.dll"; DestDir: "{app}"; Flags: ignoreversion restartreplace
Source: "..\..\..\openssl\bin\libeay32.dll"; DestDir: "{app}"; Flags: ignoreversion restartreplace
Source: "..\..\..\openssl\bin\ssleay32.dll"; DestDir: "{app}"; Flags: ignoreversion restartreplace
Source: "ReadMe.txt"; DestDir: "{app}"; Flags: ignoreversion restartreplace

; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Icons]
Name: "{group}\Box Backup Query"; Filename: "{app}\bbackupquery.exe"; IconFilename: "{app}\icon.ico" ;Parameters: "-c bbackupd.conf"; WorkingDir: "{app}"
Name: "{group}\Service\Install Service"; Filename: "{app}\bbackupd.exe"; IconFilename: "{app}\icon.ico" ;Parameters: "-i"; WorkingDir: "{app}"
Name: "{group}\Service\Remove Service"; Filename: "{app}\bbackupd.exe"; IconFilename: "{app}\icon.ico" ;Parameters: "-r"; WorkingDir: "{app}"
Name: "{group}\Initiate Backup Now"; Filename: "{app}\bbackupctl.exe"; IconFilename: "{app}\icon.ico" ;Parameters: "-c bbackupd.conf sync"; WorkingDir: "{app}"

[Dirs]
Name: "{app}\bbackupd"

[Run]
Filename: "{app}\bbackupd.exe"; Description: "Install Boxbackup as service"; Parameters: "-i"; Flags: postinstall
Filename: "{app}\Readme.txt"; Description: "View upgrade notes"; Flags: postinstall shellexec skipifsilent