silent upgrade ultravnc server batch

Find help for Frequently Asked Questions here - please look here first before posting an already answered question.

silent upgrade ultravnc server batch

Postby redge » 2010-01-23 01:12

If you want to install the server only (ultravnc server 1.0.8.x), no drivers
you require

ultravnc.ini (created at first run of winvnc.exe if not exist, set password)
winvnc.exe (ultravnc server)
schook.dll (required only for vista/7/2008)
cad.exe (light saslibrary for service system Ctrl-Alt+Del required only for vista/7/2008)
vnchooks.dll (poll forground window, less cpu usage)
zip32.dll (optional for FileTransfer folders old version uvnc <1.0.8.x)
unzip32.dll (optional for FileTransfer old version uvnc <1.0.8.x)

unzip32.dll + zip32.dll are removed separate file, integrated in code if i'm not wrong.

You need a network shared drive that you stored all the files on and then wrote a batch file that creates the folder, copies the files, opens the ports on the firewall and then installs the service.

[syntax="batch"]
@echo off
IF EXIST "%programfiles%\UltraVNC\winvnc.exe" GOTO END
cd "%programfiles%"
mkdir UltraVNC
copy "\\networkdrive\UltraVNC\ultravnc.ini" "%programfiles%\UltraVNC\ultravnc.ini"
copy "\\networkdrive\UltraVNC\unzip32.dll" "%programfiles%\UltraVNC\unzip32.dll"
copy "\\networkdrive\UltraVNC\winvnc.exe" "%programfiles%\UltraVNC\winvnc.exe"
copy "\\networkdrive\UltraVNC\zip32.dll" "%programfiles%\UltraVNC\zip32.dll"
copy "\\networkdrive\UltraVNC\cad.exe" "%programfiles%\UltraVNC\cad.exe"
copy "\\networkdrive\UltraVNC\SCHook.dll" "%programfiles%\UltraVNC\SCHook.dll"
netsh firewall set portopening protocol=TCP port=5800 name=vnc5800 mode=ENABLE profile=All
netsh firewall set portopening protocol=TCP port=5900 name=vnc5900 mode=ENABLE profile=All
cd "%programfiles%\ultravnc"
start "" "winvnc.exe" -install
END
[/syntax]


informations from user eurobrew and developer Rudi De Vos
Last edited by redge on 2010-02-04 20:53, edited 4 times in total.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
redge
Super-Mod
Super-Mod
 
Posts: 6815
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Return to FAQ

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest