UVNC 105 Unattended Installation

Here you will find help for frequently asked questions as well as for your specific question.

UVNC 105 Unattended Installation

Postby drewgraham » 2008-09-30 15:28

I fond this 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

Re: UVNC 105 Unattended Installation

Postby drewgraham » 2008-10-01 20:51

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.
drewgraham
8
8
 
Posts: 21
Joined: 2005-10-29 12:30

Re: UVNC 105 Unattended Installation

Postby Emdy » 2008-10-02 10:41

hi drewgraham, thanks, i will further modify and try out your way for this reason soon, then let u know my feedback.
~ Emdy.
Emdy
20
20
 
Posts: 33
Joined: 2008-09-19 08:27
Location: Los Angeles, USA


Return to General help

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 2 guests

cron