Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

silent upgrade ultravnc server batch

Post Reply
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

silent upgrade ultravnc server batch

Post by redge »

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
Post Reply