Difference between revisions of "UltraVNC"
From WPKG | Open Source Software Deployment and Distribution
m |
|||
Line 22: | Line 22: | ||
<install cmd='%SOFTWARE%\UltraVNC-102-Setup.exe /verysilent /norestart /SP-' /> | <install cmd='%SOFTWARE%\UltraVNC-102-Setup.exe /verysilent /norestart /SP-' /> | ||
<install cmd='%ProgramFiles%\UltraVNC\winvnc.exe -sinstall' /> | <install cmd='%ProgramFiles%\UltraVNC\winvnc.exe -sinstall' /> | ||
− | <install cmd='%ProgramFiles%\UltraVNC\winvnc.exe | + | <install cmd='%ProgramFiles%\UltraVNC\winvnc.exe -servicehelper' /> |
<upgrade cmd='%SOFTWARE%\UltraVNC-102-Setup.exe /verysilent /norestart /SP-' /> | <upgrade cmd='%SOFTWARE%\UltraVNC-102-Setup.exe /verysilent /norestart /SP-' /> | ||
<remove cmd='%ProgramFiles%\UltraVNC\winvnc.exe -remove' /> | <remove cmd='%ProgramFiles%\UltraVNC\winvnc.exe -remove' /> |
Revision as of 18:49, 27 March 2008
This is a silent installer and uninstaller for distrubution of UltraVNC.
<package id="ultravnc" name="UltraVNC v1.0.1" revision="1" reboot="false" priority="10"> <check type="uninstall" condition="exists" path="UltraVNC v1.0.1" /> <install cmd='%SOFTWARE%\ultravnc\UltraVNC-101-Setup.exe /norestart /silent' /> <upgrade cmd='%SOFTWARE%\ultravnc\UltraVNC-101-Setup.exe /norestart /silent' /> <remove cmd='%ProgramFiles%\UltraVNC\unins000.exe /SILENT' /> </package>
<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 change the defaults by saving an inf file during a setup and retrieve them later during deployment.
Simply add /saveinf=filename.inf and later /loadinf=filename.inf to the UltraVNC-101-Setup.exe command.
There is a problem with installation of UltraVNC Mirror Driver on some computers - installation freezes.
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