[svn] / trunk / xvidextra / src / installer / xvid.xml Repository:
ViewVC logotype

Diff of /trunk/xvidextra/src/installer/xvid.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2008, Fri May 20 09:09:49 2011 UTC revision 2126, Sat Jun 20 17:18:22 2015 UTC
# Line 1  Line 1 
1  <project>  <project>
2      <shortName>Xvid</shortName>      <shortName>Xvid</shortName>
3      <fullName>Xvid Video Codec</fullName>      <fullName>Xvid Video Codec</fullName>
4      <version>1.3.2</version>      <version>15</version>
5      <installerFilename>${product_shortname}-${product_version}-${platform_name}.${platform_exec_suffix}</installerFilename>      <installerFilename>${product_shortname}-${product_version}-${platform_name}.${platform_exec_suffix}</installerFilename>
6      <readmeFile>releasenotes.txt</readmeFile>      <readmeFile>releasenotes.txt</readmeFile>
7      <licenseFile>../../LICENSE</licenseFile>      <licenseFile>../../LICENSE</licenseFile>
8      <logoImage>xvid.png</logoImage>      <logoImage>xvid.png</logoImage>
9      <splashImage>xvid_logo.png</splashImage>      <splashImage>xvid_logo.png</splashImage>
10      <allowLanguageSelection>1</allowLanguageSelection>      <allowLanguageSelection>1</allowLanguageSelection>
11        <componentList>
12            <component>
13                <name>default</name>
14                <description>Default Component</description>
15                <canBeEdited>1</canBeEdited>
16                <selected>1</selected>
17                <show>1</show>
18                <folderList>
19                    <folder>
20                        <description>Program Files</description>
21                        <destination>${installdir}</destination>
22                        <name>programfiles</name>
23                        <platforms>all</platforms>
24                        <shortcutList>
25                            <shortcut>
26                                <comment>Uninstall</comment>
27                                <exec>${installdir}/${uninstallerName}</exec>
28                                <icon></icon>
29                                <name>Uninstall ${product_fullname}</name>
30                                <path>${installdir}</path>
31                                <platforms>all</platforms>
32                                <runAsAdmin>0</runAsAdmin>
33                                <runInTerminal>0</runInTerminal>
34                                <windowsExec>${installdir}/${uninstallerName}.exe</windowsExec>
35                                <windowsExecArgs></windowsExecArgs>
36                                <windowsIcon></windowsIcon>
37                                <windowsPath>${installdir}</windowsPath>
38                            </shortcut>
39                        </shortcutList>
40                    </folder>
41                    <folder>
42                        <description>Program Files</description>
43                        <destination>${installdir}</destination>
44                        <name>programfileslinux</name>
45                        <platforms>linux</platforms>
46                    </folder>
47                    <folder>
48                        <description>Program Files</description>
49                        <destination>${installdir}</destination>
50                        <name>programfileswindows</name>
51                        <platforms>windows</platforms>
52                        <distributionFileList>
53                            <distributionFile>
54                                <origin>../../../xvidcore/vfw/src/xvid.ico</origin>
55                            </distributionFile>
56                            <distributionFile>
57                                <origin>AviC.exe</origin>
58                            </distributionFile>
59                            <distributionFile>
60                                <origin>../../LICENSE</origin>
61                            </distributionFile>
62                            <distributionFile>
63                                <origin>MiniCalc.exe</origin>
64                            </distributionFile>
65                            <distributionFile>
66                                <origin>OGMCalc.exe</origin>
67                            </distributionFile>
68                            <distributionFile>
69                                <origin>releasenotes.txt</origin>
70                            </distributionFile>
71                            <distributionFile>
72                                <origin>vidccleaner.exe</origin>
73                            </distributionFile>
74                            <distributionFile>
75                                <origin>Xvid_Quant_Matrices.zip</origin>
76                            </distributionFile>
77                            <distributionFile>
78                                <origin>StatsReader.exe</origin>
79                            </distributionFile>
80                            <distributionFile>
81                                <origin>statsreader.txt</origin>
82                            </distributionFile>
83                            <distributionFile>
84                                <origin>xvid.inf</origin>
85                            </distributionFile>
86                            <distributionFile>
87                                <origin>xvid.ico</origin>
88                            </distributionFile>
89                            <distributionFile>
90                                <origin>autoupdate-windows.exe</origin>
91                            </distributionFile>
92                            <distributionFile>
93                                <origin>update.ini</origin>
94                            </distributionFile>
95                            <distributionFile>
96                                <origin>CheckUpdate.exe</origin>
97                            </distributionFile>
98                            <distributionFile>
99                                <origin>MiniConvert.exe</origin>
100                            </distributionFile>
101                            <distributionFile>
102                                <origin>XvidWebPlayer.msi</origin>
103                            </distributionFile>
104                            <distributionFile>
105                                <origin>xvid-gstreamer-x86-2013.6.msi</origin>
106                            </distributionFile>
107                            <distributionFile>
108                                <origin>../../../xvidcore/build/win32/bin/xvid_encraw.exe</origin>
109                            </distributionFile>
110                            <distributionFile>
111                                <origin>xvid_logo.png</origin>
112                            </distributionFile>
113                            <distributionFile>
114                                <origin>xvid.png</origin>
115                            </distributionFile>
116                            <distributionFile>
117                                <origin>xvidw.ico</origin>
118                            </distributionFile>
119                            <distributionFile>
120                                <origin>CheckUpdate.ps1</origin>
121                            </distributionFile>
122                        </distributionFileList>
123                        <shortcutList>
124                            <linkShortcut>
125                                <comment>Xvid Website</comment>
126                                <icon></icon>
127                                <name>xvidhomepage</name>
128                                <platforms>windows</platforms>
129                                <runAsAdmin>0</runAsAdmin>
130                                <runInTerminal>0</runInTerminal>
131                                <url>http://www.xvid.org/</url>
132                                <windowsIcon></windowsIcon>
133                            </linkShortcut>
134                        </shortcutList>
135                    </folder>
136                    <folder>
137                        <description>Program Files</description>
138                        <destination>${installdir}</destination>
139                        <name>programfilesosx</name>
140                        <platforms>osx</platforms>
141                    </folder>
142                    <folder>
143                        <description>Temp Directory (x86)</description>
144                        <destination>${system_temp_directory}/xvid_x86</destination>
145                        <name>tmp_x86</name>
146                        <platforms>windows</platforms>
147                        <distributionFileList>
148                            <distributionFile>
149                                <origin>../../../xvidcore/vfw/bin/xvidvfw.dll</origin>
150                            </distributionFile>
151                            <distributionFile>
152                                <origin>../../../xvidcore/vfw/bin/xvidcore.dll</origin>
153                            </distributionFile>
154                            <distributionFile>
155                                <origin>xvid.inf</origin>
156                            </distributionFile>
157                            <distributionFile>
158                                <origin>../../../xvidcore/dshow/bin/xvid.ax</origin>
159                            </distributionFile>
160                            <distributionFile>
161                                <origin>setpriv32.exe</origin>
162                            </distributionFile>
163                            <distributionFile>
164                                <origin>../../../xvidcore/dshow/bin/xvid_mft.ax</origin>
165                            </distributionFile>
166                            <distributionFile>
167                                <origin>setavi32.exe</origin>
168                            </distributionFile>
169                        </distributionFileList>
170                    </folder>
171                    <folder>
172                        <description>Temp Directory (x64)</description>
173                        <destination>${system_temp_directory}/xvid_x64</destination>
174                        <name>tmp_x64</name>
175                        <platforms>windows</platforms>
176                        <distributionFileList>
177                            <distributionFile>
178                                <origin>../../../xvidcore/dshow/bin/x64/xvid.ax</origin>
179                            </distributionFile>
180                            <distributionFile>
181                                <origin>../../../xvidcore/vfw/bin/x64/xvidcore.dll</origin>
182                            </distributionFile>
183                            <distributionFile>
184                                <origin>../../../xvidcore/vfw/bin/x64/xvidvfw.dll</origin>
185                            </distributionFile>
186                            <distributionFile>
187                                <origin>xvid.inf</origin>
188                            </distributionFile>
189                            <distributionFile>
190                                <origin>setpriv64.exe</origin>
191                            </distributionFile>
192                            <distributionFile>
193                                <origin>../../../xvidcore/dshow/bin/x64/xvid_mft.ax</origin>
194                            </distributionFile>
195                            <distributionFile>
196                                <origin>setavi64.exe</origin>
197                            </distributionFile>
198                        </distributionFileList>
199                        <ruleList>
200                            <platformTest type="windows-x64"/>
201                        </ruleList>
202                    </folder>
203                </folderList>
204                <startMenuShortcutList>
205                    <startMenuShortcut>
206                        <comment>Configure the Decoder properties</comment>
207                        <name>Decoder Config</name>
208                        <ruleEvaluationLogic>or</ruleEvaluationLogic>
209                        <runAsAdmin>0</runAsAdmin>
210                        <runInTerminal>0</runInTerminal>
211                        <windowsExec>${windows_folder_system}/rundll32.exe</windowsExec>
212                        <windowsExecArgs>xvid.ax,Configure</windowsExecArgs>
213                        <windowsIcon>${installdir}/xvid.ico</windowsIcon>
214                        <windowsPath></windowsPath>
215                        <ruleList>
216                            <platformTest>
217                                <type>windows-xp</type>
218                            </platformTest>
219                            <platformTest>
220                                <type>windows-vista</type>
221                            </platformTest>
222                            <platformTest>
223                                <type>windows-9x</type>
224                            </platformTest>
225                            <platformTest>
226                                <type>windows-2003</type>
227                            </platformTest>
228                            <platformTest>
229                                <type>windows-2000</type>
230                            </platformTest>
231                            <platformTest>
232                                <type>windows-7</type>
233                            </platformTest>
234                        </ruleList>
235                    </startMenuShortcut>
236                    <startMenuShortcut>
237                        <comment>Configure the Decoder properties</comment>
238                        <name>Decoder Config</name>
239                        <runAsAdmin>0</runAsAdmin>
240                        <runInTerminal>0</runInTerminal>
241                        <windowsExec>${windows_folder_system}/rundll32.exe</windowsExec>
242                        <windowsExecArgs>xvid.ax,Configure</windowsExecArgs>
243                        <windowsIcon>${installdir}/xvidw.ico</windowsIcon>
244                        <windowsPath></windowsPath>
245                        <ruleList>
246                            <platformTest>
247                                <negate>1</negate>
248                                <type>windows-xp</type>
249                            </platformTest>
250                            <platformTest>
251                                <negate>1</negate>
252                                <type>windows-vista</type>
253                            </platformTest>
254                            <platformTest>
255                                <negate>1</negate>
256                                <type>windows-9x</type>
257                            </platformTest>
258                            <platformTest>
259                                <negate>1</negate>
260                                <type>windows-2003</type>
261                            </platformTest>
262                            <platformTest>
263                                <negate>1</negate>
264                                <type>windows-2000</type>
265                            </platformTest>
266                            <platformTest>
267                                <negate>1</negate>
268                                <type>windows-7</type>
269                            </platformTest>
270                        </ruleList>
271                    </startMenuShortcut>
272                    <startMenuShortcut>
273                        <comment>Configure the encoder properties</comment>
274                        <name>Encoder Config</name>
275                        <ruleEvaluationLogic>or</ruleEvaluationLogic>
276                        <runAsAdmin>0</runAsAdmin>
277                        <runInTerminal>0</runInTerminal>
278                        <windowsExec>${windows_folder_system}/rundll32.exe</windowsExec>
279                        <windowsExecArgs>xvidvfw.dll,Configure</windowsExecArgs>
280                        <windowsIcon>${installdir}/xvid.ico</windowsIcon>
281                        <windowsPath></windowsPath>
282                        <ruleList>
283                            <platformTest>
284                                <type>windows-xp</type>
285                            </platformTest>
286                            <platformTest>
287                                <type>windows-vista</type>
288                            </platformTest>
289                            <platformTest>
290                                <type>windows-9x</type>
291                            </platformTest>
292                            <platformTest>
293                                <type>windows-2003</type>
294                            </platformTest>
295                            <platformTest>
296                                <type>windows-2000</type>
297                            </platformTest>
298                            <platformTest>
299                                <type>windows-7</type>
300                            </platformTest>
301                        </ruleList>
302                    </startMenuShortcut>
303                    <startMenuShortcut>
304                        <comment>Configure the encoder properties</comment>
305                        <name>Encoder Config</name>
306                        <runAsAdmin>0</runAsAdmin>
307                        <runInTerminal>0</runInTerminal>
308                        <windowsExec>${windows_folder_system}/rundll32.exe</windowsExec>
309                        <windowsExecArgs>xvidvfw.dll,Configure</windowsExecArgs>
310                        <windowsIcon>${installdir}/xvidw.ico</windowsIcon>
311                        <windowsPath></windowsPath>
312                        <ruleList>
313                            <platformTest>
314                                <negate>1</negate>
315                                <type>windows-xp</type>
316                            </platformTest>
317                            <platformTest>
318                                <negate>1</negate>
319                                <type>windows-vista</type>
320                            </platformTest>
321                            <platformTest>
322                                <negate>1</negate>
323                                <type>windows-9x</type>
324                            </platformTest>
325                            <platformTest>
326                                <negate>1</negate>
327                                <type>windows-2003</type>
328                            </platformTest>
329                            <platformTest>
330                                <negate>1</negate>
331                                <type>windows-2000</type>
332                            </platformTest>
333                            <platformTest>
334                                <negate>1</negate>
335                                <type>windows-7</type>
336                            </platformTest>
337                        </ruleList>
338                    </startMenuShortcut>
339                    <startMenuFileShortcut>
340                        <comment>Important notes concerning this Xvid build</comment>
341                        <filePath>${installdir}/releasenotes.txt</filePath>
342                        <name>Release Notes</name>
343                        <ruleEvaluationLogic>or</ruleEvaluationLogic>
344                        <runAsAdmin>0</runAsAdmin>
345                        <runInTerminal>0</runInTerminal>
346                        <windowsIcon></windowsIcon>
347                        <ruleList>
348                            <platformTest>
349                                <type>windows-xp</type>
350                            </platformTest>
351                            <platformTest>
352                                <type>windows-vista</type>
353                            </platformTest>
354                            <platformTest>
355                                <type>windows-9x</type>
356                            </platformTest>
357                            <platformTest>
358                                <type>windows-2003</type>
359                            </platformTest>
360                            <platformTest>
361                                <type>windows-2000</type>
362                            </platformTest>
363                            <platformTest>
364                                <type>windows-7</type>
365                            </platformTest>
366                        </ruleList>
367                    </startMenuFileShortcut>
368                    <startMenuShortcut>
369                        <comment>Check whether a new update for Xvid is available</comment>
370                        <name>Check for Updates</name>
371                        <runAsAdmin>0</runAsAdmin>
372                        <runInTerminal>0</runInTerminal>
373                        <windowsExec>${installdir}/autoupdate-windows.exe</windowsExec>
374                        <windowsExecArgs></windowsExecArgs>
375                        <windowsIcon></windowsIcon>
376                        <windowsPath>${installdir}/</windowsPath>
377                    </startMenuShortcut>
378                    <startMenuLinkShortcut>
379                        <comment>Link to the Xvid homepage</comment>
380                        <name>Xvid Homepage</name>
381                        <runAsAdmin>0</runAsAdmin>
382                        <runInTerminal>0</runInTerminal>
383                        <url>https://www.xvid.com</url>
384                        <windowsIcon></windowsIcon>
385                    </startMenuLinkShortcut>
386                    <startMenuShortcut>
387                        <comment>Command line encoder application</comment>
388                        <name>xvid_encraw</name>
389                        <runAsAdmin>0</runAsAdmin>
390                        <runInTerminal>0</runInTerminal>
391                        <windowsExec>%comspec%</windowsExec>
392                        <windowsExecArgs>/k ""${installdir}\xvid_encraw.exe"" -h</windowsExecArgs>
393                        <windowsIcon></windowsIcon>
394                        <windowsPath>${installdir}</windowsPath>
395                        <ruleList>
396                            <platformTest>
397                                <negate>1</negate>
398                                <type>windows-xp</type>
399                            </platformTest>
400                            <platformTest>
401                                <negate>1</negate>
402                                <type>windows-vista</type>
403                            </platformTest>
404                            <platformTest>
405                                <negate>1</negate>
406                                <type>windows-9x</type>
407                            </platformTest>
408                            <platformTest>
409                                <negate>1</negate>
410                                <type>windows-2003</type>
411                            </platformTest>
412                            <platformTest>
413                                <negate>1</negate>
414                                <type>windows-2000</type>
415                            </platformTest>
416                            <platformTest>
417                                <negate>1</negate>
418                                <type>windows-7</type>
419                            </platformTest>
420                        </ruleList>
421                    </startMenuShortcut>
422                    <startMenuFolder>
423                        <name>Advanced</name>
424                        <platforms>windows</platforms>
425                        <ruleEvaluationLogic>or</ruleEvaluationLogic>
426                        <ruleList>
427                            <platformTest>
428                                <type>windows-xp</type>
429                            </platformTest>
430                            <platformTest>
431                                <type>windows-vista</type>
432                            </platformTest>
433                            <platformTest>
434                                <type>windows-9x</type>
435                            </platformTest>
436                            <platformTest>
437                                <type>windows-2003</type>
438                            </platformTest>
439                            <platformTest>
440                                <type>windows-2000</type>
441                            </platformTest>
442                            <platformTest>
443                                <type>windows-7</type>
444                            </platformTest>
445                        </ruleList>
446                        <startMenuShortcutList>
447                            <startMenuShortcut>
448                                <comment>Quickly change the FourCC of your AVI files</comment>
449                                <name>Nic's FourCC Changer</name>
450                                <runAsAdmin>0</runAsAdmin>
451                                <runInTerminal>0</runInTerminal>
452                                <windowsExec>${installdir}/AviC.exe</windowsExec>
453                                <windowsExecArgs></windowsExecArgs>
454                                <windowsIcon></windowsIcon>
455                                <windowsPath>${installdir}/</windowsPath>
456                            </startMenuShortcut>
457                            <startMenuFileShortcut>
458                                <comment>A selection of custom quant matrices</comment>
459                                <filePath>${installdir}/Xvid_Quant_Matrices.zip</filePath>
460                                <name>Some Quantization Matrices</name>
461                                <runAsAdmin>0</runAsAdmin>
462                                <runInTerminal>0</runInTerminal>
463                                <windowsIcon></windowsIcon>
464                            </startMenuFileShortcut>
465                            <startMenuShortcut>
466                                <comment>Check the first pass size and more</comment>
467                                <name>StatsReader 2.1</name>
468                                <runAsAdmin>0</runAsAdmin>
469                                <runInTerminal>0</runInTerminal>
470                                <windowsExec>${installdir}/StatsReader.exe</windowsExec>
471                                <windowsExecArgs></windowsExecArgs>
472                                <windowsIcon></windowsIcon>
473                                <windowsPath>${installdir}/</windowsPath>
474                            </startMenuShortcut>
475                            <startMenuFileShortcut>
476                                <comment>Documentation for the StatsReader</comment>
477                                <filePath>${installdir}/statsreader.txt</filePath>
478                                <name>StatsReader Notes</name>
479                                <runAsAdmin>0</runAsAdmin>
480                                <runInTerminal>0</runInTerminal>
481                                <windowsIcon></windowsIcon>
482                            </startMenuFileShortcut>
483                            <startMenuShortcut>
484                                <comment>An AVI bitrate calculator</comment>
485                                <name>Nic's MiniCalc</name>
486                                <runAsAdmin>0</runAsAdmin>
487                                <runInTerminal>0</runInTerminal>
488                                <windowsExec>${installdir}/MiniCalc.exe</windowsExec>
489                                <windowsExecArgs></windowsExecArgs>
490                                <windowsIcon></windowsIcon>
491                                <windowsPath>${installdir}/</windowsPath>
492                            </startMenuShortcut>
493                            <startMenuShortcut>
494                                <comment>Command line encoder application</comment>
495                                <name>xvid_encraw</name>
496                                <runAsAdmin>0</runAsAdmin>
497                                <runInTerminal>0</runInTerminal>
498                                <windowsExec>%comspec%</windowsExec>
499                                <windowsExecArgs>/k ""${installdir}\xvid_encraw.exe"" -h</windowsExecArgs>
500                                <windowsIcon></windowsIcon>
501                                <windowsPath>${installdir}</windowsPath>
502                            </startMenuShortcut>
503                        </startMenuShortcutList>
504                    </startMenuFolder>
505                    <startMenuShortcut>
506                        <comment>Simple media converter to create Xvid videos</comment>
507                        <name>Xvid MiniConvert</name>
508                        <runAsAdmin>0</runAsAdmin>
509                        <runInTerminal>0</runInTerminal>
510                        <windowsExec>${installdir}/MiniConvert.exe</windowsExec>
511                        <windowsExecArgs></windowsExecArgs>
512                        <windowsIcon></windowsIcon>
513                        <windowsPath>${installdir}/</windowsPath>
514                    </startMenuShortcut>
515                    <startMenuShortcut>
516                        <comment>Uninstall ${product_fullname}</comment>
517                        <name>Uninstall ${product_fullname}</name>
518                        <runAsAdmin>0</runAsAdmin>
519                        <runInTerminal>0</runInTerminal>
520                        <windowsExec>${installdir}/${uninstallerName}.exe</windowsExec>
521                        <windowsExecArgs>--debuglevel 3</windowsExecArgs>
522                        <windowsIcon>${installdir}/xvidw.ico</windowsIcon>
523                        <windowsPath>${installdir}</windowsPath>
524                    </startMenuShortcut>
525                </startMenuShortcutList>
526            </component>
527        </componentList>
528      <initializationActionList>      <initializationActionList>
529          <registryGet>          <registryGet>
530              <key>HKEY_LOCAL_MACHINE\Software\${project.windowsSoftwareRegistryPrefix}</key>              <key>HKEY_LOCAL_MACHINE\Software\${project.windowsSoftwareRegistryPrefix}</key>
# Line 42  Line 559 
559                  </platformTest>                  </platformTest>
560              </ruleList>              </ruleList>
561          </runProgram>          </runProgram>
562            <if>
563                <abortOnError>0</abortOnError>
564                <showMessageOnError>0</showMessageOnError>
565                <actionList>
566                    <if>
567                        <abortOnError>0</abortOnError>
568                        <showMessageOnError>0</showMessageOnError>
569                        <actionList>
570                            <if>
571                                <abortOnError>0</abortOnError>
572                                <showMessageOnError>0</showMessageOnError>
573                                <actionList>
574                                    <setInstallerVariable>
575                                        <abortOnError>0</abortOnError>
576                                        <name>generic_mpeg4</name>
577                                        <showMessageOnError>0</showMessageOnError>
578                                        <value>7</value>
579                                    </setInstallerVariable>
580                                </actionList>
581                                <conditionRuleList>
582                                    <compareValues>
583                                        <logic>equals</logic>
584                                        <negate>1</negate>
585                                        <value1>${decode_other}</value1>
586                                        <value2>0</value2>
587                                    </compareValues>
588                                </conditionRuleList>
589                                <elseActionList>
590                                    <setInstallerVariable>
591                                        <abortOnError>0</abortOnError>
592                                        <name>generic_mpeg4</name>
593                                        <showMessageOnError>0</showMessageOnError>
594                                        <value>3</value>
595                                    </setInstallerVariable>
596                                </elseActionList>
597                            </if>
598                        </actionList>
599                        <conditionRuleList>
600                            <compareValues>
601                                <logic>equals</logic>
602                                <negate>1</negate>
603                                <value1>${decode_3ivx}</value1>
604                                <value2>0</value2>
605                            </compareValues>
606                        </conditionRuleList>
607                        <elseActionList>
608                            <if>
609                                <abortOnError>0</abortOnError>
610                                <showMessageOnError>0</showMessageOnError>
611                                <actionList>
612                                    <setInstallerVariable>
613                                        <abortOnError>0</abortOnError>
614                                        <name>generic_mpeg4</name>
615                                        <showMessageOnError>0</showMessageOnError>
616                                        <value>6</value>
617                                    </setInstallerVariable>
618                                </actionList>
619                                <conditionRuleList>
620                                    <compareValues>
621                                        <logic>equals</logic>
622                                        <negate>1</negate>
623                                        <value1>${decode_other}</value1>
624                                        <value2>0</value2>
625                                    </compareValues>
626                                </conditionRuleList>
627                                <elseActionList>
628                                    <setInstallerVariable>
629                                        <abortOnError>0</abortOnError>
630                                        <name>generic_mpeg4</name>
631                                        <showMessageOnError>0</showMessageOnError>
632                                        <value>2</value>
633                                    </setInstallerVariable>
634                                </elseActionList>
635                            </if>
636                        </elseActionList>
637                    </if>
638                </actionList>
639                <conditionRuleList>
640                    <compareValues>
641                        <logic>equals</logic>
642                        <negate>1</negate>
643                        <value1>${decode_divx}</value1>
644                        <value2>0</value2>
645                    </compareValues>
646                </conditionRuleList>
647                <elseActionList>
648                    <if>
649                        <abortOnError>0</abortOnError>
650                        <showMessageOnError>0</showMessageOnError>
651                        <actionList>
652                            <if>
653                                <abortOnError>0</abortOnError>
654                                <showMessageOnError>0</showMessageOnError>
655                                <actionList>
656                                    <setInstallerVariable>
657                                        <abortOnError>0</abortOnError>
658                                        <name>generic_mpeg4</name>
659                                        <showMessageOnError>0</showMessageOnError>
660                                        <value>5</value>
661                                    </setInstallerVariable>
662                                </actionList>
663                                <conditionRuleList>
664                                    <compareValues>
665                                        <logic>equals</logic>
666                                        <negate>1</negate>
667                                        <value1>${decode_other}</value1>
668                                        <value2>0</value2>
669                                    </compareValues>
670                                </conditionRuleList>
671                                <elseActionList>
672                                    <setInstallerVariable>
673                                        <abortOnError>0</abortOnError>
674                                        <name>generic_mpeg4</name>
675                                        <showMessageOnError>0</showMessageOnError>
676                                        <value>1</value>
677                                    </setInstallerVariable>
678                                </elseActionList>
679                            </if>
680                        </actionList>
681                        <conditionRuleList>
682                            <compareValues>
683                                <logic>equals</logic>
684                                <negate>1</negate>
685                                <value1>${decode_3IVX}</value1>
686                                <value2>0</value2>
687                            </compareValues>
688                        </conditionRuleList>
689                        <elseActionList>
690                            <if>
691                                <abortOnError>0</abortOnError>
692                                <showMessageOnError>0</showMessageOnError>
693                                <actionList>
694                                    <setInstallerVariable>
695                                        <abortOnError>0</abortOnError>
696                                        <name>generic_mpeg4</name>
697                                        <showMessageOnError>0</showMessageOnError>
698                                        <value>4</value>
699                                    </setInstallerVariable>
700                                </actionList>
701                                <conditionRuleList>
702                                    <compareValues>
703                                        <logic>equals</logic>
704                                        <negate>1</negate>
705                                        <value1>${decode_other}</value1>
706                                        <value2>0</value2>
707                                    </compareValues>
708                                </conditionRuleList>
709                                <elseActionList>
710                                    <setInstallerVariable>
711                                        <abortOnError>0</abortOnError>
712                                        <name>generic_mpeg4</name>
713                                        <showMessageOnError>0</showMessageOnError>
714                                        <value>0</value>
715                                    </setInstallerVariable>
716                                </elseActionList>
717                            </if>
718                        </elseActionList>
719                    </if>
720                </elseActionList>
721            </if>
722      </readyToInstallActionList>      </readyToInstallActionList>
723      <postInstallationActionList>      <postInstallationActionList>
724          <copyFile>          <copyFile>
# Line 510  Line 1187 
1187              <workingDirectory>${system_temp_directory}/xvid_x86</workingDirectory>              <workingDirectory>${system_temp_directory}/xvid_x86</workingDirectory>
1188              <ruleList>              <ruleList>
1189                  <platformTest>                  <platformTest>
1190                      <type>windows-7</type>                      <negate>1</negate>
1191                        <type>windows-xp</type>
1192                    </platformTest>
1193                    <platformTest>
1194                        <negate>1</negate>
1195                        <type>windows-vista</type>
1196                    </platformTest>
1197                    <platformTest>
1198                        <negate>1</negate>
1199                        <type>windows-9x</type>
1200                    </platformTest>
1201                    <platformTest>
1202                        <negate>1</negate>
1203                        <type>windows-2003</type>
1204                    </platformTest>
1205                    <platformTest>
1206                        <negate>1</negate>
1207                        <type>windows-2000</type>
1208                  </platformTest>                  </platformTest>
1209              </ruleList>              </ruleList>
1210          </runProgram>          </runProgram>
# Line 522  Line 1216 
1216              <workingDirectory>${system_temp_directory}/xvid_x64</workingDirectory>              <workingDirectory>${system_temp_directory}/xvid_x64</workingDirectory>
1217              <ruleList>              <ruleList>
1218                  <platformTest>                  <platformTest>
1219                      <type>windows-7</type>                      <negate>1</negate>
1220                        <type>windows-xp</type>
1221                    </platformTest>
1222                    <platformTest>
1223                        <negate>1</negate>
1224                        <type>windows-vista</type>
1225                    </platformTest>
1226                    <platformTest>
1227                        <negate>1</negate>
1228                        <type>windows-9x</type>
1229                    </platformTest>
1230                    <platformTest>
1231                        <negate>1</negate>
1232                        <type>windows-2003</type>
1233                    </platformTest>
1234                    <platformTest>
1235                        <negate>1</negate>
1236                        <type>windows-2000</type>
1237                  </platformTest>                  </platformTest>
1238                  <platformTest>                  <platformTest>
1239                      <type>windows-x64</type>                      <type>windows-x64</type>
# Line 533  Line 1244 
1244              <key>HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run</key>              <key>HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run</key>
1245              <name>Xvid</name>              <name>Xvid</name>
1246              <type>REG_SZ</type>              <type>REG_SZ</type>
1247              <value>${installdir}\CheckUpdate.exe</value>              <value>powershell.exe -nologo -WindowStyle hidden -Noninteractive -NoProfile -ExecutionPolicy Bypass -File "${installdir}\CheckUpdate.ps1"</value>
1248              <ruleList>              <ruleList>
1249                  <platformTest>                  <platformTest>
1250                      <type>windows</type>                      <type>windows</type>
# Line 549  Line 1260 
1260              <wowMode>64</wowMode>              <wowMode>64</wowMode>
1261              <ruleList>              <ruleList>
1262                  <platformTest>                  <platformTest>
1263                      <type>windows-7</type>                      <negate>1</negate>
1264                        <type>windows-xp</type>
1265                    </platformTest>
1266                    <platformTest>
1267                        <negate>1</negate>
1268                        <type>windows-vista</type>
1269                    </platformTest>
1270                    <platformTest>
1271                        <negate>1</negate>
1272                        <type>windows-9x</type>
1273                    </platformTest>
1274                    <platformTest>
1275                        <negate>1</negate>
1276                        <type>windows-2003</type>
1277                    </platformTest>
1278                    <platformTest>
1279                        <negate>1</negate>
1280                        <type>windows-2000</type>
1281                  </platformTest>                  </platformTest>
1282                  <platformTest>                  <platformTest>
1283                      <type>windows-x64</type>                      <type>windows-x64</type>
# Line 564  Line 1292 
1292              <wowMode>64</wowMode>              <wowMode>64</wowMode>
1293              <ruleList>              <ruleList>
1294                  <platformTest>                  <platformTest>
1295                      <type>windows-7</type>                      <negate>1</negate>
1296                        <type>windows-xp</type>
1297                    </platformTest>
1298                    <platformTest>
1299                        <negate>1</negate>
1300                        <type>windows-vista</type>
1301                    </platformTest>
1302                    <platformTest>
1303                        <negate>1</negate>
1304                        <type>windows-9x</type>
1305                    </platformTest>
1306                    <platformTest>
1307                        <negate>1</negate>
1308                        <type>windows-2003</type>
1309                    </platformTest>
1310                    <platformTest>
1311                        <negate>1</negate>
1312                        <type>windows-2000</type>
1313                  </platformTest>                  </platformTest>
1314                  <platformTest>                  <platformTest>
1315                      <type>windows-x64</type>                      <type>windows-x64</type>
# Line 579  Line 1324 
1324              <wowMode>32</wowMode>              <wowMode>32</wowMode>
1325              <ruleList>              <ruleList>
1326                  <platformTest>                  <platformTest>
1327                      <type>windows-7</type>                      <negate>1</negate>
1328                        <type>windows-xp</type>
1329                    </platformTest>
1330                    <platformTest>
1331                        <negate>1</negate>
1332                        <type>windows-vista</type>
1333                    </platformTest>
1334                    <platformTest>
1335                        <negate>1</negate>
1336                        <type>windows-9x</type>
1337                    </platformTest>
1338                    <platformTest>
1339                        <negate>1</negate>
1340                        <type>windows-2003</type>
1341                    </platformTest>
1342                    <platformTest>
1343                        <negate>1</negate>
1344                        <type>windows-2000</type>
1345                  </platformTest>                  </platformTest>
1346              </ruleList>              </ruleList>
1347          </registryDelete>          </registryDelete>
# Line 591  Line 1353 
1353              <wowMode>32</wowMode>              <wowMode>32</wowMode>
1354              <ruleList>              <ruleList>
1355                  <platformTest>                  <platformTest>
1356                      <type>windows-7</type>                      <negate>1</negate>
1357                        <type>windows-xp</type>
1358                    </platformTest>
1359                    <platformTest>
1360                        <negate>1</negate>
1361                        <type>windows-vista</type>
1362                    </platformTest>
1363                    <platformTest>
1364                        <negate>1</negate>
1365                        <type>windows-9x</type>
1366                    </platformTest>
1367                    <platformTest>
1368                        <negate>1</negate>
1369                        <type>windows-2003</type>
1370                    </platformTest>
1371                    <platformTest>
1372                        <negate>1</negate>
1373                        <type>windows-2000</type>
1374                  </platformTest>                  </platformTest>
1375              </ruleList>              </ruleList>
1376          </registryDelete>          </registryDelete>
# Line 605  Line 1384 
1384              <wowMode>64</wowMode>              <wowMode>64</wowMode>
1385              <ruleList>              <ruleList>
1386                  <platformTest>                  <platformTest>
1387                      <type>windows-7</type>                      <negate>1</negate>
1388                        <type>windows-xp</type>
1389                    </platformTest>
1390                    <platformTest>
1391                        <negate>1</negate>
1392                        <type>windows-vista</type>
1393                    </platformTest>
1394                    <platformTest>
1395                        <negate>1</negate>
1396                        <type>windows-9x</type>
1397                    </platformTest>
1398                    <platformTest>
1399                        <negate>1</negate>
1400                        <type>windows-2003</type>
1401                    </platformTest>
1402                    <platformTest>
1403                        <negate>1</negate>
1404                        <type>windows-2000</type>
1405                  </platformTest>                  </platformTest>
1406                  <platformTest>                  <platformTest>
1407                      <type>windows-x64</type>                      <type>windows-x64</type>
# Line 622  Line 1418 
1418              <wowMode>64</wowMode>              <wowMode>64</wowMode>
1419              <ruleList>              <ruleList>
1420                  <platformTest>                  <platformTest>
1421                      <type>windows-7</type>                      <negate>1</negate>
1422                        <type>windows-xp</type>
1423                    </platformTest>
1424                    <platformTest>
1425                        <negate>1</negate>
1426                        <type>windows-vista</type>
1427                    </platformTest>
1428                    <platformTest>
1429                        <negate>1</negate>
1430                        <type>windows-9x</type>
1431                    </platformTest>
1432                    <platformTest>
1433                        <negate>1</negate>
1434                        <type>windows-2003</type>
1435                    </platformTest>
1436                    <platformTest>
1437                        <negate>1</negate>
1438                        <type>windows-2000</type>
1439                  </platformTest>                  </platformTest>
1440                  <platformTest>                  <platformTest>
1441                      <type>windows-x64</type>                      <type>windows-x64</type>
# Line 639  Line 1452 
1452              <wowMode>32</wowMode>              <wowMode>32</wowMode>
1453              <ruleList>              <ruleList>
1454                  <platformTest>                  <platformTest>
1455                      <type>windows-7</type>                      <negate>1</negate>
1456                        <type>windows-xp</type>
1457                    </platformTest>
1458                    <platformTest>
1459                        <negate>1</negate>
1460                        <type>windows-vista</type>
1461                    </platformTest>
1462                    <platformTest>
1463                        <negate>1</negate>
1464                        <type>windows-9x</type>
1465                    </platformTest>
1466                    <platformTest>
1467                        <negate>1</negate>
1468                        <type>windows-2003</type>
1469                    </platformTest>
1470                    <platformTest>
1471                        <negate>1</negate>
1472                        <type>windows-2000</type>
1473                  </platformTest>                  </platformTest>
1474              </ruleList>              </ruleList>
1475          </registrySet>          </registrySet>
# Line 653  Line 1483 
1483              <wowMode>32</wowMode>              <wowMode>32</wowMode>
1484              <ruleList>              <ruleList>
1485                  <platformTest>                  <platformTest>
1486                      <type>windows-7</type>                      <negate>1</negate>
1487                        <type>windows-xp</type>
1488                    </platformTest>
1489                    <platformTest>
1490                        <negate>1</negate>
1491                        <type>windows-vista</type>
1492                    </platformTest>
1493                    <platformTest>
1494                        <negate>1</negate>
1495                        <type>windows-9x</type>
1496                    </platformTest>
1497                    <platformTest>
1498                        <negate>1</negate>
1499                        <type>windows-2003</type>
1500                    </platformTest>
1501                    <platformTest>
1502                        <negate>1</negate>
1503                        <type>windows-2000</type>
1504                  </platformTest>                  </platformTest>
1505              </ruleList>              </ruleList>
1506          </registrySet>          </registrySet>
# Line 767  Line 1614 
1614                  </platformTest>                  </platformTest>
1615              </ruleList>              </ruleList>
1616          </deleteFile>          </deleteFile>
1617            <registrySet>
1618                <abortOnError>0</abortOnError>
1619                <key>HKEY_CURRENT_USER\Software\GNU\XviD</key>
1620                <name>Supported_4CC</name>
1621                <showMessageOnError>0</showMessageOnError>
1622                <type>REG_DWORD</type>
1623                <value>${generic_mpeg4}</value>
1624            </registrySet>
1625            <runProgram>
1626                <program>${windows_folder_system}\msiexec.exe</program>
1627                <programArguments>/passive /i "${installdir.dos}\xvid-gstreamer-x86-2013.6.msi" "INSTALLDIR=${installdir.dos}\xvid-gstreamer"</programArguments>
1628                <show>0</show>
1629                <useMSDOSPath>0</useMSDOSPath>
1630            </runProgram>
1631            <runProgram>
1632                <explanation>Installing Xvid Web Player</explanation>
1633                <program>${windows_folder_system}\msiexec.exe</program>
1634                <programArguments>/passive /I "${installdir.dos}\XvidWebPlayer.msi" "INSTALLDIR=${installdir.dos}\xvid-gstreamer\0.10\x86\bin"</programArguments>
1635                <show>0</show>
1636                <useMSDOSPath>0</useMSDOSPath>
1637            </runProgram>
1638            <addDirectoryToPath>
1639                <insertAt>end</insertAt>
1640                <path>${installdir}\xvid-gstreamer\0.10\x86\bin</path>
1641            </addDirectoryToPath>
1642      </postInstallationActionList>      </postInstallationActionList>
1643      <preUninstallationActionList>      <preUninstallationActionList>
1644          <runProgram>          <runProgram>
# Line 784  Line 1656 
1656              <programArguments>setupapi.dll,InstallHinfSection Remove_XviD 132 ${windows_folder_windows}/inf/xvid.inf</programArguments>              <programArguments>setupapi.dll,InstallHinfSection Remove_XviD 132 ${windows_folder_windows}/inf/xvid.inf</programArguments>
1657              <ruleList>              <ruleList>
1658                  <platformTest>                  <platformTest>
1659                      <type>windows</type>                      <type>windows</type>
                 </platformTest>  
                 <platformTest>  
                     <negate>1</negate>  
                     <type>windows-xp</type>  
                 </platformTest>  
                 <platformTest>  
                     <negate>1</negate>  
                     <type>windows-2000</type>  
                 </platformTest>  
             </ruleList>  
         </runProgram>  
         <deleteFile>  
             <abortOnError>0</abortOnError>  
             <matchHiddenFiles>1</matchHiddenFiles>  
             <path>${windows_folder_system}/xvid.ax</path>  
             <ruleEvaluationLogic>or</ruleEvaluationLogic>  
             <showMessageOnError>0</showMessageOnError>  
             <ruleList>  
                 <platformTest>  
                     <type>windows-xp</type>  
                 </platformTest>  
                 <platformTest>  
                     <type>windows-2000</type>  
                 </platformTest>  
             </ruleList>  
         </deleteFile>  
         <deleteFile>  
             <abortOnError>0</abortOnError>  
             <matchHiddenFiles>1</matchHiddenFiles>  
             <path>${windows_folder_system}/xvidvfw.dll</path>  
             <ruleEvaluationLogic>or</ruleEvaluationLogic>  
             <showMessageOnError>0</showMessageOnError>  
             <ruleList>  
                 <platformTest>  
                     <type>windows-xp</type>  
                 </platformTest>  
                 <platformTest>  
                     <type>windows-2000</type>  
                 </platformTest>  
             </ruleList>  
         </deleteFile>  
         <deleteFile>  
             <abortOnError>0</abortOnError>  
             <matchHiddenFiles>1</matchHiddenFiles>  
             <path>${windows_folder_system}/xvidcore.dll</path>  
             <ruleEvaluationLogic>or</ruleEvaluationLogic>  
             <showMessageOnError>0</showMessageOnError>  
             <ruleList>  
                 <platformTest>  
                     <type>windows-2000</type>  
                 </platformTest>  
                 <platformTest>  
                     <type>windows-xp</type>  
                 </platformTest>  
             </ruleList>  
         </deleteFile>  
         <registrySet>  
             <abortOnError>0</abortOnError>  
             <key>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32</key>  
             <name>msacm.l3acm</name>  
             <showMessageOnError>0</showMessageOnError>  
             <type>REG_SZ</type>  
             <value>l3codeca.acm</value>  
             <wowMode>32</wowMode>  
             <ruleList>  
                 <fileExists>  
                     <path>${windows_folder_system}/l3codeca.acm</path>  
                 </fileExists>  
             </ruleList>  
         </registrySet>  
         <registrySet>  
             <abortOnError>0</abortOnError>  
             <key>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers.desc</key>  
             <name>l3codeca.acm</name>  
             <showMessageOnError>0</showMessageOnError>  
             <type>REG_SZ</type>  
             <value>Fraunhofer IIS MPEG Layer-3 Codec</value>  
             <wowMode>32</wowMode>  
             <ruleList>  
                 <fileExists>  
                     <path>${windows_folder_system}/l3codeca.acm</path>  
                 </fileExists>  
             </ruleList>  
         </registrySet>  
         <registryDelete>  
             <abortOnError>0</abortOnError>  
             <key>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers.desc</key>  
             <name>l3codecp.acm</name>  
             <showMessageOnError>0</showMessageOnError>  
             <wowMode>32</wowMode>  
             <ruleList>  
                 <fileExists>  
                     <path>${windows_folder_system}/l3codeca.acm</path>  
                 </fileExists>  
             </ruleList>  
         </registryDelete>  
         <registrySet>  
             <abortOnError>0</abortOnError>  
             <key>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\MediaResources\msacm\msacm.l3acm</key>  
             <name>Driver</name>  
             <ruleEvaluationLogic>or</ruleEvaluationLogic>  
             <showMessageOnError>0</showMessageOnError>  
             <type>REG_SZ</type>  
             <value>l3codeca.acm</value>  
             <wowMode>32</wowMode>  
             <ruleList>  
                 <platformTest>  
                     <type>windows-2000</type>  
                 </platformTest>  
                 <platformTest>  
                     <type>windows-2003</type>  
                 </platformTest>  
                 <platformTest>  
                     <type>windows-xp</type>  
                 </platformTest>  
                 <fileExists>  
                     <path>${windows_folder_system}/l3codeca.acm</path>  
                 </fileExists>  
             </ruleList>  
         </registrySet>  
         <wow64FsRedirection>  
             <action>disable</action>  
             <ruleList>  
                 <platformTest>  
                     <type>windows-x64</type>  
                 </platformTest>  
             </ruleList>  
         </wow64FsRedirection>  
         <runProgram>  
             <customErrorMessage>DirectShow filter (64-bit) unregister failed!</customErrorMessage>  
             <program>${windows_folder_windows}/system32/regsvr32.exe</program>  
             <programArguments>/s /u ${windows_folder_windows}/system32/xvid.ax</programArguments>  
             <workingDirectory>${windows_folder_windows}/system32</workingDirectory>  
             <ruleList>  
                 <platformTest type="windows-x64"/>  
             </ruleList>  
         </runProgram>  
         <runProgram>  
             <customErrorMessage>Failed to remove Xvid VfW Codec (64-bit)!</customErrorMessage>  
             <program>${windows_folder_windows}/system32/rundll32.exe</program>  
             <programArguments>setupapi.dll,InstallHinfSection Remove_XviD 132 ${installdir}/xvid.inf</programArguments>  
             <ruleList>  
                 <platformTest>  
                     <type>windows-x64</type>  
