==Package file==
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package id="tightvnc" name="TightVNC server" revision="202" priority="50" reboot="false">
<check type="uninstall" condition="exists" path="TightVNC 2.0.2" />
<!-- Uninstall TightVNC 1.x first --> <install cmd='"%ProgramFiles%\TightVNC\unins000.exe" /sp- /silent /norestart' > <exit code="any" /> </install>
<install cmd='"%SOFTWARE%\Tools\RemoteControl\Tight.VNC.2.0.2\tightvnc-2.0.2-setup.exe" /S' /> <install cmd='"%ProgramFiles%\TightVNC\tvnserver" -install -silent' > <exit code="1" /> <exit code="0" /> </install> <install cmd='"%ProgramFiles%\TightVNC\tvnserver" -stop -silent' /> <install cmd='regedit /s "%SOFTWARE%\Tools\RemoteControl\Tight.VNC.2.0.2\settings.reg"' /> <install cmd='"%ProgramFiles%\TightVNC\tvnserver" -start -silent' /> <upgrade cmd='"%SOFTWARE%\Tools\RemoteControl\Tight.VNC.2.0.2\tightvnc-2.0.2-setup.exe" /S' /> <upgrade cmd='"%ProgramFiles%\TightVNC\tvnserver" -reinstall -silent' /> <upgrade cmd='"%ProgramFiles%\TightVNC\tvnserver" -stop -silent' /> <upgrade cmd='regedit /s "%SOFTWARE%\Tools\RemoteControl\Tight.VNC.2.0.2\settings.reg"' /> <upgrade cmd='"%ProgramFiles%\TightVNC\tvnserver" -start -silent' /> <remove cmd='"%ProgramFiles%\TightVNC\uninstall.exe" /sp- /silent /norestart' /></package>
<upgrade cmd='"%SOFTWARE%\Tools\RemoteControl\Tight.VNC.2.0.2\tightvnc-2.0.2-setup.exe" /S' />
<upgrade cmd='"%ProgramFiles%\TightVNC\tvnserver" -reinstall -silent' />
<upgrade cmd='"%ProgramFiles%\TightVNC\tvnserver" -stop -silent' />
<upgrade cmd='regedit /s "%SOFTWARE%\Tools\RemoteControl\Tight.VNC.2.0.2\settings.reg"' />
<upgrade cmd='"%ProgramFiles%\TightVNC\tvnserver" -start -silent' />
<remove cmd='"%ProgramFiles%\TightVNC\uninstall.exe" /sp- /silent /norestart' />
</package>
</packages>
</source>