TightVNC 2.7 For Windows Installing From MSI Packages
TightVNC 2.7 For Windows Installing From MSI Packages
TightVNC is distributed as a Microsoft Windows Installer (MSI) file. These files can be installed in
two ways.
• Using the installation wizard
Simply double-click an MSI file in the file explorer and follow the on-screen instructions.
• Silent (unattended) installation
With this option, you can automate TightVNC installation on one or multiple computers as it
does not require user input. Simply create a script that automatically installs TightVNC, or
install it through a terminal connection (for example, Telnet).
All available options for silent installation are found below.
System Requirements
TightVNC runs basically on any version of Windows:
• Windows XP / Vista / 7 / 8
• Windows Server 2003 / 2008 / 2008 R2 / 2012
Both 32-bit (x86) and 64-bit (x64) systems are supported.
There are no minimum disk space or RAM requirements. TightVNC uses so little space and
memory that it can run anywhere Windows is running.
Silent Installation
To install an MSI package silently from the command line, you should run the msiexec tool with /i
and /quiet options (where /i stands for install, /quiet sets silent mode). For TightVNC, it would be a
good idea to add the /norestart option, to prevent rebooting the system after installing the software.
If everything is good, TightVNC installation should not require restart even if its previous version is
running as a service. The installer should upgrade the system correctly, by shutting down old
service, installing the files and then starting new service.
Here is the simplest example of installing TightVNC in a silent mode:
• msiexec /i tightvnc-2.7.1-setup-64bit.msi /quiet /norestart
This command should install TightVNC with default settings. However, MSI allows you to
customize installation via so called MSI properties. The general syntax is the following:
• msiexec /i tightvnc-2.7.1-setup-64bit.msi /quiet /norestart
PROPERTY1=value1 PROPERTY2=value2 PROPERTY3=value3
There is a number of standard properties which are supported by every package (e.g. ADDLOCAL
for selecting components to be installed). Also, each package can add its own MSI properties to
perform some package-dependent customization. In next sections, all TightVNC-specific MSI
properties will be documented.
Components to Install
If you would like to install a specific component of TightVNC, use the standard MSI property
named ADDLOCAL. The following three commands install only the server part, only the client part
and both parts, correspondingly:
• msiexec /i tightvnc-2.7.1-setup-64bit.msi /quiet /norestart
ADDLOCAL=Server
• msiexec /i tightvnc-2.7.1-setup-64bit.msi /quiet /norestart
ADDLOCAL=Viewer
• msiexec /i tightvnc-2.7.1-setup-64bit.msi /quiet /norestart
ADDLOCAL="Server,Viewer"
For example:
"0.0.0.0-255.255.255.255:2" – set the query action for all
incoming connections.
Default value: ""
SET_LOCALINPUTPRIORITY 0 – allow remote input on local activity Server/Input Handling
1 – block remote input on local activity
VALUE_OF_LOCALINPUTPRIORITY
Default value: 0
SET_LOCALINPUTPRIORITYTIMEOUT Allows to change inactivity time (in seconds) belonged Server/Input Handling
with the option "Block remote input on local activity"
VALUE_OF_LOCALINPUTPRIORITYTIMEOUT
Type: DWORD
Default value: 3
SET_LOGLEVEL Log verbosity level Administration/Logging
Value range: 0-9 (0 – disable logging)
VALUE_OF_LOGLEVEL
Default value: 0
SET_LOOPBACKONLY 0 – allow Access Control/Loopback
1 – allow only loopback connections Connections
VALUE_OF_LOOPBACKONLY
Default value: 0
SET_NEVERSHARED Defines server behaviors on a new connection Administration/Session
0 – allow shared connections Sharing
VALUE_OF_NEVERSHARED
1 – never treat new connection as shared
Default value: 0