1660                  </platformTest>                  </platformTest>
1661                  <platformTest>                  <platformTest>
1662                      <negate>1</negate>                      <negate>1</negate>
1663                      <type>windows-xp</type>                      <type>windows-xp</type>
1664                  </platformTest>                  </platformTest>
1665                    <platformTest>
1666                        <negate>1</negate>
1667                        <type>windows-2000</type>
1668                    </platformTest>
1669              </ruleList>              </ruleList>
1670          </runProgram>          </runProgram>
1671          <deleteFile>          <deleteFile>
1672              <abortOnError>0</abortOnError>              <abortOnError>0</abortOnError>
1673              <matchHiddenFiles>1</matchHiddenFiles>              <matchHiddenFiles>1</matchHiddenFiles>
1674              <path>${windows_folder_windows}/system32/xvid.ax</path>              <path>${windows_folder_system}/xvid.ax</path>
1675                <ruleEvaluationLogic>or</ruleEvaluationLogic>
1676              <showMessageOnError>0</showMessageOnError>              <showMessageOnError>0</showMessageOnError>
1677              <ruleList>              <ruleList>
1678                  <platformTest>                  <platformTest>
1679                      <type>windows-x64</type>                      <type>windows-xp</type>
1680                  </platformTest>                  </platformTest>
1681                  <platformTest>                  <platformTest>
1682                      <type>windows-xp</type>                      <type>windows-2000</type>
1683                  </platformTest>                  </platformTest>
1684              </ruleList>              </ruleList>
1685          </deleteFile>          </deleteFile>
1686          <deleteFile>          <deleteFile>
1687              <abortOnError>0</abortOnError>              <abortOnError>0</abortOnError>
1688              <matchHiddenFiles>1</matchHiddenFiles>              <matchHiddenFiles>1</matchHiddenFiles>
1689              <path>${windows_folder_windows}/system32/xvidvfw.dll</path>              <path>${windows_folder_system}/xvidvfw.dll</path>
1690                <ruleEvaluationLogic>or</ruleEvaluationLogic>
1691              <showMessageOnError>0</showMessageOnError>              <showMessageOnError>0</showMessageOnError>
1692              <ruleList>              <ruleList>
1693                  <platformTest>                  <platformTest>
1694                      <type>windows-x64</type>                      <type>windows-xp</type>
1695                  </platformTest>                  </platformTest>
1696                  <platformTest>                  <platformTest>
1697                      <type>windows-xp</type>                      <type>windows-2000</type>
1698                  </platformTest>                  </platformTest>
1699              </ruleList>              </ruleList>
1700          </deleteFile>          </deleteFile>
1701          <deleteFile>          <deleteFile>
1702              <abortOnError>0</abortOnError>              <abortOnError>0</abortOnError>
1703              <matchHiddenFiles>1</matchHiddenFiles>              <matchHiddenFiles>1</matchHiddenFiles>
1704              <path>${windows_folder_windows}/system32/xvidcore.dll</path>              <path>${windows_folder_system}/xvidcore.dll</path>
1705                <ruleEvaluationLogic>or</ruleEvaluationLogic>
1706              <showMessageOnError>0</showMessageOnError>              <showMessageOnError>0</showMessageOnError>
1707              <ruleList>              <ruleList>
1708                  <platformTest>                  <platformTest>
1709                      <type>windows-x64</type>                      <type>windows-2000</type>
1710                  </platformTest>                  </platformTest>
1711                  <platformTest>                  <platformTest>
1712                      <type>windows-xp</type>                      <type>windows-xp</type>
1713                  </platformTest>                  </platformTest>
1714              </ruleList>              </ruleList>
1715          </deleteFile>          </deleteFile>
1716      </preUninstallationActionList>          <registrySet>
     <postUninstallationActionList>  
         <registryDelete>  
