Changes

TightVNC

9 bytes added, 17:06, 25 May 2007
m
no edit summary
<package id="tightvnc" name="TightVNC server" revision="129" priority="50" reboot="false">
<check type="uninstall" condition="exists" path="TightVNC 1.3.8" />
<install cmd="%PACKAGESSOFTWARE%\tightvnc\tightvnc-1.3.8-setup.exe /sp- /verysilent" />
<install cmd="%ProgramFiles%\TightVNC\WinVNC.exe -reinstall" />
<install cmd="%ProgramFiles%\TightVNC\WinVNC.exe -servicehelper" />
<install cmd='cmd /c netsh firewall add allowedprogram program = %ProgramFiles%\TightVNC\WinVNC.exe name = "Launch TightVNC Server"' />
<upgrade cmd='%PACKAGESSOFTWARE%\tightvnc-1.3.8-setup.exe /sp- /verysilent' ><exit code="0" reboot="true" /></upgrade>
<upgrade cmd="%ProgramFiles%\TightVNC\WinVNC.exe -reinstall" />
<upgrade cmd="%ProgramFiles%\TightVNC\WinVNC.exe -servicehelper" />
<package id="tightvnc-settings" name="TightVNC server settings" revision="3" priority="5" reboot="false" execute="once">
<depends package-id="tightvnc"/>
<install cmd='cmd /c "%WPKGROOTSOFTWARE%\packagestightvnc\tightvnc.bat"' /> <upgrade cmd='cmd /c "%WPKGROOTSOFTWARE%\packagestightvnc\tightvnc.bat"' />
<remove cmd='echo "nothing"' />
</package>
::
net stop "VNC Server"
regedit /s %WPKGROOTSOFTWARE%\packagestightvnc\tightvnc.reg
net start "VNC Server"