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
|
#define version_major = 0
#define version_minor = 33
; ToDo
; - Maybe create custom page for the format selection. That for example allows using two columns to use space more effectively.
[Setup]
AllowCancelDuringInstall=no
AllowNoIcons=yes
AllowUNCPath=no
AppId=lavfilters
AppName=LAV Filters
AppVerName=LAV Filters {#=version_major}.{#=version_minor}
AppVersion={#=version_major}.{#=version_minor}
Compression=lzma/ultra
CreateAppDir=yes
DefaultDirName={pf}\LAV Filters
DefaultGroupName=LAV Filters
DisableStartupPrompt=yes
MinVersion=0,5.01SP2
OutputBaseFilename=LAVFilters-{#=version_major}.{#=version_minor}
OutputDir=.
PrivilegesRequired=admin
SolidCompression=yes
Uninstallable=yes
VersionInfoVersion={#=version_major}.{#=version_minor}.0.0
[Messages]
WelcomeLabel1=[name/ver]
WelcomeLabel2=This will install [name] on your computer.%n%nIt is recommended that you close all other applications before continuing.
WinVersionTooLowError=This software only works on Windows XP SP2 and newer.
[Types]
Name: Normal; Description: Normal; Flags: iscustom
[Components]
Name: lavsplitter32; Description: LAV Splitter (x86); Types: Normal;
Name: lavsplitter64; Description: LAV Splitter (x64); Types: Normal; Check: IsWin64;
Name: lavaudio32; Description: LAV Audio (x86); Types: Normal;
Name: lavaudio64; Description: LAV Audio (x64); Types: Normal; Check: IsWin64;
Name: lavvideo32; Description: LAV Video (x86); Types: Normal;
Name: lavvideo64; Description: LAV Video (x64); Types: Normal; Check: IsWin64;
[Tasks]
Name: lavs32_avi; Description: AVI; GroupDescription: "Use LAV Splitter (x86) for these file formats:"; Components: lavsplitter32
Name: lavs32_bluray; Description: Blu-ray; GroupDescription: "Use LAV Splitter (x86) for these file formats:"; Components: lavsplitter32
Name: lavs32_mkv; Description: Matroska; GroupDescription: "Use LAV Splitter (x86) for these file formats:"; Components: lavsplitter32
Name: lavs32_mp4; Description: MP4; GroupDescription: "Use LAV Splitter (x86) for these file formats:"; Components: lavsplitter32
Name: lavs32_ogg; Description: Ogg; GroupDescription: "Use LAV Splitter (x86) for these file formats:"; Components: lavsplitter32
Name: lavs32_flv; Description: FLV; GroupDescription: "Use LAV Splitter (x86) for these file formats:"; Components: lavsplitter32
Name: lavs32_ts; Description: MPEG-TS; GroupDescription: "Use LAV Splitter (x86) for these file formats:"; Components: lavsplitter32
Name: lavs32_ps; Description: MPEG-PS; GroupDescription: "Use LAV Splitter (x86) for these file formats:"; Components: lavsplitter32
Name: lavs32_rm; Description: RealMedia;GroupDescription: "Use LAV Splitter (x86) for these file formats:"; Components: lavsplitter32
Name: lavs32_wtv; Description: WTV; GroupDescription: "Use LAV Splitter (x86) for these file formats:"; Components: lavsplitter32; Flags: unchecked;
Name: lavs32_wmv; Description: WMV; GroupDescription: "Use LAV Splitter (x86) for these file formats:"; Components: lavsplitter32; Flags: unchecked;
Name: lavs32_flac; Description: FLAC; GroupDescription: "Use LAV Splitter (x86) for these file formats:"; Components: lavsplitter32; Flags: unchecked;
Name: lavs32_aac; Description: AAC; GroupDescription: "Use LAV Splitter (x86) for these file formats:"; Components: lavsplitter32; Flags: unchecked;
Name: lavs32_amr; Description: AMR; GroupDescription: "Use LAV Splitter (x86) for these file formats:"; Components: lavsplitter32; Flags: unchecked;
Name: lavs32_wv; Description: WavPack; GroupDescription: "Use LAV Splitter (x86) for these file formats:"; Components: lavsplitter32; Flags: unchecked;
Name: lavs32_mpc; Description: Musepack; GroupDescription: "Use LAV Splitter (x86) for these file formats:"; Components: lavsplitter32; Flags: unchecked;
Name: lavs32_tta; Description: TrueAudio;GroupDescription: "Use LAV Splitter (x86) for these file formats:"; Components: lavsplitter32; Flags: unchecked;
Name: lavs64_avi; Description: AVI; GroupDescription: "Use LAV Splitter (x64) for these file formats:"; Components: lavsplitter64
Name: lavs64_bluray; Description: Blu-ray; GroupDescription: "Use LAV Splitter (x64) for these file formats:"; Components: lavsplitter64
Name: lavs64_mkv; Description: Matroska; GroupDescription: "Use LAV Splitter (x64) for these file formats:"; Components: lavsplitter64
Name: lavs64_mp4; Description: MP4; GroupDescription: "Use LAV Splitter (x64) for these file formats:"; Components: lavsplitter64
Name: lavs64_ogg; Description: Ogg; GroupDescription: "Use LAV Splitter (x64) for these file formats:"; Components: lavsplitter64
Name: lavs64_flv; Description: FLV; GroupDescription: "Use LAV Splitter (x64) for these file formats:"; Components: lavsplitter64
Name: lavs64_ts; Description: MPEG-TS; GroupDescription: "Use LAV Splitter (x64) for these file formats:"; Components: lavsplitter64
Name: lavs64_ps; Description: MPEG-PS; GroupDescription: "Use LAV Splitter (x64) for these file formats:"; Components: lavsplitter64
Name: lavs64_rm; Description: RealMedia;GroupDescription: "Use LAV Splitter (x64) for these file formats:"; Components: lavsplitter64
Name: lavs64_wtv; Description: WTV; GroupDescription: "Use LAV Splitter (x64) for these file formats:"; Components: lavsplitter64; Flags: unchecked;
Name: lavs64_wmv; Description: WMV; GroupDescription: "Use LAV Splitter (x64) for these file formats:"; Components: lavsplitter64; Flags: unchecked;
Name: lavs64_flac; Description: FLAC; GroupDescription: "Use LAV Splitter (x64) for these file formats:"; Components: lavsplitter64; Flags: unchecked;
Name: lavs64_aac; Description: AAC; GroupDescription: "Use LAV Splitter (x64) for these file formats:"; Components: lavsplitter64; Flags: unchecked;
Name: lavs64_amr; Description: AMR; GroupDescription: "Use LAV Splitter (x64) for these file formats:"; Components: lavsplitter64; Flags: unchecked;
Name: lavs64_wv; Description: WavPack; GroupDescription: "Use LAV Splitter (x64) for these file formats:"; Components: lavsplitter64; Flags: unchecked;
Name: lavs64_mpc; Description: Musepack; GroupDescription: "Use LAV Splitter (x64) for these file formats:"; Components: lavsplitter64; Flags: unchecked;
Name: lavs64_tta; Description: TrueAudio;GroupDescription: "Use LAV Splitter (x64) for these file formats:"; Components: lavsplitter64; Flags: unchecked;
Name: lavv_h264; Description: H.264/AVC1; GroupDescription: "Use LAV Video for these codecs:"; Components: lavvideo32 lavvideo64
Name: lavv_vc1; Description: VC-1; GroupDescription: "Use LAV Video for these codecs:"; Components: lavvideo32 lavvideo64; Flags: unchecked;
Name: lavv_mpeg1; Description: MPEG1; GroupDescription: "Use LAV Video for these codecs:"; Components: lavvideo32 lavvideo64
Name: lavv_mpeg2; Description: MPEG2; GroupDescription: "Use LAV Video for these codecs:"; Components: lavvideo32 lavvideo64
Name: lavv_mpeg4; Description: MPEG4; GroupDescription: "Use LAV Video for these codecs:"; Components: lavvideo32 lavvideo64
Name: lavv_msmpeg4; Description: MS-MPEG4; GroupDescription: "Use LAV Video for these codecs:"; Components: lavvideo32 lavvideo64
Name: lavv_vp8; Description: VP8; GroupDescription: "Use LAV Video for these codecs:"; Components: lavvideo32 lavvideo64
Name: lavv_wmv3; Description: WMV3; GroupDescription: "Use LAV Video for these codecs:"; Components: lavvideo32 lavvideo64
Name: lavv_wmv12; Description: WMV1/2; GroupDescription: "Use LAV Video for these codecs:"; Components: lavvideo32 lavvideo64
Name: lavv_mjpeg; Description: M-JPEG; GroupDescription: "Use LAV Video for these codecs:"; Components: lavvideo32 lavvideo64
Name: lavv_theora; Description: Theora; GroupDescription: "Use LAV Video for these codecs:"; Components: lavvideo32 lavvideo64
Name: lavv_flv; Description: Flash Video 1; GroupDescription: "Use LAV Video for these codecs:"; Components: lavvideo32 lavvideo64
Name: lavv_vp6; Description: VP6; GroupDescription: "Use LAV Video for these codecs:"; Components: lavvideo32 lavvideo64
Name: lavv_svq; Description: SVQ 1/3; GroupDescription: "Use LAV Video for these codecs:"; Components: lavvideo32 lavvideo64
Name: lavv_h261; Description: H.261; GroupDescription: "Use LAV Video for these codecs:"; Components: lavvideo32 lavvideo64
Name: lavv_h263; Description: H.263; GroupDescription: "Use LAV Video for these codecs:"; Components: lavvideo32 lavvideo64
Name: lavv_indeo; Description: Intel Indea; GroupDescription: "Use LAV Video for these codecs:"; Components: lavvideo32 lavvideo64
Name: lavv_camtasia; Description: TechSmith/Camtasia; GroupDescription: "Use LAV Video for these codecs:"; Components: lavvideo32 lavvideo64
Name: lavv_fraps; Description: Fraps; GroupDescription: "Use LAV Video for these codecs:"; Components: lavvideo32 lavvideo64
Name: lavv_huffyuv; Description: HuffYUV; GroupDescription: "Use LAV Video for these codecs:"; Components: lavvideo32 lavvideo64
Name: lavv_qtrle; Description: QTRle; GroupDescription: "Use LAV Video for these codecs:"; Components: lavvideo32 lavvideo64
Name: lavv_dvvideo; Description: DV; GroupDescription: "Use LAV Video for these codecs:"; Components: lavvideo32 lavvideo64
Name: lavv_bink; Description: Bink; GroupDescription: "Use LAV Video for these codecs:"; Components: lavvideo32 lavvideo64
Name: lavv_smackvid; Description: Smacker; GroupDescription: "Use LAV Video for these codecs:"; Components: lavvideo32 lavvideo64
Name: lavv_rv12; Description: Real Video 1/2; GroupDescription: "Use LAV Video for these codecs:"; Components: lavvideo32 lavvideo64; Flags: unchecked;
Name: lavv_rv34; Description: Real Video 3/4; GroupDescription: "Use LAV Video for these codecs:"; Components: lavvideo32 lavvideo64
Name: lavv_lagarith; Description: Lagarith; GroupDescription: "Use LAV Video for these codecs:"; Components: lavvideo32 lavvideo64; Flags: unchecked;
Name: lavv_cinepak; Description: Cinepak; GroupDescription: "Use LAV Video for these codecs:"; Components: lavvideo32 lavvideo64; Flags: unchecked;
Name: lavv_camstudio; Description: Camstudio; GroupDescription: "Use LAV Video for these codecs:"; Components: lavvideo32 lavvideo64
Name: lavv_qpeg; Description: QPEG; GroupDescription: "Use LAV Video for these codecs:"; Components: lavvideo32 lavvideo64; Flags: unchecked;
Name: lavv_zlib; Description: ZLIB; GroupDescription: "Use LAV Video for these codecs:"; Components: lavvideo32 lavvideo64
Name: lavv_rpza; Description: QTRpza; GroupDescription: "Use LAV Video for these codecs:"; Components: lavvideo32 lavvideo64
[Files]
Source: bin_Win32\avcodec-lav-53.dll; DestDir: {app}\x86; Flags: ignoreversion restartreplace uninsrestartdelete; Components: lavsplitter32 lavaudio32 lavvideo32
Source: bin_Win32\avformat-lav-53.dll; DestDir: {app}\x86; Flags: ignoreversion restartreplace uninsrestartdelete; Components: lavsplitter32 lavaudio32
Source: bin_Win32\avutil-lav-51.dll; DestDir: {app}\x86; Flags: ignoreversion restartreplace uninsrestartdelete; Components: lavsplitter32 lavaudio32 lavvideo32
Source: bin_Win32\swscale-lav-2.dll; DestDir: {app}\x86; Flags: ignoreversion restartreplace uninsrestartdelete; Components: lavvideo32
Source: bin_Win32\libbluray.dll; DestDir: {app}\x86; Flags: ignoreversion restartreplace uninsrestartdelete; Components: lavsplitter32
Source: bin_Win32\LAVAudio.ax; DestDir: {app}\x86; Flags: regserver ignoreversion restartreplace uninsrestartdelete; Components: lavaudio32
Source: bin_Win32\LAVSplitter.ax; DestDir: {app}\x86; Flags: regserver ignoreversion restartreplace uninsrestartdelete; Components: lavsplitter32
Source: bin_Win32\LAVVideo.ax; DestDir: {app}\x86; Flags: regserver ignoreversion restartreplace uninsrestartdelete; Components: lavvideo32
Source: bin_x64\avcodec-lav-53.dll; DestDir: {app}\x64; Flags: ignoreversion restartreplace uninsrestartdelete; Components: lavsplitter64 lavaudio64 lavvideo64
Source: bin_x64\avformat-lav-53.dll; DestDir: {app}\x64; Flags: ignoreversion restartreplace uninsrestartdelete; Components: lavsplitter64 lavaudio64
Source: bin_x64\avutil-lav-51.dll; DestDir: {app}\x64; Flags: ignoreversion restartreplace uninsrestartdelete; Components: lavsplitter64 lavaudio64 lavvideo64
Source: bin_x64\swscale-lav-2.dll; DestDir: {app}\x64; Flags: ignoreversion restartreplace uninsrestartdelete; Components: lavvideo64
Source: bin_x64\libbluray.dll; DestDir: {app}\x64; Flags: ignoreversion restartreplace uninsrestartdelete; Components: lavsplitter64
Source: bin_x64\LAVAudio.ax; DestDir: {app}\x64; Flags: regserver ignoreversion restartreplace uninsrestartdelete; Components: lavaudio64
Source: bin_x64\LAVSplitter.ax; DestDir: {app}\x64; Flags: regserver ignoreversion restartreplace uninsrestartdelete; Components: lavsplitter64
Source: bin_x64\LAVVideo.ax; DestDir: {app}\x64; Flags: regserver ignoreversion restartreplace uninsrestartdelete; Components: lavvideo64
Source: COPYING; DestDir: {app}; Flags: ignoreversion restartreplace uninsrestartdelete
Source: README.txt; DestDir: {app}; Flags: ignoreversion restartreplace uninsrestartdelete
Source: CHANGELOG.txt; DestDir: {app}; Flags: ignoreversion restartreplace uninsrestartdelete
[Icons]
Name: {group}\LAV Splitter Configuration; Filename: rundll32.exe; Parameters: "LAVSplitter.ax,OpenConfiguration"; WorkingDir: {app}\x86; IconFilename: {app}\x86\LAVSplitter.ax; IconIndex: 0; Components: lavsplitter32
Name: {group}\LAV Splitter Configuration; Filename: rundll32.exe; Parameters: "LAVSplitter.ax,OpenConfiguration"; WorkingDir: {app}\x64; IconFilename: {app}\x64\LAVSplitter.ax; IconIndex: 0; Components: lavsplitter64 AND NOT lavsplitter32
Name: {group}\LAV Audio Configuration; Filename: rundll32.exe; Parameters: "LAVAudio.ax,OpenConfiguration"; WorkingDir: {app}\x86; IconFilename: {app}\x86\LAVAudio.ax; IconIndex: 0; Components: lavaudio32
Name: {group}\LAV Audio Configuration; Filename: rundll32.exe; Parameters: "LAVAudio.ax,OpenConfiguration"; WorkingDir: {app}\x64; IconFilename: {app}\x64\LAVAudio.ax; IconIndex: 0; Components: lavaudio64 AND NOT lavaudio32
Name: {group}\LAV Video Configuration; Filename: rundll32.exe; Parameters: "LAVVideo.ax,OpenConfiguration"; WorkingDir: {app}\x86; IconFilename: {app}\x86\LAVVideo.ax; IconIndex: 0; Components: lavvideo32
Name: {group}\LAV Video Configuration; Filename: rundll32.exe; Parameters: "LAVVideo.ax,OpenConfiguration"; WorkingDir: {app}\x64; IconFilename: {app}\x64\LAVVideo.ax; IconIndex: 0; Components: lavvideo64 AND NOT lavvideo32
Name: {group}\Visit LAV Filters Home Page; Filename: "http://1f0.de/"
Name: {group}\Visit LAV Filters on Doom9; Filename: "http://forum.doom9.org/showthread.php?t=156191"
Name: {group}\Uninstall LAV Filters; Filename: {uninstallexe};
[Registry]
Root: HKCU; Subkey: Software\LAV; Flags: uninsdeletekeyifempty
Root: HKCU; Subkey: Software\LAV\Audio; Flags: uninsdeletekey; Components: lavaudio32 lavaudio64
Root: HKCU; Subkey: Software\LAV\Splitter; Flags: uninsdeletekey; Components: lavsplitter32 lavsplitter64
Root: HKCU; Subkey: Software\LAV\Splitter\Formats; Flags: uninsdeletekey; Components: lavsplitter32 lavsplitter64
Root: HKCU; Subkey: Software\LAV\Video; Flags: uninsdeletekey; Components: lavvideo32 lavvideo64
Root: HKCU; Subkey: Software\LAV\Video\Formats; Flags: uninsdeletekey; Components: lavvideo32 lavvideo64
Root: HKCU; Subkey: Software\LAV\Video\Output; Flags: uninsdeletekey; Components: lavvideo32 lavvideo64
[Code]
procedure CleanMediaTypeExt(rootkey: Integer; extension, clsid: String);
var
temp: String;
begin
if RegQueryStringValue(rootkey, 'Media Type\Extensions\' + extension, 'Source Filter', temp) then begin
if Lowercase(clsid) = Lowercase(temp) then begin
RegDeleteValue(rootkey, 'Media Type\Extensions\' + extension, 'Source Filter');
RegDeleteKeyIfEmpty(rootkey, 'Media Type\Extensions\' + extension);
end;
end;
end;
procedure ConfigureFormat(rootkey: Integer; format: String; value: Boolean);
begin
RegWriteDWordValue(rootkey, 'Software\LAV\Splitter\Formats', format, ord(value));
end;
procedure ConfigureVideoFormat(format: String);
begin
RegWriteDWordValue(HKCU, 'Software\LAV\Video\Formats', format, ord(IsTaskSelected('lavv_' + format)));
end;
procedure CleanMediaTypeExt32(extension: String);
begin
CleanMediaTypeExt(HKCR32, extension, '{B98D13E7-55DB-4385-A33D-09FD1BA26338}');
end;
procedure CleanMediaTypeExt64(extension: String);
begin
CleanMediaTypeExt(HKCR64, extension, '{B98D13E7-55DB-4385-A33D-09FD1BA26338}');
end;
procedure SetMediaTypeExt32(extension: String);
begin
RegWriteStringValue(HKCR32, 'Media Type\Extensions\' + extension, 'Source Filter', '{B98D13E7-55DB-4385-A33D-09FD1BA26338}');
end;
procedure SetMediaTypeExt64(extension: String);
begin
RegWriteStringValue(HKCR64, 'Media Type\Extensions\' + extension, 'Source Filter', '{B98D13E7-55DB-4385-A33D-09FD1BA26338}');
end;
procedure DoExtension32(extension, option: String);
begin
if IsTaskSelected(option) then begin
SetMediaTypeExt32(extension);
end
else begin
CleanMediaTypeExt32(extension);
end;
end;
procedure DoExtension64(extension, option: String);
begin
if IsTaskSelected(option) then begin
SetMediaTypeExt64(extension);
end
else begin
CleanMediaTypeExt64(extension);
end;
end;
procedure CurStepChanged(CurStep: TSetupStep);
begin
if (CurStep = ssPostInstall) then begin
// Disable unwanted formats
if IsComponentSelected('lavsplitter32') then begin
ConfigureFormat(HKCU32, 'mkv', IsTaskSelected('lavs32_mkv'));
DoExtension32('.mkv', 'lavs32_mkv');
DoExtension32('.mka', 'lavs32_mkv');
ConfigureFormat(HKCU32, 'bluray', IsTaskSelected('lavs32_bluray'));
DoExtension32('.bdmv', 'lavs32_bluray');
DoExtension32('.mpls', 'lavs32_bluray');
ConfigureFormat(HKCU32, 'mp4', IsTaskSelected('lavs32_mp4'));
DoExtension32('.mp4', 'lavs32_mp4');
DoExtension32('.mov', 'lavs32_mp4');
DoExtension32('.3gp', 'lavs32_mp4');
ConfigureFormat(HKCU32, 'avi', IsTaskSelected('lavs32_avi'));
DoExtension32('.avi', 'lavs32_avi');
DoExtension32('.divx', 'lavs32_avi');
ConfigureFormat(HKCU32, 'flv', IsTaskSelected('lavs32_flv'));
DoExtension32('.flv', 'lavs32_flv');
ConfigureFormat(HKCU32, 'ogg', IsTaskSelected('lavs32_ogg'));
DoExtension32('.ogg', 'lavs32_ogg');
DoExtension32('.ogm', 'lavs32_ogg');
DoExtension32('.ogv', 'lavs32_ogg');
ConfigureFormat(HKCU32, 'mpeg', IsTaskSelected('lavs32_ps'));
DoExtension32('.mpg', 'lavs32_ps');
DoExtension32('.vob', 'lavs32_ps');
DoExtension32('.evo', 'lavs32_ps');
ConfigureFormat(HKCU32, 'mpegts', IsTaskSelected('lavs32_ts'));
DoExtension32('.ts', 'lavs32_ts');
DoExtension32('.mts', 'lavs32_ts');
DoExtension32('.m2ts', 'lavs32_ts');
DoExtension32('.wtv', 'lavs32_wtv');
DoExtension32('.wmv', 'lavs32_wmv');
DoExtension32('.rm', 'lavs32_rm');
DoExtension32('.rmvb', 'lavs32_rm');
DoExtension32('.flac', 'lavs32_flac');
DoExtension32('.aac', 'lavs32_aac');
DoExtension32('.amr', 'lavs32_amr');
DoExtension32('.wv', 'lavs32_amr');
DoExtension32('.mpc', 'lavs32_mpc');
DoExtension32('.tta', 'lavs32_tta');
end;
if IsComponentSelected('lavsplitter64') then begin
ConfigureFormat(HKCU64, 'mkv', IsTaskSelected('lavs64_mkv'));
DoExtension64('.mkv', 'lavs64_mkv');
DoExtension64('.mka', 'lavs64_mkv');
ConfigureFormat(HKCU64, 'bluray', IsTaskSelected('lavs64_bluray'));
DoExtension64('.bdmv', 'lavs64_bluray');
DoExtension64('.mpls', 'lavs64_bluray');
ConfigureFormat(HKCU64, 'mp4', IsTaskSelected('lavs64_mp4'));
DoExtension64('.mp4', 'lavs64_mp4');
DoExtension64('.mov', 'lavs64_mp4');
DoExtension64('.3gp', 'lavs64_mp4');
ConfigureFormat(HKCU64, 'avi', IsTaskSelected('lavs64_avi'));
DoExtension64('.avi', 'lavs64_avi');
DoExtension64('.divx', 'lavs64_avi');
ConfigureFormat(HKCU64, 'flv', IsTaskSelected('lavs64_flv'));
DoExtension64('.flv', 'lavs64_flv');
ConfigureFormat(HKCU64, 'ogg', IsTaskSelected('lavs64_ogg'));
DoExtension64('.ogg', 'lavs64_ogg');
DoExtension64('.ogm', 'lavs64_ogg');
DoExtension64('.ogv', 'lavs64_ogg');
ConfigureFormat(HKCU64, 'mpeg', IsTaskSelected('lavs64_ps'));
DoExtension64('.mpg', 'lavs64_ps');
DoExtension64('.vob', 'lavs64_ps');
DoExtension64('.evo', 'lavs64_ps');
ConfigureFormat(HKCU64, 'mpegts', IsTaskSelected('lavs64_ts'));
DoExtension64('.ts', 'lavs64_ts');
DoExtension64('.mts', 'lavs64_ts');
DoExtension64('.m2ts', 'lavs64_ts');
DoExtension64('.wtv', 'lavs64_wtv');
DoExtension64('.wmv', 'lavs64_wmv');
DoExtension64('.rm', 'lavs64_rm');
DoExtension64('.rmvb', 'lavs64_rm');
DoExtension64('.flac', 'lavs64_flac');
DoExtension64('.aac', 'lavs64_aac');
DoExtension64('.amr', 'lavs64_amr');
DoExtension64('.wv', 'lavs64_amr');
DoExtension64('.mpc', 'lavs64_mpc');
DoExtension64('.tta', 'lavs64_tta');
end;
if IsComponentSelected('lavvideo32') or IsComponentSelected('lavvideo64') then begin
ConfigureVideoFormat('h264');
ConfigureVideoFormat('vc1');
ConfigureVideoFormat('mpeg1');
ConfigureVideoFormat('mpeg2');
ConfigureVideoFormat('mpeg4');
ConfigureVideoFormat('msmpeg4');
ConfigureVideoFormat('vp8');
ConfigureVideoFormat('wmv3');
ConfigureVideoFormat('wmv12');
ConfigureVideoFormat('mjpeg');
ConfigureVideoFormat('theora');
ConfigureVideoFormat('flv');
ConfigureVideoFormat('vp6');
ConfigureVideoFormat('svq');
ConfigureVideoFormat('h261');
ConfigureVideoFormat('h263');
ConfigureVideoFormat('indeo');
ConfigureVideoFormat('camtasia');
ConfigureVideoFormat('fraps');
ConfigureVideoFormat('huffyuv');
ConfigureVideoFormat('qtrle');
ConfigureVideoFormat('dvvideo');
ConfigureVideoFormat('bink');
ConfigureVideoFormat('smackvid');
ConfigureVideoFormat('rv12');
ConfigureVideoFormat('rv34');
ConfigureVideoFormat('lagarith');
ConfigureVideoFormat('cinepak');
ConfigureVideoFormat('camstudio');
ConfigureVideoFormat('qpeg');
ConfigureVideoFormat('zlib');
ConfigureVideoFormat('rpza');
end;
end;
end;
procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep);
begin
if (CurUninstallStep = usUninstall) then begin
CleanMediaTypeExt32('.mkv');
CleanMediaTypeExt32('.mka');
CleanMediaTypeExt32('.bdmv');
CleanMediaTypeExt32('.mpls');
CleanMediaTypeExt32('.mp4');
CleanMediaTypeExt32('.mov');
CleanMediaTypeExt32('.3gp');
CleanMediaTypeExt32('.avi');
CleanMediaTypeExt32('.divx');
CleanMediaTypeExt32('.flv');
CleanMediaTypeExt32('.ogg');
CleanMediaTypeExt32('.ogm');
CleanMediaTypeExt32('.ogv');
CleanMediaTypeExt32('.mpg');
CleanMediaTypeExt32('.vob');
CleanMediaTypeExt32('.evo');
CleanMediaTypeExt32('.ts');
CleanMediaTypeExt32('.mts');
CleanMediaTypeExt32('.m2ts');
CleanMediaTypeExt32('.wtv');
CleanMediaTypeExt32('.wmv');
CleanMediaTypeExt32('.rm');
CleanMediaTypeExt32('.rmvb');
CleanMediaTypeExt32('.flac');
CleanMediaTypeExt32('.aac');
CleanMediaTypeExt32('.amr');
CleanMediaTypeExt32('.wv');
CleanMediaTypeExt32('.mpc');
CleanMediaTypeExt32('.tta');
if IsWin64 then begin
CleanMediaTypeExt64('.mkv');
CleanMediaTypeExt64('.mka');
CleanMediaTypeExt64('.bdmv');
CleanMediaTypeExt64('.mpls');
CleanMediaTypeExt64('.mp4');
CleanMediaTypeExt64('.mov');
CleanMediaTypeExt64('.3gp');
CleanMediaTypeExt64('.avi');
CleanMediaTypeExt64('.divx');
CleanMediaTypeExt64('.flv');
CleanMediaTypeExt64('.ogg');
CleanMediaTypeExt64('.ogm');
CleanMediaTypeExt64('.ogv');
CleanMediaTypeExt64('.mpg');
CleanMediaTypeExt64('.vob');
CleanMediaTypeExt64('.evo');
CleanMediaTypeExt64('.ts');
CleanMediaTypeExt64('.mts');
CleanMediaTypeExt64('.m2ts');
CleanMediaTypeExt64('.wtv');
CleanMediaTypeExt64('.wmv');
CleanMediaTypeExt64('.rm');
CleanMediaTypeExt64('.rmvb');
CleanMediaTypeExt64('.flac');
CleanMediaTypeExt64('.aac');
CleanMediaTypeExt64('.amr');
CleanMediaTypeExt64('.wv');
CleanMediaTypeExt64('.mpc');
CleanMediaTypeExt64('.tta');
end;
end;
end;
procedure InitializeWizard();
begin
// Adjust tasks page
WizardForm.SelectTasksLabel.Hide;
WizardForm.TasksList.Top := 0;
WizardForm.TasksList.Height := PageFromID(wpSelectTasks).SurfaceHeight;
end;
|