Difference between revisions of "UltraVNC"
m (→Basic XML package for UltraVNC) |
m (→Basic XML package for UltraVNC) |
||
Line 1: | Line 1: | ||
This is a silent installer and uninstaller for distrubution of UltraVNC. | This is a silent installer and uninstaller for distrubution of UltraVNC. | ||
− | == | + | == Package for UltraVNC 1.0.2 == |
<source lang="xml"> | <source lang="xml"> | ||
Line 23: | Line 23: | ||
There is a problem with installation of UltraVNC Mirror Driver on some computers - installation freezes. | There is a problem with installation of UltraVNC Mirror Driver on some computers - installation freezes. | ||
+ | |||
+ | == Package for UltraVNC 1.0.5 == | ||
+ | |||
+ | TODO | ||
== Ultra VNC Mirror driver == | == Ultra VNC Mirror driver == |
Revision as of 19:16, 4 September 2008
This is a silent installer and uninstaller for distrubution of UltraVNC.
Contents
Package for UltraVNC 1.0.2
<package
id="ultravnc102"
name="Ultravnc 1.0.2"
revision="1"
reboot="false"
priority="2">
<check type="uninstall" condition="exists" path="UltraVNC v1.0.2" />
<install cmd='%SOFTWARE%\UltraVNC-102-Setup.exe /verysilent /norestart /SP-' />
<install cmd='%ProgramFiles%\UltraVNC\winvnc.exe -sinstall' />
<install cmd='%ProgramFiles%\UltraVNC\winvnc.exe -servicehelper' />
<upgrade cmd='%SOFTWARE%\UltraVNC-102-Setup.exe /verysilent /norestart /SP-' />
<remove cmd='%ProgramFiles%\UltraVNC\winvnc.exe -remove' />
<remove cmd='%ProgramFiles%\UltraVNC\unins000.exe /SILENT' />
</package>
Note that you can save changes to the defaults by saving an inf file during setup (by using the /saveinf=filename.inf switch), then retrieve them during deployment (using the /loadinf=filename.inf switch).
There is a problem with installation of UltraVNC Mirror Driver on some computers - installation freezes.
Package for UltraVNC 1.0.5
TODO
Ultra VNC Mirror driver
UltraVncDriverSetupSilent.exe /verysilent /norestart /SP-
Available from http://www.uvnc.com/download/
- Did anyone get it working with /loadinf? For me, it just igores, whatever is in the file.
easier to just export the registry from [HKEY_LOCAL_MACHINE\SOFTWARE\ORL\WinVNC3\Default]
<install cmd='regedit.exe /s %SOFTWARE%\vnc_settings.reg' />
Notes
- if you want to test the silent installation and you log in over RDP, installation will hand during the installation of the Mirror driver
- settings in /loadinf seems to be ignored during silent installation - you can't exclude the Mirror Driver this way
Alternative installation
I couldn't install it with the UltraVNC installer on some machines - it was hanging all the time.
Here's a batch script which:
- copies UltraVNC directory to %PROGRAMFILES% (available in UltraVNC-102-Bin.zip)
- removes the service - if you had any other VNC servers installed in the past, this step might be helpful to avoid potential conflicts
- adds the service
- adds registry entries - after configuring the server (password, access etc., copy \\HKEY_LOCAL_MACHINE\SOFTWARE\ORL\WinVNC3\)
- starts the service
- uses "echo" to exit with code 0
%SOFTWARE%\robocopy %SOFTWARE%\UltraVNC\UltraVNC C:\Programme\UltraVNC /MIR /W:3 /R:3 >nul
C:\Programme\UltraVNC\winvnc.exe -remove
C:\Programme\UltraVNC\winvnc.exe -sinstall
regedit /s %SOFTWARE%\UltraVNC\VNCHooks_Settings.reg
regedit /s %SOFTWARE%\UltraVNC\ultravnc.reg
net start WinVNC
echo
Windows Firewall
When installing silently the Windows Firewall won't prompt you to allow the VNC Server. You can script allowing traffic to the VNC server (on TCP port 5900, from all sources) using:
netsh firewall add portopening TCP 5900 "VNC server" enable all