-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathInstaller.iss
465 lines (438 loc) · 26.1 KB
/
Installer.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
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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName 'WMI Delphi Code Creator'
#define MyAppVersion GetFileVersion('WDCC.exe')
[Files]
Source: Themes\Aqua.theme.xml; DestDir: {app}\Themes\
Source: Themes\artofnet-darkonblue.theme.xml; DestDir: {app}\Themes\
Source: Themes\artofnet-lime-chocolate.theme.xml; DestDir: {app}\Themes\
Source: Themes\bespin.theme.xml; DestDir: {app}\Themes\
Source: Themes\Black and White.theme.xml; DestDir: {app}\Themes\
Source: Themes\Blackboard.theme.xml; DestDir: {app}\Themes\
Source: Themes\Brown.theme.xml; DestDir: {app}\Themes\
Source: Themes\ChocoCaramel.theme.xml; DestDir: {app}\Themes\
Source: Themes\cobalt.theme.xml; DestDir: {app}\Themes\
Source: Themes\coda.theme.xml; DestDir: {app}\Themes\
Source: Themes\code-anxiety.theme.xml; DestDir: {app}\Themes\
Source: Themes\coding-horror.theme.xml; DestDir: {app}\Themes\
Source: Themes\coffee-.theme.xml; DestDir: {app}\Themes\
Source: Themes\dark-code-mute-font-beige.theme.xml; DestDir: {app}\Themes\
Source: Themes\deep-blue.theme.xml; DestDir: {app}\Themes\
Source: Themes\desertex-revised.theme.xml; DestDir: {app}\Themes\
Source: Themes\distant-stormy-shore.theme.xml; DestDir: {app}\Themes\
Source: Themes\enhanced-pascal-classical-.theme.xml; DestDir: {app}\Themes\
Source: Themes\frontenddev.theme.xml; DestDir: {app}\Themes\
Source: Themes\Gedit Original.theme.xml; DestDir: {app}\Themes\
Source: Themes\Green.theme.xml; DestDir: {app}\Themes\
Source: Themes\greendream.theme.xml; DestDir: {app}\Themes\
Source: Themes\hugoware.theme.xml; DestDir: {app}\Themes\
Source: Themes\humane-studio.theme.xml; DestDir: {app}\Themes\
Source: Themes\Igor.theme.xml; DestDir: {app}\Themes\
Source: Themes\Inkpot.theme.xml; DestDir: {app}\Themes\
Source: Themes\jon-erickson-s-ragnarok-grey.theme.xml; DestDir: {app}\Themes\
Source: Themes\like.theme.xml; DestDir: {app}\Themes\
Source: Themes\monokai.theme.xml; DestDir: {app}\Themes\
Source: Themes\Mr.theme.xml; DestDir: {app}\Themes\
Source: Themes\mustang.theme.xml; DestDir: {app}\Themes\
Source: Themes\nightfall.theme.xml; DestDir: {app}\Themes\
Source: Themes\NightLion Aptan.theme.xml; DestDir: {app}\Themes\
Source: Themes\Oblivion.theme.xml; DestDir: {app}\Themes\
Source: Themes\Obsidian.theme.xml; DestDir: {app}\Themes\
Source: Themes\ocean.theme.xml; DestDir: {app}\Themes\
Source: Themes\paulstovell-com.theme.xml; DestDir: {app}\Themes\
Source: Themes\pretty.theme.xml; DestDir: {app}\Themes\
Source: Themes\Purple.theme.xml; DestDir: {app}\Themes\
Source: Themes\ragnarok-blue.theme.xml; DestDir: {app}\Themes\
Source: Themes\RecognEyes.theme.xml; DestDir: {app}\Themes\
Source: Themes\Red.theme.xml; DestDir: {app}\Themes\
Source: Themes\russian-noth.theme.xml; DestDir: {app}\Themes\
Source: Themes\selenitic.theme.xml; DestDir: {app}\Themes\
Source: Themes\slimcode.theme.xml; DestDir: {app}\Themes\
Source: Themes\son-of-obsidian.theme.xml; DestDir: {app}\Themes\
Source: Themes\the-dark-side-of-visual-studio.theme.xml; DestDir: {app}\Themes\
Source: Themes\the-default-at-boxbinary-ltd.theme.xml; DestDir: {app}\Themes\
Source: Themes\tial-entry-enhanced.theme.xml; DestDir: {app}\Themes\
Source: Themes\turbo-pascal-revisited.theme.xml; DestDir: {app}\Themes\
Source: Themes\Vibrant Ink.theme.xml; DestDir: {app}\Themes\
Source: Themes\wekeroad-ink.theme.xml; DestDir: {app}\Themes\
Source: Themes\zenburn-2010.theme.xml; DestDir: {app}\Themes\
Source: Themes\Zenburn.theme.xml; DestDir: {app}\Themes\
Source: WDCC.exe; DestDir: {app}
Source: Extras\MonoDevelop.ico; DestDir: {app}\Extras\
Source: Lazarus\TemplateConsole.lpi; DestDir: {app}\Lazarus\
Source: Oxygene\MonoDevelop\Properties\AssemblyInfo.pas; DestDir: {app}\Oxygene\MonoDevelop\Properties
Source: Oxygene\MonoDevelop\Properties\Resources.Designer.pas; DestDir: {app}\Oxygene\MonoDevelop\Properties
Source: Oxygene\MonoDevelop\Properties\Resources.resx; DestDir: {app}\Oxygene\MonoDevelop\Properties
Source: Oxygene\MonoDevelop\Properties\Settings.Designer.pas; DestDir: {app}\Oxygene\MonoDevelop\Properties
Source: Oxygene\MonoDevelop\Properties\Settings.settings; DestDir: {app}\Oxygene\MonoDevelop\Properties
Source: Oxygene\MonoDevelop\GetWMI_Info.oxygene; DestDir: {app}\Oxygene\MonoDevelop
Source: Oxygene\MonoDevelop\GetWMI_Info.sln; DestDir: {app}\Oxygene\MonoDevelop
Source: Oxygene\MonoDevelop\GetWMI_Info.userprefs; DestDir: {app}\Oxygene\MonoDevelop
Source: Oxygene\VS2008\Properties\App.ico; DestDir: {app}\Oxygene\VS2008\Properties
Source: Oxygene\VS2008\Properties\AssemblyInfo.pas; DestDir: {app}\Oxygene\VS2008\Properties
Source: Oxygene\VS2008\Properties\Resources.Designer.pas; DestDir: {app}\Oxygene\VS2008\Properties
Source: Oxygene\VS2008\Properties\Resources.resx; DestDir: {app}\Oxygene\VS2008\Properties
Source: Oxygene\VS2008\Properties\Settings.Designer.pas; DestDir: {app}\Oxygene\VS2008\Properties
Source: Oxygene\VS2008\Properties\Settings.settings; DestDir: {app}\Oxygene\VS2008\Properties
Source: Oxygene\VS2008\GetWMI_Info.oxygene; DestDir: {app}\Oxygene\VS2008
Source: Oxygene\VS2008\GetWMI_Info.sln; DestDir: {app}\Oxygene\VS2008
Source: Oxygene\VS2010\Properties\App.ico; DestDir: {app}\Oxygene\VS2010\Properties
Source: Oxygene\VS2010\Properties\AssemblyInfo.pas; DestDir: {app}\Oxygene\VS2010\Properties
Source: Oxygene\VS2010\Properties\Resources.Designer.pas; DestDir: {app}\Oxygene\VS2010\Properties
Source: Oxygene\VS2010\Properties\Resources.resx; DestDir: {app}\Oxygene\VS2010\Properties
Source: Oxygene\VS2010\Properties\Settings.Designer.pas; DestDir: {app}\Oxygene\VS2010\Properties
Source: Oxygene\VS2010\Properties\Settings.settings; DestDir: {app}\Oxygene\VS2010\Properties
Source: Oxygene\VS2010\GetWMI_Info.oxygene; DestDir: {app}\Oxygene\VS2010
Source: Oxygene\VS2010\GetWMI_Info.sln; DestDir: {app}\Oxygene\VS2010
Source: Oxygene\VS2012\Properties\App.ico; DestDir: {app}\Oxygene\VS2012\Properties
Source: Oxygene\VS2012\Properties\AssemblyInfo.pas; DestDir: {app}\Oxygene\VS2012\Properties
Source: Oxygene\VS2012\Properties\Resources.Designer.pas; DestDir: {app}\Oxygene\VS2012\Properties
Source: Oxygene\VS2012\Properties\Resources.resx; DestDir: {app}\Oxygene\VS2012\Properties
Source: Oxygene\VS2012\Properties\Settings.Designer.pas; DestDir: {app}\Oxygene\VS2012\Properties
Source: Oxygene\VS2012\Properties\Settings.settings; DestDir: {app}\Oxygene\VS2012\Properties
Source: Oxygene\VS2012\GetWMI_Info.oxygene; DestDir: {app}\Oxygene\VS2012
Source: Oxygene\VS2012\GetWMI_Info.sln; DestDir: {app}\Oxygene\VS2012
Source: Oxygene\VS2013\Properties\App.ico; DestDir: {app}\Oxygene\VS2013\Properties
Source: Oxygene\VS2013\Properties\AssemblyInfo.pas; DestDir: {app}\Oxygene\VS2013\Properties
Source: Oxygene\VS2013\Properties\Resources.Designer.pas; DestDir: {app}\Oxygene\VS2013\Properties
Source: Oxygene\VS2013\Properties\Resources.resx; DestDir: {app}\Oxygene\VS2013\Properties
Source: Oxygene\VS2013\Properties\Settings.Designer.pas; DestDir: {app}\Oxygene\VS2013\Properties
Source: Oxygene\VS2013\Properties\Settings.settings; DestDir: {app}\Oxygene\VS2013\Properties
Source: Oxygene\VS2013\GetWMI_Info.oxygene; DestDir: {app}\Oxygene\VS2013
Source: Oxygene\VS2013\GetWMI_Info.sln; DestDir: {app}\Oxygene\VS2013
Source: Oxygene\VS2015\Properties\App.ico; DestDir: {app}\Oxygene\VS2015\Properties
Source: Oxygene\VS2015\Properties\AssemblyInfo.pas; DestDir: {app}\Oxygene\VS2015\Properties
Source: Oxygene\VS2015\Properties\Resources.Designer.pas; DestDir: {app}\Oxygene\VS2015\Properties
Source: Oxygene\VS2015\Properties\Resources.resx; DestDir: {app}\Oxygene\VS2015\Properties
Source: Oxygene\VS2015\Properties\Settings.Designer.pas; DestDir: {app}\Oxygene\VS2015\Properties
Source: Oxygene\VS2015\Properties\Settings.settings; DestDir: {app}\Oxygene\VS2015\Properties
Source: Oxygene\VS2015\GetWMI_Info.oxygene; DestDir: {app}\Oxygene\VS2015
Source: Oxygene\VS2015\GetWMI_Info.sln; DestDir: {app}\Oxygene\VS2015
Source: Delphi\Jedi.inc; DestDir: {app}\Delphi\
Source: Delphi\JediAPILib.inc; DestDir: {app}\Delphi\
Source: Delphi\JwaActiveX.pas; DestDir: {app}\Delphi\
Source: Delphi\JwaWbemCli.pas; DestDir: {app}\Delphi\
Source: Delphi\JwaWinDLLNames.pas; DestDir: {app}\Delphi\
Source: Delphi\JwaWinNT.pas; DestDir: {app}\Delphi\
Source: Delphi\JwaWinType.pas; DestDir: {app}\Delphi\
Source: Delphi\WbemScripting_TLB.pas; DestDir: {app}\Delphi\
Source: Microsoft_C++\VS2005\GetWMI_Info.sln; DestDir: {app}\Microsoft_C++\VS2005
Source: Microsoft_C++\VS2005\GetWMI_Info.vcproj; DestDir: {app}\Microsoft_C++\VS2005
Source: Microsoft_C++\VS2005\stdafx.cpp; DestDir: {app}\Microsoft_C++\VS2005
Source: Microsoft_C++\VS2005\stdafx.h; DestDir: {app}\Microsoft_C++\VS2005
Source: Microsoft_C++\VS2005\targetver.h; DestDir: {app}\Microsoft_C++\VS2005
Source: Microsoft_C++\VS2008\GetWMI_Info.sln; DestDir: {app}\Microsoft_C++\VS2008
Source: Microsoft_C++\VS2008\GetWMI_Info.vcproj; DestDir: {app}\Microsoft_C++\VS2008
Source: Microsoft_C++\VS2008\stdafx.cpp; DestDir: {app}\Microsoft_C++\VS2008
Source: Microsoft_C++\VS2008\stdafx.h; DestDir: {app}\Microsoft_C++\VS2008
Source: Microsoft_C++\VS2008\targetver.h; DestDir: {app}\Microsoft_C++\VS2008
Source: Microsoft_C++\VS2010\GetWMI_Info.sln; DestDir: {app}\Microsoft_C++\VS2010
Source: Microsoft_C++\VS2010\GetWMI_Info.vcxproj; DestDir: {app}\Microsoft_C++\VS2010
Source: Microsoft_C++\VS2010\stdafx.cpp; DestDir: {app}\Microsoft_C++\VS2010
Source: Microsoft_C++\VS2010\stdafx.h; DestDir: {app}\Microsoft_C++\VS2010
Source: Microsoft_C++\VS2010\targetver.h; DestDir: {app}\Microsoft_C++\VS2010
Source: Microsoft_C++\VS11\GetWMI_Info.sln; DestDir: {app}\Microsoft_C++\VS11
Source: Microsoft_C++\VS11\GetWMI_Info.vcxproj; DestDir: {app}\Microsoft_C++\VS11
Source: Microsoft_C++\VS11\stdafx.cpp; DestDir: {app}\Microsoft_C++\VS11
Source: Microsoft_C++\VS11\stdafx.h; DestDir: {app}\Microsoft_C++\VS11
Source: Microsoft_C++\VS11\targetver.h; DestDir: {app}\Microsoft_C++\VS11
Source: Microsoft_C++\VS13\GetWMI_Info.sln; DestDir: {app}\Microsoft_C++\VS13
Source: Microsoft_C++\VS13\GetWMI_Info.vcxproj; DestDir: {app}\Microsoft_C++\VS13
Source: Microsoft_C++\VS13\stdafx.cpp; DestDir: {app}\Microsoft_C++\VS13
Source: Microsoft_C++\VS13\stdafx.h; DestDir: {app}\Microsoft_C++\VS13
Source: Microsoft_C++\VS13\targetver.h; DestDir: {app}\Microsoft_C++\VS13
Source: Microsoft_C++\VS14\GetWMI_Info.sln; DestDir: {app}\Microsoft_C++\VS14
Source: Microsoft_C++\VS14\GetWMI_Info.vcxproj; DestDir: {app}\Microsoft_C++\VS14
Source: Microsoft_C++\VS14\stdafx.cpp; DestDir: {app}\Microsoft_C++\VS14
Source: Microsoft_C++\VS14\stdafx.h; DestDir: {app}\Microsoft_C++\VS14
Source: Microsoft_C++\VS14\targetver.h; DestDir: {app}\Microsoft_C++\VS14
Source: Styles\Amakrits.vsf; DestDir: {app}\Styles\; Flags: ignoreversion
Source: Styles\AmethystKamri.vsf; DestDir: {app}\Styles\; Flags: ignoreversion
Source: Styles\AquaGraphite.vsf; DestDir: {app}\Styles\; Flags: ignoreversion
Source: Styles\AquaLightSlate.vsf; DestDir: {app}\Styles\; Flags: ignoreversion
Source: Styles\Auric.vsf; DestDir: {app}\Styles\; Flags: ignoreversion
Source: Styles\BlueGraphite.vsf; DestDir: {app}\Styles\; Flags: ignoreversion
Source: Styles\Carbon.vsf; DestDir: {app}\Styles\; Flags: ignoreversion
Source: Styles\CharcoalDarkSlate.vsf; DestDir: {app}\Styles\; Flags: ignoreversion
Source: Styles\CobaltXEMedia.vsf; DestDir: {app}\Styles\; Flags: ignoreversion
Source: Styles\EmeraldLightSlate.vsf; DestDir: {app}\Styles\; Flags: ignoreversion
Source: Styles\Glossy.vsf; DestDir: {app}\Styles\; Flags: ignoreversion
Source: Styles\Glow.vsf; DestDir: {app}\Styles\; Flags: ignoreversion
Source: Styles\GoldenGraphite.vsf; DestDir: {app}\Styles\; Flags: ignoreversion
Source: Styles\GreenGraphite.vsf; DestDir: {app}\Styles\; Flags: ignoreversion
Source: Styles\IcebergClassico.vsf; DestDir: {app}\Styles\; Flags: ignoreversion
Source: Styles\khaki.vsf; DestDir: {app}\Styles\; Flags: ignoreversion
Source: Styles\LavenderClassico.vsf; DestDir: {app}\Styles\; Flags: ignoreversion
Source: Styles\Light.vsf; DestDir: {app}\Styles\; Flags: ignoreversion
Source: Styles\LightGreen.vsf; DestDir: {app}\Styles\; Flags: ignoreversion
Source: Styles\lilac.vsf; DestDir: {app}\Styles\; Flags: ignoreversion
Source: Styles\Luna.vsf; DestDir: {app}\Styles\; Flags: ignoreversion
Source: Styles\Metro Grey.vsf; DestDir: {app}\Styles\; Flags: ignoreversion
Source: Styles\MetroBlack.vsf; DestDir: {app}\Styles\; Flags: ignoreversion
Source: Styles\MetroBlue.vsf; DestDir: {app}\Styles\; Flags: ignoreversion
Source: Styles\MetroGreen.vsf; DestDir: {app}\Styles\; Flags: ignoreversion
Source: Styles\OnyxBlue.vsf; DestDir: {app}\Styles\; Flags: ignoreversion
Source: Styles\RubyGraphite.vsf; DestDir: {app}\Styles\; Flags: ignoreversion
Source: Styles\SapphireKamri.vsf; DestDir: {app}\Styles\; Flags: ignoreversion
Source: Styles\Sky.vsf; DestDir: {app}\Styles\; Flags: ignoreversion
Source: Styles\SlateClassico.vsf; DestDir: {app}\Styles\; Flags: ignoreversion
Source: Styles\SmokeyQuartzKamri.vsf; DestDir: {app}\Styles\; Flags: ignoreversion
Source: Styles\TabletDark.vsf; DestDir: {app}\Styles\; Flags: ignoreversion
Source: Styles\TurquoiseGray.vsf; DestDir: {app}\Styles\; Flags: ignoreversion
Source: Styles\Windows10.vsf; DestDir: {app}\Styles\; Flags: ignoreversion
Source: Styles\Windows10Blue.vsf; DestDir: {app}\Styles\; Flags: ignoreversion
Source: Styles\Windows10Dark.vsf; DestDir: {app}\Styles\; Flags: ignoreversion
Source: Styles\YellowGraphite.vsf; DestDir: {app}\Styles\; Flags: ignoreversion
Source: CSharp\VS11\Properties\AssemblyInfo.cs; DestDir: {app}\CSharp\VS11\Properties
Source: CSharp\VS11\GetWMI_Info.csproj; DestDir: {app}\CSharp\VS11
Source: CSharp\VS11\GetWMI_Info.sln; DestDir: {app}\CSharp\VS11
Source: CSharp\VS13\Properties\AssemblyInfo.cs; DestDir: {app}\CSharp\VS13\Properties
Source: CSharp\VS13\GetWMI_Info.csproj; DestDir: {app}\CSharp\VS13
Source: CSharp\VS13\GetWMI_Info.sln; DestDir: {app}\CSharp\VS13
Source: CSharp\VS14\Properties\AssemblyInfo.cs; DestDir: {app}\CSharp\VS14\Properties
Source: CSharp\VS14\GetWMI_Info.csproj; DestDir: {app}\CSharp\VS14
Source: CSharp\VS14\GetWMI_Info.sln; DestDir: {app}\CSharp\VS14
Source: CSharp\VS2005\Properties\AssemblyInfo.cs; DestDir: {app}\CSharp\VS2005\Properties
Source: CSharp\VS2005\GetWMI_Info.csproj; DestDir: {app}\CSharp\VS2005
Source: CSharp\VS2005\GetWMI_Info.sln; DestDir: {app}\CSharp\VS2005
Source: CSharp\VS2008\Properties\AssemblyInfo.cs; DestDir: {app}\CSharp\VS2008\Properties
Source: CSharp\VS2008\GetWMI_Info.csproj; DestDir: {app}\CSharp\VS2008
Source: CSharp\VS2008\GetWMI_Info.sln; DestDir: {app}\CSharp\VS2008
Source: CSharp\VS2010\Properties\AssemblyInfo.cs; DestDir: {app}\CSharp\VS2010\Properties
Source: CSharp\VS2010\GetWMI_Info.csproj; DestDir: {app}\CSharp\VS2010
Source: CSharp\VS2010\GetWMI_Info.sln; DestDir: {app}\CSharp\VS2010
Source: AStyle\bin\AStyle.exe; DestDir: {app}\AStyle\bin
Source: AStyle\doc\astyle.html; DestDir: {app}\AStyle\doc
Source: AStyle\doc\index.html; DestDir: {app}\AStyle\doc
Source: AStyle\doc\install.html; DestDir: {app}\AStyle\doc
Source: AStyle\doc\license.html; DestDir: {app}\AStyle\doc
Source: AStyle\doc\links.html; DestDir: {app}\AStyle\doc
Source: AStyle\doc\news.html; DestDir: {app}\AStyle\doc
Source: Templates\Template_Oxygen.pas; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\Template_MicrosoftCpp.cpp; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\Template_FPC.pas; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\Template_Delphi.pas; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\Template_Csharp.cs; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\Template_BorlandCpp.cpp; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\TemplateStaticMethodInvokerOxygen.pas; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\TemplateStaticMethodInvokerMicrosoftCPP.cpp; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\TemplateStaticMethodInvokerFPC.pas; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\TemplateStaticMethodInvokerDelphi_TLB.pas; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\TemplateStaticMethodInvokerDelphi_COM.pas; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\TemplateStaticMethodInvokerDelphi.pas; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\TemplateStaticMethodInvokerCSharp.cs; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\TemplateStaticMethodInvokerBorlandCPP.cpp; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\Templates.xml; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\TemplateNonStaticMethodInvokerOxygen.pas; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\TemplateNonStaticMethodInvokerFPC.pas; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\TemplateNonStaticMethodInvokerDelphi_TLB.pas; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\TemplateNonStaticMethodInvokerDelphi_COM.pas; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\TemplateNonStaticMethodInvokerDelphi.pas; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\TemplateNonStaticMethodInvokerCSharp.cs; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\TemplateNonStaticMethodInvokerBorlandCPP.cpp; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\TemplateEventsOxygen.pas; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\TemplateEventsMicrosoft.cpp; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\TemplateEventsFPC.pas; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\TemplateEventsDelphi_COM.pas; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\TemplateEventsDelphiLate.pas; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\TemplateEventsDelphi.pas; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\TemplateEventsCSharp.cs; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\TemplateEventsBorlandCpp.cpp; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\TemplateConsoleAppOxygen.pas; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\TemplateConsoleAppMicrosoftCPP.cpp; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\TemplateConsoleAppFPCSingleton.pas; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\TemplateConsoleAppFPC.pas; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\TemplateConsoleAppDelphi_TLB.pas; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\TemplateConsoleAppDelphi_COM.pas; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\TemplateConsoleAppDelphiSingleton_TLB.pas; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\TemplateConsoleAppDelphiSingleton.pas; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\TemplateConsoleAppDelphi.pas; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\TemplateConsoleAppCSharp.cs; DestDir: {app}\Templates\; Flags: ignoreversion
Source: Templates\TemplateConsoleAppBorlandCPP.cpp; DestDir: {app}\Templates\; Flags: ignoreversion
Source: AStyle\doc\notes.html; DestDir: {app}\AStyle\doc
Source: AStyle\doc\scripts.html; DestDir: {app}\AStyle\doc
Source: AStyle\doc\styles.css; DestDir: {app}\AStyle\doc
Source: AStyle\doc\subversion.html; DestDir: {app}\AStyle\doc
Source: AStyle\doc\vsinstall.html; DestDir: {app}\AStyle\doc
Source: Templates\TemplateConsoleAppBorlandCPP.cpp; DestDir: {app}; Flags: dontcopy
Source: Installer\background.bmp; Flags: dontcopy
Source: Installer\VclStylesInno.dll; DestDir: {app}; Flags: dontcopy
Source: Updater\DownloadInfo.xml; DestDir: {app}\Updater
Source: Updater\libeay32.dll; DestDir: {app}\Updater
Source: Updater\ssleay32.dll; DestDir: {app}\Updater
Source: Updater\Updater.exe; DestDir: {app}\Updater
[Setup]
UsePreviousLanguage=no
AppName={#MyAppName}
AppVerName={#MyAppName} {#MyAppVersion}
VersionInfoVersion={#MyAppVersion}
AppPublisher=Octopus Software
AppPublisherURL=http://octopus.software/
AppSupportURL=https://github.com/RRUZ/wmi-delphi-code-creator/issues
AppUpdatesURL=https://github.com/RRUZ/wmi-delphi-code-creator
;DefaultDialogFontName=Calibri
DefaultDirName={pf}\The Road To Delphi\Wmi Delphi Code Creator
OutputBaseFileName=Setup_WmiDelphiCodeCreator
DisableDirPage=true
Compression=lzma
SolidCompression=true
UsePreviousAppDir=false
AppendDefaultDirName=true
PrivilegesRequired=admin
WindowVisible=false
WizardSmallImageFile=compiler:WizModernSmallImage-IS.bmp
;WizardSmallImageFile=Extras\SmallImage-IS.bmp
WizardImageFile=Extras\LeftBackground.bmp
AppContact=theroadtodelphi@gmail.com
DisableProgramGroupPage=false
AppID=WmiDelphiCodeCreator
SetupIconFile=Images\Icon.ico
DefaultGroupName=WMI Delphi Code Creator
;MinVersion=
[Run]
Filename: {app}\WDCC.exe; Description: {cm:LaunchProgram,{#MyAppName}}; Flags: nowait postinstall skipifsilent runascurrentuser
[Languages]
Name: english; MessagesFile: compiler:Default.isl
;Name: basque; MessagesFile: compiler:Languages\Basque.isl
Name: brazilianportuguese; MessagesFile: compiler:Languages\BrazilianPortuguese.isl
Name: catalan; MessagesFile: compiler:Languages\Catalan.isl
Name: czech; MessagesFile: compiler:Languages\Czech.isl
Name: danish; MessagesFile: compiler:Languages\Danish.isl
Name: dutch; MessagesFile: compiler:Languages\Dutch.isl
Name: finnish; MessagesFile: compiler:Languages\Finnish.isl
Name: french; MessagesFile: compiler:Languages\French.isl
Name: german; MessagesFile: compiler:Languages\German.isl
Name: hebrew; MessagesFile: compiler:Languages\Hebrew.isl
Name: hungarian; MessagesFile: compiler:Languages\Hungarian.isl
Name: italian; MessagesFile: compiler:Languages\Italian.isl
Name: japanese; MessagesFile: compiler:Languages\Japanese.isl
Name: norwegian; MessagesFile: compiler:Languages\Norwegian.isl
Name: polish; MessagesFile: compiler:Languages\Polish.isl
Name: portuguese; MessagesFile: compiler:Languages\Portuguese.isl
Name: russian; MessagesFile: compiler:Languages\Russian.isl
;Name: slovak; MessagesFile: compiler:Languages\Slovak.isl
Name: slovenian; MessagesFile: compiler:Languages\Slovenian.isl
Name: spanish; MessagesFile: compiler:Languages\Spanish.isl
[Code]
// Import the LoadVCLStyle function from VclStylesInno.DLL
procedure LoadVCLStyle(VClStyleFile: String); external 'LoadVCLStyleW@files:VclStylesInno.dll stdcall';
// Import the UnLoadVCLStyles function from VclStylesInno.DLL
procedure UnLoadVCLStyles; external 'UnLoadVCLStyles@files:VclStylesInno.dll stdcall';
function GetUninstallString(): String;
var
sUnInstPath: String;
sUnInstallString: String;
begin
sUnInstPath := ExpandConstant('Software\Microsoft\Windows\CurrentVersion\Uninstall\{#emit SetupSetting("AppId")}_is1');
sUnInstallString := '';
if not RegQueryStringValue(HKLM, sUnInstPath, 'UninstallString', sUnInstallString) then
RegQueryStringValue(HKCU, sUnInstPath, 'UninstallString', sUnInstallString);
Result := sUnInstallString;
end;
function IsUpgrade(): Boolean;
begin
Result := (GetUninstallString() <> '');
end;
function UnInstallOldVersion(): Integer;
var
sUnInstallString: String;
iResultCode: Integer;
begin
Result := 0;
sUnInstallString := GetUninstallString();
if sUnInstallString <> '' then begin
sUnInstallString := RemoveQuotes(sUnInstallString);
if Exec(sUnInstallString, '/SILENT /NORESTART /SUPPRESSMSGBOXES','', SW_HIDE, ewWaitUntilTerminated, iResultCode) then
Result := 3
else
Result := 2;
end else
Result := 1;
end;
procedure BitmapImageOnClick(Sender: TObject);
var
ErrorCode : Integer;
begin
ShellExec('open', 'https://github.com/RRUZ/wmi-delphi-code-creator', '', '', SW_SHOWNORMAL, ewNoWait, ErrorCode);
end;
procedure CreateWizardPages;
var
Page: TWizardPage;
BitmapImage: TBitmapImage;
BitmapFileName: String;
begin
BitmapFileName := ExpandConstant('{tmp}\background.bmp');
ExtractTemporaryFile(ExtractFileName(BitmapFileName));
{ TBitmapImage }
Page := CreateCustomPage(wpInstalling, 'Contributions',
'If you want show your appreciation for this project. Go to the code google page, login with you google account and star the project.');
BitmapImage := TBitmapImage.Create(Page);
BitmapImage.AutoSize := True;
BitmapImage.Left := 0;
BitmapImage.Top := 0;
BitmapImage.Bitmap.LoadFromFile(BitmapFileName);
BitmapImage.Cursor := crHand;
BitmapImage.OnClick := @BitmapImageOnClick;
BitmapImage.Parent := Page.Surface;
BitmapImage.Align:=alCLient;
BitmapImage.Stretch:=True;
end;
procedure InitializeWizard();
begin
//CreateWizardPages;
end;
function InitializeSetup(): Boolean;
begin
ExtractTemporaryFile('glow.vsf');
LoadVCLStyle(ExpandConstant('{tmp}\glow.vsf'));
Result := True;
end;
procedure DeinitializeSetup();
begin
UnLoadVCLStyles;
end;
procedure CurStepChanged(CurStep: TSetupStep);
begin
if (CurStep=ssInstall) then
begin
if (IsUpgrade()) then
begin
UnInstallOldVersion();
end;
end;
end;
[Dirs]
Name: {app}\Themes
Name: {app}\Cache
Name: {app}\Extras
Name: {app}\Lazarus
Name: {app}\Oxygene
Name: {app}\Oxygene\MonoDevelop
Name: {app}\Oxygene\MonoDevelop\Properties
Name: {app}\Oxygene\VS2008
Name: {app}\Oxygene\VS2008\Properties
Name: {app}\Oxygene\VS2010
Name: {app}\Oxygene\VS2010\Properties
Name: {app}\Delphi
Name: {app}\Microsoft_C++
Name: {app}\Microsoft_C++\VS2008
Name: {app}\Microsoft_C++\VS2010
Name: {app}\Styles
Name: {app}\Microsoft_C++\VS11
Name: {app}\Microsoft_C++\VS14
Name: {app}\CSharp
Name: {app}\CSharp\VS14
Name: {app}\CSharp\VS14\Properties
Name: {app}\CSharp\VS11
Name: {app}\CSharp\VS11\Properties
Name: {app}\CSharp\VS2008
Name: {app}\CSharp\VS2010
Name: {app}\AStyle
Name: {app}\AStyle\bin
Name: {app}\AStyle\doc
Name: {app}\Templates
Name: {app}\Templates\
Name: {app}\Updater
[Icons]
Name: {group}\Wmi Delphi Code Creator; Filename: {app}\WDCC.exe; WorkingDir: {app}
Name: {userdesktop}\Wmi Delphi Code Creator; Filename: {app}\WDCC.exe; WorkingDir: {app}