-
Notifications
You must be signed in to change notification settings - Fork 2
/
qtbrynhildr.iss.template
142 lines (123 loc) · 5.17 KB
/
qtbrynhildr.iss.template
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
;----------------------------------------------------------------------
; QtBrynhildr installer script for Inno Setup
;----------------------------------------------------------------------
#define Name "Qt Brynhildr"
#define AppExeName "Qt Brynhildr.exe"
#define ArchName "%ARCHNAME%"
#define BuildTool "%BUILDTOOL%"
#define AppVer "2.2.6"
#define RCName ""
#define AppVerNum StringChange(AppVer, ".", "")
#define AppDateString GetDateTimeString("yyyymmdd", "", "")
#define AuthName "mcz-xoxo"
#define ShortName StringChange(Name, " ", "")
[Setup]
AppName={#Name} ({#ArchName})
AppVersion={#AppVer}
AppVerName={#Name} {#AppVer} ({#ArchName})
DefaultGroupName={#Name} ({#ArchName})
;OutputBaseFilename={#ShortName}-windows-v{#AppVerNum}{#RCName}{#BuildTool}-{#AppDateString}
OutputBaseFilename={#ShortName}-windows-v{#AppVerNum}{#RCName}{#BuildTool}
;; for 5.6.x
DefaultDirName={pf}\{#Name}
;; for 6.0.x
;DefaultDirName={commonpf}\{#Name}
PrivilegesRequired=admin
UsePreviousAppDir=yes
AppendDefaultDirName=yes
OutputDir=.\
;;TouchTime=06:21
%EXTOPTION%
; for x64 environment
;;ArchitecturesInstallIn64BitMode=x64
;;ArchitecturesAllowed=x64
; for x86 environment
;;ArchitecturesAllowed=x86
;----------------------------------------------------------------------
; インストーラプログラム
;----------------------------------------------------------------------
VersionInfoVersion={#AppVer}
VersionInfoDescription={#Name}をセットアップするプログラム
AppCopyright=Copyright(C) 2020 FunFun @ mcz-xoxo, All rights reserved.
SetupIconFile=..\..\src\images\qtbrynhildr48.ico
;ウィザードページに表示されるグラフィック(*.bmp: 164 x 314)
;WizardImageFile=bmp\installer_pic.bmp
;ウィザードページに表示されるグラフィックが拡大されない
;WizardImageStretch=no
;その隙間色
;WizardImageBackColor=$ffffff
;ウィザードページの右上部分のグラフィック(*.bmp: 55 x 58)
;WizardSmallImageFile=bmp\installer_pic.bmp
;進捗表示
ShowTasksTreeLines=yes
;----------------------------------------------------------------------
; 多言語化
;----------------------------------------------------------------------
ShowLanguageDialog=yes
;----------------------------------------------------------------------
; インストール前に
;----------------------------------------------------------------------
;;InfoBeforeFile="..\doc\NEED.txt"
;----------------------------------------------------------------------
; ライセンス
;----------------------------------------------------------------------
LicenseFile="..\doc\LICENSE.txt"
;----------------------------------------------------------------------
;「プログラムの追加と削除」ダイアログ情報
;----------------------------------------------------------------------
;配布元
AppPublisher=FunFun @ {#AuthName}
;アプリケーション配布元 Webサイトの URL
AppPublisherURL=http://mcz-xoxo.cocolog-nifty.com/blog/
;連絡先
AppContact=fu.aba.dc5@gmail.com
;サポートサイトURL
;;AppSupportURL=http://mcz-xoxo.cocolog-nifty.com/blog/
;ReadMeファイルパス
AppReadmeFile="{app}\ReadMe.txt"
;製品更新先のURL
;;AppUpdatesURL=http://mcz-xoxo.cocolog-nifty.com/blog/
;アプリケーションの説明
AppComments=A client software for Brynhildr (public mode)
[Languages]
Name: japanese; MessagesFile: compiler:Languages\Japanese.isl
Name: english; MessagesFile: compiler:Default.isl
[Messages]
japanese.BeveledLabel=Japanese
english.BeveledLabel=English
[CustomMessages]
japanese.MakeShortcut=デスクトップにショートカットアイコンを作成する
english.MakeShortcut=Make shortcut icon on desktop
japanese.ManualShortcut=はじめて の {#Name}(Ver.0.9.4)
english.ManualShortcut=First step of {#Name}(Ver.0.9.4)
[Files]
; ランタイム
;; Source: "vcredist\vcredist_x86.exe"; DestDir: "{app}\vcredist"; Flags: ignoreversion touch
; LICENSE.txt
Source: "..\doc\LICENSE.txt"; DestDir: "{app}"; Flags: ignoreversion touch
; ReadMe.txt
Source: "..\doc\ReadMe.txt"; DestDir: "{app}"; Flags: isreadme ignoreversion touch
; ChangeLog.txt
Source: "..\doc\ChangeLog.txt"; DestDir: "{app}"; Flags: isreadme ignoreversion touch
[Registry]
;(アンインストール時に)動作設定を削除
;;Root: HKCU; Subkey: "Software\{#AuthName}"; Flags: uninsdeletekeyifempty
;;Root: HKCU; Subkey: "Software\{#AuthName}\{#Name}"; Flags: uninsdeletekey
[Icons]
Name: "{commondesktop}\{#Name}"; Filename: "{app}\bin\{#Name}.exe"; WorkingDir: "{app}"; Tasks: desktopicon
Name: "{group}\{#Name}"; Filename: "{app}\bin\{#Name}.exe"; WorkingDir: "{app}";
Name: "{commondesktop}\{#Name} ReadMe.txt"; Filename: "{app}\ReadMe.txt"; WorkingDir: "{app}"; Tasks: desktopicon
Name: "{commondesktop}\{#Name} ChangeLog.txt"; Filename: "{app}\ChangeLog.txt"; WorkingDir: "{app}"; Tasks: desktopicon
; マニュアル
Name: "{commondesktop}\{cm:ManualShortcut}"; Filename: "{app}\doc\manual\html\index.html"; WorkingDir: "{app}"; Tasks: desktopicon
; ランタイム
;;Name: "{commondesktop}\vcredist"; Filename: "{app}\vcredist\vcredist_x86.exe"; WorkingDir: "{app}"; Tasks: desktopicon
[Tasks]
Name: desktopicon; Description: "{cm:MakeShortcut}"
[UninstallDelete]
;(アンインストール時に)設定ファイル及びフォルダを削除
Type: files; Name: "{userappdata}\{#AuthName}\{#Name}.ini"
Type: dirifempty; Name: "{userappdata}\{#AuthName}"
[Run]
Filename: "{app}\bin\{#AppExeName}"; Description: "{cm:LaunchProgram,{#Name}}"; Flags: nowait postinstall skipifsilent
[Files]