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

UVNC 105 Unattended Installation

Post Reply
drewgraham
8
8
Posts: 21
Joined: 2005-10-29 12:30
Contact:

UVNC 105 Unattended Installation

Post by drewgraham »

I fond [post=52193]this post[/post] on unintended installations, and it references a config.ini file.

How do I create such a file, and what's the command for the installation to use it? I can't find it in a search or in the documentation.

I plan to set up a remote, server only, Vista add-on and mirror driver installation, copy the encryption files to the installation directory, copy the ultravnc.ini file, the register and start the service via a batch / vb script.
drewgraham
8
8
Posts: 21
Joined: 2005-10-29 12:30
Contact:

Re: UVNC 105 Unattended Installation

Post by drewgraham »

The technique I've ended up using is a batch file to move the files to a local location, and then another to conduct the installation:

start.cmd

Code: Select all

@echo off
:declare variabes
set random03=%random%

:copy all files to temp local location
cd %userprofile%
md "%temp%\%random03%\"
copy "\\server\ClientApps\UVNC105\*.*" "%temp%\%random03%\"
cd "%temp%\%random03%\"

InstallUVNC.cmd
exit
installuvnc.cmd

Code: Select all

@echo off

:install uvnc
echo Installing Ultra VNC...
UltraVNC_105_Setup_W32.exe /silent /loadinf="uvncinstall.inf" /log
echo.
echo Copying Encryption Files...
echo.
copy MSRC4Plugin.dsm "%programfiles%\UVNC" /y
copy rc4.key "%programfiles%\UVNC" /y
echo.
echo Copying Configuration Files...
echo.
copy ultravnc.ini "%programfiles%\UVNC" /y
echo.
echo Starting Service...
echo.
net start uvnc_service
echo.
echo Program Installed.
echo.

:remove temp files
cd %userprofile%
del "%temp%\%random03%\*.*" /q
rd "%temp%\%random03%"
:pause
exit
uvncinstall.inf

Code: Select all

[Setup]
Lang=en
Dir=C:\Program Files\UVNC
Group=UltraVNC
NoIcons=0
SetupType=server
Components=ultravnc_server
Tasks=installservice
Hope that helps someone. Improvements and comments welcome.
Emdy
20
20
Posts: 33
Joined: 2008-09-19 08:27
Location: Los Angeles, USA

Re: UVNC 105 Unattended Installation

Post by Emdy »

hi drewgraham, thanks, i will further modify and try out your way for [post=53193]this[/post] reason soon, then let u know my feedback.
~ Emdy.
Post Reply