Changes

Vlc

52 bytes added, 19:08, 12 March 2008
m
no edit summary
The second install command removes the desktop shortcut (the path may have to be changed to a localized name).
 <presource lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
</package>
</packages>
</presource>
Upgrade is also possible, but then the installer asks (not silently) to remove the old version - so it is needed to insert two <upgrade /> statements: one for remove the old one (as <remove /> above) and one for install it (as <install /> above).
So I did a small workaround for that:
<presource lang="xml">
<?xml version="1.0" encoding="utf-8" ?>
<packages>
</package>
</packages>
</presource>
I am using these scripts (unattended.cmd, unattended-uninstall.cmd) because they need to perform some more actions. Here are the contents:
unattended.cmd
<presource lang="dos">
@echo off
exit /B %EXIT_CODE%
</presource>
As you can see it calls unattended-uninstall.cmd prior to installation (any time!). The evaluation of PROG_FILES assures that it installs the 32-bit VLC player always to the correct program files directory also on 64-bit systems.