-
Notifications
You must be signed in to change notification settings - Fork 2
/
portabase.iss
90 lines (82 loc) · 4.6 KB
/
portabase.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
84
85
86
87
88
89
90
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define VersionFile FileOpen("packaging/version_number")
#define AppVer FileRead(VersionFile)
#expr FileClose(VersionFile)
#undef VersionFile
#define YearsFile FileOpen("packaging/copyright_years")
#define CopyrightYears FileRead(YearsFile)
#expr FileClose(YearsFile)
#undef YearsFile
[Setup]
AppName=PortaBase
AppPublisher=Jeremy Bowman
AppPublisherURL=http://www.portabase.org
AppSupportURL=http://www.portabase.org
AppUpdatesURL=http://www.portabase.org
AppReadmeFile=README.txt
AppVersion={#AppVer}
AppCopyright=Copyright (C) {#CopyrightYears} Jeremy Bowman
ArchitecturesAllowed=x64
ArchitecturesInstallIn64BitMode=x64
DefaultDirName={commonpf}\PortaBase
DefaultGroupName=PortaBase
AllowNoIcons=yes
AllowRootDirectory=yes
ChangesAssociations=yes
LicenseFile=COPYING
PrivilegesRequired=admin
SolidCompression=yes
OutputBaseFilename=PortaBase_{#AppVer}
OutputDir=build\windows
VersionInfoVersion={#AppVer}
ShowLanguageDialog=yes
#if Defined SignIt
SignTool=kSign /d $qPortaBase {#AppVer} installer$q /du $qhttp://www.portabase.org$q $f
#endif
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"
[Files]
Source: "build\PortaBase.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "build\windows\CHANGES.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "build\windows\COPYING.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "build\windows\README.txt"; DestDir: "{app}"; Flags: ignoreversion isreadme
Source: "build\windows\libstdc++-6.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "build\windows\libgcc_s_seh-1.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "build\windows\Qt5Core.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "build\windows\Qt5Gui.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "build\windows\Qt5PrintSupport.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "build\windows\Qt5Widgets.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "build\windows\Qt5Xml.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "build\windows\imageformats\qjpeg.dll"; DestDir: "{app}\imageformats"; Flags: ignoreversion
Source: "resources\help\_build\_static\*"; DestDir: "{app}\help\_static"; Flags: ignoreversion
Source: "resources\help\_build\cs\*"; DestDir: "{app}\help\cs"; Flags: ignoreversion recursesubdirs
Source: "resources\help\_build\en\*"; DestDir: "{app}\help\en"; Flags: ignoreversion recursesubdirs
Source: "resources\help\_build\fr\*"; DestDir: "{app}\help\fr"; Flags: ignoreversion recursesubdirs
Source: "resources\help\_build\it\*"; DestDir: "{app}\help\it"; Flags: ignoreversion recursesubdirs
Source: "resources\help\_build\ja\*"; DestDir: "{app}\help\ja"; Flags: ignoreversion recursesubdirs
Source: "resources\help\_build\zh_TW\*"; DestDir: "{app}\help\zh_TW"; Flags: ignoreversion recursesubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Languages]
Name: "en"; MessagesFile: "compiler:Default.isl"
Name: "cs"; MessagesFile: "compiler:Languages\Czech.isl"
Name: "de"; MessagesFile: "compiler:Languages\German.isl"
Name: "es"; MessagesFile: "compiler:Languages\Spanish.isl"
Name: "fr"; MessagesFile: "compiler:Languages\French.isl"
Name: "it"; MessagesFile: "compiler:Languages\Italian.isl"
Name: "ja"; MessagesFile: "compiler:Languages\Japanese.isl"
Name: "sk"; MessagesFile: "compiler:Languages\Slovak.isl"
Name: "zh_CN"; MessagesFile: "packaging\windows\ChineseSimplified.isl"
Name: "zh_TW"; MessagesFile: "packaging\windows\ChineseTraditional.isl"
[Registry]
Root: HKCR; Subkey: ".pob"; ValueType: string; ValueName: ""; ValueData: "PortaBaseFile"; Flags: uninsdeletevalue
Root: HKCR; Subkey: "PortaBaseFile"; ValueType: string; ValueName: ""; ValueData: "PortaBase File"; Flags: uninsdeletekey
Root: HKCR; Subkey: "PortaBaseFile\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\PORTABASE.EXE,0"
Root: HKCR; Subkey: "PortaBaseFile\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\PORTABASE.EXE"" ""%1"""
[Icons]
Name: "{group}\PortaBase"; Filename: "{app}\PortaBase.exe"; Comment: "A personal database application"
Name: "{group}\{cm:ProgramOnTheWeb,PortaBase}"; Filename: "http://www.portabase.org"
Name: "{group}\{cm:UninstallProgram,PortaBase}"; Filename: "{uninstallexe}"
Name: "{commondesktop}\PortaBase"; Filename: "{app}\portabase.exe"; Tasks: desktopicon
[Run]
Filename: "{app}\PortaBase.exe"; Description: "{cm:LaunchProgram,PortaBase}"; Flags: nowait postinstall skipifsilent