1717              <abortOnError>0</abortOnError>              <abortOnError>0</abortOnError>
1718              <key>HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run</key>              <key>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32</key>
1719              <name>Xvid</name>              <name>msacm.l3acm</name>
1720              <showMessageOnError>0</showMessageOnError>              <showMessageOnError>0</showMessageOnError>
1721                <type>REG_SZ</type>
1722                <value>l3codeca.acm</value>
1723                <wowMode>32</wowMode>
1724              <ruleList>              <ruleList>
1725                  <platformTest>                  <fileExists>
1726                      <type>windows</type>                      <path>${windows_folder_system}/l3codeca.acm</path>
1727                  </platformTest>                  </fileExists>
1728              </ruleList>              </ruleList>
1729          </registryDelete>          </registrySet>
1730          <deleteFile>          <registrySet>
1731              <abortOnError>0</abortOnError>              <abortOnError>0</abortOnError>
1732              <path>${windows_folder_common_programs}/${product_shortname}</path>              <key>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers.desc</key>
1733                <name>l3codeca.acm</name>
1734              <showMessageOnError>0</showMessageOnError>              <showMessageOnError>0</showMessageOnError>
1735                <type>REG_SZ</type>
1736                <value>Fraunhofer IIS MPEG Layer-3 Codec</value>
1737                <wowMode>32</wowMode>
1738              <ruleList>              <ruleList>
1739                  <platformTest>                  <fileExists>
1740                      <type>windows</type>                      <path>${windows_folder_system}/l3codeca.acm</path>
1741                  </platformTest>                  </fileExists>
1742              </ruleList>              </ruleList>
1743          </deleteFile>          </registrySet>
1744      </postUninstallationActionList>          <registryDelete>
1745      <compressionAlgorithm>lzma</compressionAlgorithm>              <abortOnError>0</abortOnError>
1746      <enableRollback>1</enableRollback>              <key>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers.desc</key>
1747      <enableTimestamp>1</enableTimestamp>              <name>l3codecp.acm</name>
1748      <requireInstallationByRootUser>1</requireInstallationByRootUser>              <showMessageOnError>0</showMessageOnError>
1749      <saveRelativePaths>1</saveRelativePaths>              <wowMode>32</wowMode>
1750      <startMenuGroupName>${product_shortname}</startMenuGroupName>              <ruleList>
1751      <updateInformationURL>http://update.xvid.org/update.xml</updateInformationURL>                  <fileExists>
1752      <vendor>Xvid Team</vendor>                      <path>${windows_folder_system}/l3codeca.acm</path>
1753      <versionId>132</versionId>                  </fileExists>
1754      <windowsExecutableIcon>xvid.ico</windowsExecutableIcon>              </ruleList>
1755      <windowsResourceFileVersion>1.3.2.0</windowsResourceFileVersion>          </registryDelete>
1756      <windowsResourceOriginalFilename>${product_shortname}-${product_version}-${platform_name}.${platform_exec_suffix}</windowsResourceOriginalFilename>          <registrySet>
1757      <componentList>              <abortOnError>0</abortOnError>
1758          <component>              <key>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\MediaResources\msacm\msacm.l3acm</key>
1759              <name>default</name>              <name>Driver</name>
1760              <description>Default Component</description>              <ruleEvaluationLogic>or</ruleEvaluationLogic>
1761              <canBeEdited>1</canBeEdited>              <showMessageOnError>0</showMessageOnError>
1762              <selected>1</selected>              <type>REG_SZ</type>
1763              <show>1</show>              <value>l3codeca.acm</value>
1764              <folderList>              <wowMode>32</wowMode>
1765                  <folder>              <ruleList>
1766                      <description>Program Files</description>                  <platformTest>
1767                      <destination>${installdir}</destination>                      <type>windows-2000</type>
1768                      <name>programfiles</name>                  </platformTest>
1769                      <platforms>all</platforms>                  <platformTest>
1770                      <shortcutList>                      <type>windows-2003</type>
1771                          <shortcut>                  </platformTest>
1772                              <comment>Uninstall</comment>                  <platformTest>
1773                              <exec>${installdir}/${uninstallerName}</exec>                      <type>windows-xp</type>
1774                              <icon></icon>                  </platformTest>
1775                              <name>Uninstall ${product_fullname}</name>                  <fileExists>
1776                              <path>${installdir}</path>                      <path>${windows_folder_system}/l3codeca.acm</path>
1777                              <platforms>all</platforms>                  </fileExists>
1778                              <runAsAdmin>0</runAsAdmin>              </ruleList>
1779                              <runInTerminal>0</runInTerminal>          </registrySet>
1780                              <windowsExec>${installdir}/${uninstallerName}.exe</windowsExec>          <wow64FsRedirection>
1781                              <windowsExecArgs></windowsExecArgs>              <action>disable</action>
1782                              <windowsIcon></windowsIcon>              <ruleList>
1783                              <windowsPath>${installdir}</windowsPath>                  <platformTest>
1784                          </shortcut>                      <type>windows-x64</type>
1785                      </shortcutList>                  </platformTest>
1786                  </folder>              </ruleList>
1787                  <folder>          </wow64FsRedirection>
1788                      <description>Program Files</description>          <runProgram>
1789                      <destination>${installdir}</destination>              <customErrorMessage>DirectShow filter (64-bit) unregister failed!</customErrorMessage>
1790                      <name>programfileslinux</name>              <program>${windows_folder_windows}/system32/regsvr32.exe</program>
1791                      <platforms>linux</platforms>              <programArguments>/s /u ${windows_folder_windows}/system32/xvid.ax</programArguments>
1792                  </folder>              <workingDirectory>${windows_folder_windows}/system32</workingDirectory>
                 <folder>  
                     <description>Program Files</description>  
                     <destination>${installdir}</destination>  
                     <name>programfileswindows</name>  
                     <platforms>windows</platforms>  
                     <distributionFileList>  
                         <distributionFile>  
                             <origin>../../../xvidcore/vfw/src/xvid.ico</origin>  
                         </distributionFile>  
                         <distributionFile>  
                             <origin>AviC.exe</origin>  
                         </distributionFile>  
                         <distributionFile>  
                             <origin>../../LICENSE</origin>  
                         </distributionFile>  
                         <distributionFile>  
                             <origin>MiniCalc.exe</origin>  
                         </distributionFile>  
                         <distributionFile>  
                             <origin>OGMCalc.exe</origin>  
                         </distributionFile>  
                         <distributionFile>  
                             <origin>releasenotes.txt</origin>  
                         </distributionFile>  
                         <distributionFile>  
                             <origin>vidccleaner.exe</origin>  
                         </distributionFile>  
                         <distributionFile>  
                             <origin>Xvid_Quant_Matrices.zip</origin>  
                         </distributionFile>  
                         <distributionFile>  
                             <origin>StatsReader.exe</origin>  
                         </distributionFile>  
                         <distributionFile>  
                             <origin>statsreader.txt</origin>  
                         </distributionFile>  
                         <distributionFile>  
                             <origin>xvid.inf</origin>  
                         </distributionFile>  
                         <distributionFile>  
                             <origin>xvid.ico</origin>  
                         </distributionFile>  
                         <distributionFile>  
                             <origin>autoupdate-windows.exe</origin>  
                         </distributionFile>  
                         <distributionFile>  
                             <origin>update.ini</origin>  
                         </distributionFile>  
                         <distributionFile>  
                             <origin>CheckUpdate.exe</origin>  
                         </distributionFile>  
                         <distributionFile>  
                             <origin>MiniConvert.exe</origin>  
                         </distributionFile>  
                     </distributionFileList>  
                     <shortcutList>  
                         <linkShortcut>  
                             <comment>Xvid Website</comment>  
                             <icon></icon>  
                             <name>xvidhomepage</name>  
                             <platforms>windows</platforms>  
                             <runAsAdmin>0</runAsAdmin>  
                             <runInTerminal>0</runInTerminal>  
                             <url>http://www.xvid.org/</url>  
                             <windowsIcon></windowsIcon>  
                         </linkShortcut>  
                     </shortcutList>  
                 </folder>  
                 <folder>  
                     <description>Program Files</description>  
                     <destination>${installdir}</destination>  
                     <name>programfilesosx</name>  
                     <platforms>osx</platforms>  
                 </folder>  
                 <folder>  
                     <description>Temp Directory (x86)</description>  
                     <destination>${system_temp_directory}/xvid_x86</destination>  
                     <name>tmp_x86</name>  
                     <platforms>windows</platforms>  
                     <distributionFileList>  
                         <distributionFile>  
                             <origin>../../../xvidcore/vfw/bin/xvidvfw.dll</origin>  
                         </distributionFile>  
                         <distributionFile>  
                             <origin>../../../xvidcore/vfw/bin/xvidcore.dll</origin>  
                         </distributionFile>  
                         <distributionFile>  
                             <origin>xvid.inf</origin>  
                         </distributionFile>  
                         <distributionFile>  
                             <origin>../../../xvidcore/dshow/bin/xvid.ax</origin>  
                         </distributionFile>  
                         <distributionFile>  
                             <origin>setpriv32.exe</origin>  
                         </distributionFile>  
                         <distributionFile>  
                             <origin>../../../xvidcore/dshow/bin/xvid_mft.ax</origin>  
                         </distributionFile>  
                         <distributionFile>  
                             <origin>setavi32.exe</origin>  
                         </distributionFile>  
                     </distributionFileList>  
                 </folder>  
                 <folder>  
                     <description>Temp Directory (x64)</description>  
                     <destination>${system_temp_directory}/xvid_x64</destination>  
                     <name>tmp_x64</name>  
                     <platforms>windows</platforms>  
                     <distributionFileList>  
                         <distributionFile>  
                             <origin>../../../xvidcore/dshow/bin/x64/xvid.ax</origin>  
                         </distributionFile>  
                         <distributionFile>  
                             <origin>../../../xvidcore/vfw/bin/x64/xvidcore.dll</origin>  
                         </distributionFile>  
                         <distributionFile>  
                             <origin>../../../xvidcore/vfw/bin/x64/xvidvfw.dll</origin>  
                         </distributionFile>  
                         <distributionFile>  
                             <origin>xvid.inf</origin>  
                         </distributionFile>  
                         <distributionFile>  
                             <origin>setpriv64.exe</origin>  
                         </distributionFile>  
                         <distributionFile>  
                             <origin>../../../xvidcore/dshow/bin/x64/xvid_mft.ax</origin>  
                         </distributionFile>  
                         <distributionFile>  
                             <origin>setavi64.exe</origin>  
                         </distributionFile>  
                     </distributionFileList>  
