aboutsummaryrefslogtreecommitdiff
path: root/packages/win32_inno/pd-inno.iss.in
blob: bd5d8018298b8903e5b224fb446d80b67379f7f1 (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
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
;
;
; This file is a template with packages/win32_inno/Makefile turns
; into a proper .iss ISTool/Inno Setup file.  <hans@at.or.at>
;
;

[Setup]
AppName=pd
AppVerName=Pd-PD_VERSION
AppPublisher=puredata.info
AppPublisherURL=http://puredata.org
AppSupportURL=http://puredata.org/community/lists/
AppUpdatesURL=http://puredata.org/downloads/
DefaultDirName={pf}\pd
DefaultGroupName=Pd-extended
LicenseFile=..\gpl-3.0.txt

Compression=lzma/ultra
ChangesAssociations=true
OutputBaseFilename=PACKAGE_NAME
AppCopyright=GNU GPL
[Tasks]
; NOTE: The following entry contains English phrases ("Create a desktop icon" and "Additional icons"). You are free to translate them into another language if required.
Name: desktopicon; Description: Create a &desktop icon; GroupDescription: Additional icons:; Flags: unchecked
; NOTE: The following entry contains English phrases ("Create a Quick Launch icon" and "Additional icons"). You are free to translate them into another language if required.
Name: quicklaunchicon; Description: Create a &Quick Launch icon; GroupDescription: Additional icons:; Flags: unchecked
Name: fileassociations; Description: Reset File Associations
Name: libs; Description: Reset Libraries and Paths

[INI]
Filename: {app}\pd.url; Section: InternetShortcut; Key: URL; String: http://puredata.info
Filename: {app}\asio4all.url; Section: InternetShortcut; Key: URL; String: http://asio4all.com
Filename: {app}\puredata.url; Section: InternetShortcut; Key: URL; String: http://en.flossmanuals.net/puredata
Filename: {app}\techniques.url; Section: InternetShortcut; Key: URL; String: http://crca.ucsd.edu/~msp/techniques.htm
Filename: {app}\pd-tutorial.url; Section: InternetShortcut; Key: URL; String: http://www.pd-tutorial.com/

[Icons]
Name: {group}\Pd-extended; Filename: {app}\bin\pd.exe; IconFilename: {app}\lib\pd.ico; IconIndex: 0; WorkingDir: {app}
Name: {group}\puredata.org; Filename: {app}\pd.url
Name: {group}\ASIO4ALL; Filename: {app}\asio4all.url
Name: {group}\Uninstall Pd-extended; Filename: {uninstallexe}
Name: {userdesktop}\Pd-extended; Filename: {app}\bin\pd.exe; Tasks: desktopicon; IconFilename: {app}\lib\pd.ico; IconIndex: 0; WorkingDir: {app}
Name: {userappdata}\Microsoft\Internet Explorer\Quick Launch\Pd-extended; Filename: {app}\bin\pd.exe; Tasks: quicklaunchicon; WorkingDir: {app}; IconFilename: {app}\lib\pd.ico; IconIndex: 0
Name: {group}\Documentation\Pd Manual; Filename: {app}\doc\1.manual\index.htm
Name: {group}\Documentation\Pd Drums Tutorial; Filename: {app}\doc\tutorials\footils\pddrums\pddrums.html
Name: {group}\Documentation\Pure Data FLOSSmanual; Filename: {app}\puredata.url
Name: {group}\Documentation\Programming Electronic Music in Pd; Filename: {app}\pd-tutorial.url
Name: {group}\Documentation\Theory and Techniques of Electronic Music; Filename: {app}\techniques.url
;-----------------------------------------------------------------------------
; GRIPD
#ifexist "build\gripd\gripd.exe"
Name: {group}\GrIPD; Filename: {app}\gripd\gripd.exe
#endif


[Run]
; NOTE: The following entry contains an English phrase ("Launch"). You are free to translate it into another language if required.
;Filename: {app}\bin\pd.exe; Description: Launch Pd-extended; Flags: nowait postinstall skipifsilent
; failed attempt at getting this url to open after the install is complete
;Filename: rundll32 url.dll,FileProtocolHandler http://asio4all.com; Description: open ASIO4ALL website; Flags: nowait postinstall skipifsilent

[UninstallDelete]
Type: files; Name: {app}\pd.url
Type: files; Name: {app}\asio4all.url
Type: files; Name: {app}\puredata.url
Type: files; Name: {app}\pd-tutorial.url
Type: files; Name: {app}\techniques.url

[Registry]
Root: HKCR; SubKey: Pure.Data; ValueType: dword; ValueName: EditFlags; ValueData: $00000000; Flags: noerror uninsdeletekey; Tasks: fileassociations
Root: HKCR; SubKey: Pure.Data; ValueType: dword; ValueName: BrowserFlags; ValueData: $00000008; Flags: uninsdeletekey noerror; Tasks: fileassociations
Root: HKCR; SubKey: Pure.Data; ValueType: string; ValueData: Pure Data; Flags: uninsdeletekey noerror; Tasks: fileassociations
Root: HKCR; SubKey: Pure.Data\DefaultIcon; ValueType: string; ValueData: {app}\lib\pdpatch.ico,0; Flags: createvalueifdoesntexist noerror; Tasks: fileassociations
Root: HKCR; SubKey: Pure.Data\shell; ValueType: string; ValueData: open; Flags: noerror uninsdeletekey; Tasks: fileassociations
Root: HKCR; SubKey: Pure.Data\shell\open\command; ValueType: string; ValueData: """{app}\bin\wish85.exe"" ""{app}\tcl\pd-gui.tcl"" -open ""%1"""; Flags: uninsdeletekey noerror; Tasks: fileassociations
Root: HKCR; SubKey: .pd; ValueType: string; ValueData: Pure.Data; Flags: noerror uninsdeletekey; Tasks: fileassociations
Root: HKCR; SubKey: .pd; ValueType: string; ValueName: Content Type; ValueData: text/plain; Flags: noerror uninsdeletekey; Tasks: fileassociations
;
; STARTHERE: add pd-inno_registry after this comment:

Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: string; ValueName: flags; ValueData: ; Tasks: libs; Flags: uninsdeletekey
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: string; ValueName: loadlib1; ValueData: Gem; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: string; ValueName: loadlib2; ValueData: cyclone; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: string; ValueName: loadlib3; ValueData: zexy; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: string; ValueName: loadlib4; ValueData: creb; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: string; ValueName: loadlib5; ValueData: cxc; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: string; ValueName: loadlib6; ValueData: iemlib; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: string; ValueName: loadlib7; ValueData: list-abs; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: string; ValueName: loadlib8; ValueData: mapping; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: string; ValueName: loadlib9; ValueData: markex; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: string; ValueName: loadlib10; ValueData: maxlib; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: string; ValueName: loadlib11; ValueData: mjlib; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: string; ValueName: loadlib12; ValueData: motex; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: string; ValueName: loadlib13; ValueData: oscx; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: string; ValueName: loadlib14; ValueData: pddp; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: string; ValueName: loadlib15; ValueData: pdogg; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: string; ValueName: loadlib16; ValueData: pmpd; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: string; ValueName: loadlib17; ValueData: sigpack; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: string; ValueName: loadlib18; ValueData: smlib; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: string; ValueName: loadlib19; ValueData: unauthorized; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: string; ValueName: loadlib20; ValueData: pan; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: string; ValueName: loadlib21; ValueData: hcs; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: string; ValueName: loadlib22; ValueData: jmmmp; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: string; ValueName: loadlib23; ValueData: ext13; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: string; ValueName: loadlib24; ValueData: ggee; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: string; ValueName: loadlib25; ValueData: iem_anything; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: string; ValueName: loadlib26; ValueData: ekext; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: string; ValueName: loadlib27; ValueData: flatgui; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: string; ValueName: loadlib28; ValueData: chaos; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: string; ValueName: loadlib29; ValueData: zexy/0x260x260x7e; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: string; ValueName: loadlib30; ValueData: zexy/0x2e; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: string; ValueName: loadlib31; ValueData: zexy/0x3c0x7e; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: string; ValueName: loadlib32; ValueData: zexy/0x3d0x3d0x7e; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: string; ValueName: loadlib33; ValueData: zexy/0x3e0x7e; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: string; ValueName: loadlib34; ValueData: zexy/0x7c0x7c0x7e; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: string; ValueName: nloadlib; ValueData: 34; Tasks: libs; Flags: uninsdeletekey
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib35; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib36; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib37; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib38; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib39; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib40; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib41; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib42; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib43; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib44; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib45; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib46; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib47; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib48; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib49; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib50; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib51; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib52; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib53; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib54; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib55; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib56; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib57; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib58; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib59; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib60; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib61; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib62; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib63; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib64; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib65; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib66; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib67; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib68; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib69; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib70; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib71; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib72; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib73; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib74; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib75; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib76; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib77; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib78; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib79; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib80; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib81; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib82; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib83; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib84; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib85; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib86; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib87; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib88; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib89; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib90; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib91; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib92; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib93; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib94; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib95; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib96; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib97; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib98; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib99; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: loadlib100; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: expandsz; ValueName: path1; ValueData: %SystemRoot%/Fonts; Tasks: libs; Flags: uninsdeletekey
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: string; ValueName: npath; ValueData: 1; Tasks: libs; Flags: uninsdeletekey
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path2; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path3; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path4; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path5; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path6; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path7; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path8; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path9; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path10; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path11; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path12; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path13; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path14; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path15; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path16; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path17; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path18; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path19; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path20; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path21; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path22; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path23; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path24; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path25; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path26; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path27; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path28; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path29; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path30; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path31; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path32; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path33; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path34; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path35; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path36; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path37; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path38; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path39; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path40; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path41; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path42; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path43; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path44; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path45; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path46; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path47; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path48; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path49; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path50; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path51; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path52; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path53; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path54; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path55; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path56; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path57; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path58; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path59; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path60; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path61; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path62; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path63; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path64; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path65; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path66; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path67; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path68; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path69; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path70; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path71; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path72; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path73; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path74; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path75; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path76; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path77; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path78; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path79; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path80; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path81; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path82; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path83; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path84; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path85; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path86; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path87; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path88; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path89; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path90; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path91; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path92; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path93; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path94; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path95; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path96; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path97; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path98; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path99; Flags: deletevalue; Tasks: libs
Root: HKLM; SubKey: SOFTWARE\Pd-extended; ValueType: none; ValueName: path100; Flags: deletevalue; Tasks: libs
; ENDHERE: add pd-inno_registry before this comment:

[_ISTool]
Use7zip=true
OutputExeFilename=Output\PACKAGE_NAME.exe

[Files]
; commented out lines have no files, so they give an error
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
;
;
;-----------------------------------------------------------------------------
; packages\win32_inno
Source: pdpatch.ico; DestDir: {app}\lib
Source: pd.ico; DestDir: {app}\lib
Source: pd.ico; DestDir: {app}\tcl
;
;
;-----------------------------------------------------------------------------
; put pdsend and pdreceive in the System dir so that they are in the path
;
Source: build\bin\pdsend.exe; DestDir: {sys}; Flags: confirmoverwrite promptifolder
Source: build\bin\pdreceive.exe; DestDir: {sys}; Flags: confirmoverwrite promptifolder
; add Cyclone's cyclist.exe if it is present
#ifexist "build\bin\cyclist.exe"
Source: build\bin\cyclist.exe; DestDir: {sys}; Flags: confirmoverwrite promptifolder
#endif
;
;
;-----------------------------------------------------------------------------
; MinGW Files
; these are some helpful utilities from MinGW
;
; start.exe - like Mac OS X's 'open' command, allows you to open files and
; URLs from the command line
;Source: C:\msys\1.0\bin\start.exe; DestDir: {sys}; Flags: confirmoverwrite
;
;
;-----------------------------------------------------------------------------
; DejaVu Sans Mono Font Files
; the files needed for the Pd-0.39.2-extended default font
Source: fonts/DejaVuSans-BoldOblique.ttf; DestDir: {fonts}; Flags: onlyifdoesntexist uninsneveruninstall; FontInstall: Deja Vu Sans Bold Oblique
Source: fonts/DejaVuSans-Bold.ttf; DestDir: {fonts}; Flags: onlyifdoesntexist uninsneveruninstall; FontInstall: Deja Vu Sans Bold
Source: fonts/DejaVuSansCondensed-BoldOblique.ttf; DestDir: {fonts}; Flags: onlyifdoesntexist uninsneveruninstall; FontInstall: Deja Vu Sans Condensed Bold Oblique
Source: fonts/DejaVuSansCondensed-Bold.ttf; DestDir: {fonts}; Flags: onlyifdoesntexist uninsneveruninstall; FontInstall: Deja Vu Sans Condensed Bold
Source: fonts/DejaVuSansCondensed-Oblique.ttf; DestDir: {fonts}; Flags: onlyifdoesntexist uninsneveruninstall; FontInstall: Deja Vu Sans Condensed Oblique
Source: fonts/DejaVuSansCondensed.ttf; DestDir: {fonts}; Flags: onlyifdoesntexist uninsneveruninstall; FontInstall: Deja Vu Sans Condensed
Source: fonts/DejaVuSans-ExtraLight.ttf; DestDir: {fonts}; Flags: onlyifdoesntexist uninsneveruninstall; FontInstall: Deja Vu Sans Extra Light
Source: fonts/DejaVuSansMono-BoldOblique.ttf; DestDir: {fonts}; Flags: onlyifdoesntexist uninsneveruninstall; FontInstall: Deja Vu Sans Mono BoldOblique
Source: fonts/DejaVuSansMono-Bold.ttf; DestDir: {fonts}; Flags: onlyifdoesntexist uninsneveruninstall; FontInstall: Deja Vu Sans Mono Bold
Source: fonts/DejaVuSansMono-Oblique.ttf; DestDir: {fonts}; Flags: onlyifdoesntexist uninsneveruninstall; FontInstall: Deja Vu Sans Mono Oblique
Source: fonts/DejaVuSansMono.ttf; DestDir: {fonts}; Flags: onlyifdoesntexist uninsneveruninstall; FontInstall: Deja Vu Sans Mono
Source: fonts/DejaVuSans-Oblique.ttf; DestDir: {fonts}; Flags: onlyifdoesntexist uninsneveruninstall; FontInstall: Deja Vu Sans Oblique
Source: fonts/DejaVuSans.ttf; DestDir: {fonts}; Flags: onlyifdoesntexist uninsneveruninstall; FontInstall: Deja Vu Sans
Source: fonts/DejaVuSerif-BoldItalic.ttf; DestDir: {fonts}; Flags: onlyifdoesntexist uninsneveruninstall; FontInstall: Deja Vu Serif Bold Italic
Source: fonts/DejaVuSerif-Bold.ttf; DestDir: {fonts}; Flags: onlyifdoesntexist uninsneveruninstall; FontInstall: Deja Vu Serif Bold
Source: fonts/DejaVuSerifCondensed-BoldItalic.ttf; DestDir: {fonts}; Flags: onlyifdoesntexist uninsneveruninstall; FontInstall: Deja Vu Serif Condensed BoldItalic
Source: fonts/DejaVuSerifCondensed-Bold.ttf; DestDir: {fonts}; Flags: onlyifdoesntexist uninsneveruninstall; FontInstall: Deja Vu Serif Condensed Bold
Source: fonts/DejaVuSerifCondensed-Italic.ttf; DestDir: {fonts}; Flags: onlyifdoesntexist uninsneveruninstall; FontInstall: Deja Vu Serif Condensed Italic
Source: fonts/DejaVuSerifCondensed.ttf; DestDir: {fonts}; Flags: onlyifdoesntexist uninsneveruninstall; FontInstall: Deja Vu Serif Condensed
Source: fonts/DejaVuSerif-Italic.ttf; DestDir: {fonts}; Flags: onlyifdoesntexist uninsneveruninstall; FontInstall: Deja Vu Serif Italic
Source: fonts/DejaVuSerif.ttf; DestDir: {fonts}; Flags: onlyifdoesntexist uninsneveruninstall; FontInstall: Deja Vu Serif
;
;
;-----------------------------------------------------------------------------
; build system files
;
;Source: build\doc\manuals\Pd\Welcome.html; DestDir: {app}; Flags: isreadme; Tasks:
Source: build\doc\manuals\Pd\ReadMe.html; DestDir: {app}; Flags: isreadme
;Source: build\doc\manuals\Pd\License.html; DestDir: {app}; Flags: isreadme
;Source: build\doc\manuals\Pd\Pd-LICENSE.txt; DestDir: {app}; Flags: isreadme
Source: build\pd-extended.bat; DestDir: {app}; Flags: ignoreversion
Source: build\bin\*.*; DestDir: {app}\bin; Flags: ignoreversion confirmoverwrite recursesubdirs uninsremovereadonly
Source: build\doc\*.*; DestDir: {app}\doc; Flags: ignoreversion confirmoverwrite recursesubdirs uninsremovereadonly; Attribs: readonly
Source: build\extra\*.*; DestDir: {app}\extra; Flags: ignoreversion recursesubdirs uninsremovereadonly promptifolder; Attribs: readonly
Source: build\include\*.*; DestDir: {app}\include; Flags: ignoreversion confirmoverwrite recursesubdirs uninsremovereadonly
Source: build\lib\*.*; DestDir: {app}\lib; Flags: ignoreversion recursesubdirs
Source: build\po\*.*; DestDir: {app}\po; Flags: ignoreversion confirmoverwrite uninsremovereadonly; Attribs: readonly
Source: build\startup\*.*; DestDir: {app}\startup; Flags: ignoreversion recursesubdirs confirmoverwrite uninsremovereadonly promptifolder; Attribs: readonly
Source: build\tcl\*.*; DestDir: {app}\tcl; Flags: ignoreversion confirmoverwrite uninsremovereadonly; Attribs: readonly
;
; put all extra media in the main media for easy finding, same as doc/Makefile's make media_install for other platforms
;
Source: build\doc\sound\bell.aiff; DestDir: {app}\doc\media; Flags: ignoreversion confirmoverwrite uninsremovereadonly; Attribs: readonly
Source: build\doc\sound\voice.wav; DestDir: {app}\doc\media; Flags: ignoreversion confirmoverwrite uninsremovereadonly; Attribs: readonly
Source: build\doc\sound\voice2.wav; DestDir: {app}\doc\media; Flags: ignoreversion confirmoverwrite uninsremovereadonly; Attribs: readonly
Source: build\extra\bsaylor\examples\noiseburst.wav; DestDir: {app}\doc\media; Flags: ignoreversion confirmoverwrite uninsremovereadonly; Attribs: readonly
Source: build\extra\ekext\examples\stink.wav; DestDir: {app}\doc\media; Flags: ignoreversion confirmoverwrite uninsremovereadonly; Attribs: readonly
Source: build\extra\ekext\examples\beauty.wav; DestDir: {app}\doc\media; Flags: ignoreversion confirmoverwrite uninsremovereadonly; Attribs: readonly
Source: build\extra\ekext\examples\drummach.wav; DestDir: {app}\doc\media; Flags: ignoreversion confirmoverwrite uninsremovereadonly; Attribs: readonly
#ifexist "build\extra\Gem\examples\data\alea.mpg"
Source: build\extra\Gem\examples\data\alea.mpg; DestDir: {app}\doc\media; Flags: ignoreversion confirmoverwrite uninsremovereadonly; Attribs: readonly
Source: build\extra\Gem\examples\data\homer.avi; DestDir: {app}\doc\media; Flags: ignoreversion confirmoverwrite uninsremovereadonly; Attribs: readonly
Source: build\extra\Gem\examples\data\anim-1.mov; DestDir: {app}\doc\media; Flags: ignoreversion confirmoverwrite uninsremovereadonly; Attribs: readonly
#endif
;
; DLLs
;
Source: build\lib*.dll; DestDir: {sys}; Flags: restartreplace confirmoverwrite sharedfile
Source: build\pthread*.dll; DestDir: {sys}; Flags: restartreplace confirmoverwrite sharedfile
#ifexist "build\msvcp71.dll"
Source: build\msvcp71.dll; DestDir: {sys}; Flags: restartreplace uninsneveruninstall sharedfile
#endif
#ifexist "build\msvcr71.dll"
Source: build\msvcr71.dll; DestDir: {sys}; Flags: restartreplace uninsneveruninstall sharedfile
#endif
;; build stuff is not included now
;Source: build\portaudio\*.*; DestDir: {app}\portaudio; Flags: ignoreversion recursesubdirs
;Source: build\src\*.*; DestDir: {app}\src; Flags: ignoreversion recursesubdirs
;Source: build\tcl\*.*; DestDir: {app}\tcl; Flags: ignoreversion recursesubdirs

[Code]
function NextButtonClick(CurPageID: Integer): Boolean;
var
  ResultCode: Integer;
begin
  case CurPageID of
    wpReady:
      begin
		if(FileExists(ExpandConstant('{app}\unins000.exe')) AND FileExists(ExpandConstant('{app}\bin\pd.exe'))) then begin
			if MsgBox('Found a previous Version of Pure Data at ' + ExpandConstant('{app} ') + #13#13 'Do you want to uninstall it first? (recommended)', mbConfirmation, MB_YESNO) = idYes then begin
			if not Exec(ExpandConstant('{app}\unins000.exe'), '', '', SW_SHOWNORMAL, ewWaitUntilTerminated, ResultCode) then
            MsgBox('NextButtonClick:' #13#13 'The uninstall file could not be executed. ' + SysErrorMessage(ResultCode) + '.', mbError, MB_OK);
			end;
		end;
        BringToFrontAndRestore();
      end;
  end;

  Result := True;
end;