1793                      <ruleList>                      <ruleList>
1794                          <platformTest type="windows-x64"/>                          <platformTest type="windows-x64"/>
1795                      </ruleList>                      </ruleList>
1796                  </folder>          </runProgram>
1797              </folderList>          <runProgram>
1798              <startMenuShortcutList>              <customErrorMessage>Failed to remove Xvid VfW Codec (64-bit)!</customErrorMessage>
1799                  <startMenuShortcut>              <program>${windows_folder_windows}/system32/rundll32.exe</program>
1800                      <comment>Uninstall ${product_fullname}</comment>              <programArguments>setupapi.dll,InstallHinfSection Remove_XviD 132 ${installdir}/xvid.inf</programArguments>
1801                      <name>Uninstall ${product_fullname}</name>              <ruleList>
1802                      <runAsAdmin>0</runAsAdmin>                  <platformTest>
1803                      <runInTerminal>0</runInTerminal>                      <type>windows-x64</type>
1804                      <windowsExec>${installdir}/${uninstallerName}.exe</windowsExec>                  </platformTest>
1805                      <windowsExecArgs></windowsExecArgs>                  <platformTest>
1806                      <windowsIcon></windowsIcon>                      <negate>1</negate>
1807                      <windowsPath>${installdir}/</windowsPath>                      <type>windows-xp</type>
1808                  </startMenuShortcut>                  </platformTest>
1809                  <startMenuShortcut>              </ruleList>
1810                      <comment>Configure the Decoder properties</comment>          </runProgram>
1811                      <name>Configure Decoder</name>          <deleteFile>
1812                      <runAsAdmin>0</runAsAdmin>              <abortOnError>0</abortOnError>
1813                      <runInTerminal>0</runInTerminal>              <matchHiddenFiles>1</matchHiddenFiles>
1814                      <windowsExec>${windows_folder_system}/rundll32.exe</windowsExec>              <path>${windows_folder_windows}/system32/xvid.ax</path>
1815                      <windowsExecArgs>xvid.ax,Configure</windowsExecArgs>              <showMessageOnError>0</showMessageOnError>
1816                      <windowsIcon>${installdir}/xvid.ico</windowsIcon>              <ruleList>
1817                      <windowsPath></windowsPath>                  <platformTest>
1818                  </startMenuShortcut>                      <type>windows-x64</type>
1819                  <startMenuShortcut>                  </platformTest>
1820                      <comment>Configure the encoder properties</comment>                  <platformTest>
1821                      <name>Configure Encoder</name>                      <type>windows-xp</type>
1822                      <runAsAdmin>0</runAsAdmin>                  </platformTest>
1823                      <runInTerminal>0</runInTerminal>              </ruleList>
1824                      <windowsExec>${windows_folder_system}/rundll32.exe</windowsExec>          </deleteFile>
1825                      <windowsExecArgs>xvidvfw.dll,Configure</windowsExecArgs>          <deleteFile>
1826                      <windowsIcon>${installdir}/xvid.ico</windowsIcon>              <abortOnError>0</abortOnError>
1827                      <windowsPath></windowsPath>              <matchHiddenFiles>1</matchHiddenFiles>
1828                  </startMenuShortcut>              <path>${windows_folder_windows}/system32/xvidvfw.dll</path>
1829                  <startMenuFileShortcut>              <showMessageOnError>0</showMessageOnError>
1830                      <comment>Important notes concerning this Xvid build</comment>              <ruleList>
1831                      <filePath>${installdir}/releasenotes.txt</filePath>                  <platformTest>
1832                      <name>Release Notes</name>                      <type>windows-x64</type>
1833                      <runAsAdmin>0</runAsAdmin>                  </platformTest>
1834                      <runInTerminal>0</runInTerminal>                  <platformTest>
1835                      <windowsIcon></windowsIcon>                      <type>windows-xp</type>
1836                  </startMenuFileShortcut>                  </platformTest>
1837                  <startMenuShortcut>              </ruleList>
1838                      <comment>Check whether a new update for Xvid is available</comment>          </deleteFile>
1839                      <name>Check for Updates</name>          <deleteFile>
1840                      <runAsAdmin>0</runAsAdmin>              <abortOnError>0</abortOnError>
1841                      <runInTerminal>0</runInTerminal>              <matchHiddenFiles>1</matchHiddenFiles>
1842                      <windowsExec>${installdir}/autoupdate-windows.exe</windowsExec>              <path>${windows_folder_windows}/system32/xvidcore.dll</path>
1843                      <windowsExecArgs></windowsExecArgs>              <showMessageOnError>0</showMessageOnError>
1844                      <windowsIcon></windowsIcon>              <ruleList>
1845                      <windowsPath>${installdir}/</windowsPath>                  <platformTest>
1846                  </startMenuShortcut>                      <type>windows-x64</type>
1847                  <startMenuLinkShortcut>                  </platformTest>
1848                      <comment>Link to the Xvid homepage</comment>                  <platformTest>
1849                      <name>Xvid Homepage</name>                      <type>windows-xp</type>
1850                      <runAsAdmin>0</runAsAdmin>                  </platformTest>
1851                      <runInTerminal>0</runInTerminal>              </ruleList>
1852                      <url>http://www.xvid.org</url>          </deleteFile>
1853                      <windowsIcon></windowsIcon>          <runProgram>
1854                  </startMenuLinkShortcut>              <program>${windows_folder_system}\msiexec.exe</program>
1855                  <startMenuFolder>              <programArguments>/passive /x "${installdir.dos}\XvidWebPlayer.msi" "INSTALLDIR=${installdir.dos}\xvid-gstreamer\0.10\x86\bin"</programArguments>
1856                      <name>Advanced</name>              <useMSDOSPath>0</useMSDOSPath>
1857                      <platforms>windows</platforms>          </runProgram>
1858                      <startMenuShortcutList>          <runProgram>
1859                          <startMenuShortcut>              <program>${windows_folder_system}\msiexec.exe</program>
1860                              <comment>Quickly change the FourCC of your AVI files</comment>              <programArguments>/passive /x "${installdir.dos}\xvid-gstreamer-x86-2013.6.msi" "INSTALLDIR=${installdir.dos}\xvid-gstreamer"</programArguments>
1861                              <name>Nic's FourCC Changer</name>              <useMSDOSPath>0</useMSDOSPath>
1862                              <runAsAdmin>0</runAsAdmin>          </runProgram>
1863                              <runInTerminal>0</runInTerminal>          <removeDirectoryFromPath>
1864                              <windowsExec>${installdir}/AviC.exe</windowsExec>              <path>${installdir}\xvid-gstreamer\0.10\x86\bin</path>
1865                              <windowsExecArgs></windowsExecArgs>          </removeDirectoryFromPath>
1866                              <windowsIcon></windowsIcon>      </preUninstallationActionList>
1867                              <windowsPath>${installdir}/</windowsPath>      <postUninstallationActionList>
1868                          </startMenuShortcut>          <registryDelete>
1869                          <startMenuFileShortcut>              <abortOnError>0</abortOnError>
1870                              <comment>A selection of custom quant matrices</comment>              <key>HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run</key>
1871                              <filePath>${installdir}/Xvid_Quant_Matrices.zip</filePath>              <name>Xvid</name>
1872                              <name>Some Quantization Matrices</name>              <showMessageOnError>0</showMessageOnError>
1873                              <runAsAdmin>0</runAsAdmin>              <ruleList>
1874                              <runInTerminal>0</runInTerminal>                  <platformTest>
1875                              <windowsIcon></windowsIcon>                      <type>windows</type>
1876                          </startMenuFileShortcut>                  </platformTest>
1877                          <startMenuShortcut>              </ruleList>
1878                              <comment>Check the first pass size and more</comment>          </registryDelete>
1879                              <name>StatsReader 2.1</name>          <deleteFile>
1880                              <runAsAdmin>0</runAsAdmin>              <abortOnError>0</abortOnError>
1881                              <runInTerminal>0</runInTerminal>              <path>${windows_folder_common_programs}/${product_shortname}</path>
1882                              <windowsExec>${installdir}/StatsReader.exe</windowsExec>              <showMessageOnError>0</showMessageOnError>
1883                              <windowsExecArgs></windowsExecArgs>              <ruleList>
1884                              <windowsIcon></windowsIcon>                  <platformTest>
1885                              <windowsPath>${installdir}/</windowsPath>                      <type>windows</type>
1886                          </startMenuShortcut>                  </platformTest>
1887                          <startMenuFileShortcut>              </ruleList>
1888                              <comment>Documentation for the StatsReader</comment>          </deleteFile>
1889                              <filePath>${installdir}/statsreader.txt</filePath>      </postUninstallationActionList>
1890                              <name>StatsReader Notes</name>      <compressionAlgorithm>lzma</compressionAlgorithm>
1891                              <runAsAdmin>0</runAsAdmin>      <enableRollback>1</enableRollback>
1892                              <runInTerminal>0</runInTerminal>      <enableTimestamp>1</enableTimestamp>
1893                              <windowsIcon></windowsIcon>      <requireInstallationByRootUser>1</requireInstallationByRootUser>
1894                          </startMenuFileShortcut>      <saveRelativePaths>1</saveRelativePaths>
1895                          <startMenuShortcut>      <startMenuGroupName>${product_shortname}</startMenuGroupName>
1896                              <comment>An AVI bitrate calculator</comment>      <vendor>Xvid Team</vendor>
1897                              <name>Nic's MiniCalc</name>      <windowsExecutableIcon>xvid.ico</windowsExecutableIcon>
1898                              <runAsAdmin>0</runAsAdmin>      <windowsResourceFileVersion>1.4.0.0</windowsResourceFileVersion>
1899                              <runInTerminal>0</runInTerminal>      <windowsResourceOriginalFilename>${product_shortname}-${product_version}-${platform_name}.${platform_exec_suffix}</windowsResourceOriginalFilename>
                             <windowsExec>${installdir}/MiniCalc.exe</windowsExec>  
                             <windowsExecArgs></windowsExecArgs>  
                             <windowsIcon></windowsIcon>  
                             <windowsPath>${installdir}/</windowsPath>  
                         </startMenuShortcut>  
                     </startMenuShortcutList>  
                 </startMenuFolder>  
                 <startMenuShortcut>  
                     <comment>Simple media converter to create Xvid videos</comment>  
                     <name>Xvid MiniConvert</name>  
                     <runAsAdmin>0</runAsAdmin>  
                     <runInTerminal>0</runInTerminal>  
                     <windowsExec>${installdir}/MiniConvert.exe</windowsExec>  
                     <windowsExecArgs></windowsExecArgs>  
                     <windowsIcon></windowsIcon>  
                     <windowsPath>${installdir}/</windowsPath>  
                 </startMenuShortcut>  
             </startMenuShortcutList>  
         </component>  
     </componentList>  
1900      <parameterList>      <parameterList>
1901          <directoryParameter>          <directoryParameter>
1902              <name>installdir</name>              <name>installdir</name>
# Line 1361  Line 1950 
1950                  </registryTest>                  </registryTest>
1951              </ruleList>              </ruleList>
1952          </choiceParameter>          </choiceParameter>
1953            <parameterGroup>
1954                <name>decoder_configuration</name>
1955                <title>Decoder Configuration</title>
1956                <explanation>Use Xvid to play back also the following media types:</explanation>
1957                <value></value>
1958                <default></default>
1959                <parameterList>
1960                    <booleanParameter>
1961                        <name>decode_divx</name>
1962                        <title>DIVX</title>
1963                        <description>DIVX</description>
1964                        <explanation></explanation>
1965                        <value></value>
1966                        <default></default>
1967                        <displayStyle>checkbox-left</displayStyle>
1968                    </booleanParameter>
1969                    <booleanParameter>
1970                        <name>decode_3ivx</name>
1971                        <title>3IVX</title>
1972                        <description>3IVX</description>
1973                        <explanation></explanation>
1974                        <value></value>
1975                        <default></default>
1976                        <displayStyle>checkbox-left</displayStyle>
1977                    </booleanParameter>
1978                    <booleanParameter>
1979                        <name>decode_other</name>
1980                        <title>Other MPEG-4</title>
1981                        <description>Other MPEG-4</description>
1982                        <explanation></explanation>
1983                        <value></value>
1984                        <default></default>
1985                        <displayStyle>checkbox-left</displayStyle>
1986                    </booleanParameter>
1987                </parameterList>
1988                <ruleList>
1989                    <fileExists>
1990                        <negate>1</negate>
1991                        <path>${installdir}/update.ini</path>
1992                    </fileExists>
1993                </ruleList>
1994            </parameterGroup>
1995      </parameterList>      </parameterList>
1996      <platformOptionsList>      <platformOptionsList>
1997          <platformOptions>          <platformOptions>

Legend:
Removed from v.2008  
changed lines
  Added in v.2126

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4