TightVNC for Windows: Installing from MSI Packages



Similar documents
TightVNC for Windows: Installing from MSI Packages

Introduction to TightVNC. Installation. TightVNC for Windows: Installation and Getting Started. TightVNC Version 2.6 Copyright 2012 GlavSoft LLC.

Remote Control 5.4 Setup Guide

Network Licensing. White Paper 0-15Apr014ks(WP02_Network) Network Licensing with the CRYPTO-BOX. White Paper

Ad Hoc Transfer Plug-in for Outlook Installation Guide

Enterprise Remote Control 5.6 Manual

XMap 7 Administration Guide. Last updated on 12/13/2009

UserLock advanced documentation

Table of Contents. FleetSoft Installation Guide

Getting Started With Halo for Windows For CloudPassage Halo

TightVNC for Windows: Server Command-Line Options

Jabra PC Suite Mass Deployment Guide

Ipswitch Client Installation Guide

Monitor Print Popup for Mac. Product Manual.

HOW TO SILENTLY INSTALL CLOUD LINK REMOTELY WITHOUT SUPERVISION

Installation Guide for LynxClient

Enterprise Manager. Version 6.2. Installation Guide

How To Set Up Safetica Insight 9 (Safetica) For A Safetrica Management Service (Sms) For An Ipad Or Ipad (Smb) (Sbc) (For A Safetaica) (

ThinPoint Quick Start Guide

Biznet GIO Cloud Connecting VM via Windows Remote Desktop

How To Create An Easybelle History Database On A Microsoft Powerbook (Windows)

Secure Messaging Server Console... 2

The SSL device also supports the 64-bit Internet Explorer with new ActiveX loaders for Assessment, Abolishment, and the Access Client.

FEATURE COMPARISON BETWEEN WINDOWS SERVER UPDATE SERVICES AND SHAVLIK HFNETCHKPRO

HP Device Manager 4.6

Web Security Service

Print Audit 6 Network Installation Guide

Avalanche Remote Control User Guide. Version 4.1.3

Remote Access and Control of the. Programmer/Controller. Version 1.0 9/07/05

VNC User Guide. Version 5.0. June 2012

Before deploying SiteAudit it is recommended to review the information below. This will ensure efficient installation and operation of SiteAudit.

Setting up VPN and Remote Desktop for Home Use

WatchGuard SSL v3.2 Update 1 Release Notes. Introduction. Windows 8 and 64-bit Internet Explorer Support. Supported Devices SSL 100 and 560

Immotec Systems, Inc. SQL Server 2005 Installation Document

Remote Filtering Software

Installation Notes for Outpost Network Security (ONS) version 3.2

Training module 2 Installing VMware View

EventSentry Overview. Part I Introduction 1 Part II Setting up SQL 2008 R2 Express 2. Part III Setting up IIS 9. Part IV Installing EventSentry 11

intertrax Suite resource MGR Web

Security White Paper The Goverlan Solution

File Integrity Monitor Windows Edition Version 4.0

Tunnels and Redirectors

How To - Implement Clientless Single Sign On Authentication with Active Directory

IBM Security QRadar Version (MR1) WinCollect User Guide

BorderGuard Client. Version 4.4. November 2013

Citrix Access Gateway Plug-in for Windows User Guide

Web-Access Security Solution

ez Agent Administrator s Guide

RSA Authentication Agent 7.2 for Microsoft Windows Installation and Administration Guide

NovaBACKUP xsp Version 15.0 Upgrade Guide

NETASQ SSO Agent Installation and deployment

Jetico Central Manager. Administrator Guide

RDM+ Desktop for Windows Getting Started Guide

SyncLockStatus Evaluator s Guide

Automating client deployment

Webinar Information. Title: Websense Remote Filtering Audio information: Dial-in numbers:

Site Monitor. Version 5.3

Out n About! for Outlook Electronic In/Out Status Board. Administrators Guide. Version 3.x

Toolbox 3.3 Client-Server Configuration. Quick configuration guide. User manual. For the latest news. and the most up-todate.

Troubleshooting File and Printer Sharing in Microsoft Windows XP

Step-by-Step Guide to Setup Instant Messaging (IM) Workspace Datasheet

Remote Access for Cisco Unity 8.x

VNC 4 Enterprise Server. User Guide

Crystal Reports Installation Guide

2X ApplicationServer & LoadBalancer Manual

Setting up VPN and Remote Desktop for Home Use

friendlyway composer network services server

Securing Remote Desktop for Windows XP

Toad for Oracle Installation Guide

Remote Support Jump Client Guide: Unattended Access to Systems in Any Network 3. Deploy Jump Clients During a Support Session or Prior to Support 4

Configuring and Integrating Oracle

ilaw Installation Procedure

Citrix EdgeSight Installation Guide. Citrix EdgeSight for Endpoints 5.3 Citrix EdgeSight for XenApp 5.3

Vine Server. v3.1. Manual

2X ApplicationServer & LoadBalancer Manual

Installing GFI FAXmaker

GoToMeeting, GoToWebinar & GoToTraining. Active Directory Connector Administration Guide Hollister Avenue Goleta CA 93117

Last modified on for application version 4.4.4

Lepide Active Directory Self Service. Installation Guide. Lepide Active Directory Self Service Tool. Lepide Software Private Limited Page 1

Web Server Manual. Mike Burns Greg Pettyjohn Jay McCarthy November 20, 2006

Pre-Installation Guide

VNC User Guide. Version 5.3. December 2015

DPMS2 McAfee Endpoint Encryption New Installation

Installation and Deployment

User Guide for VMware Adapter for SAP LVM VERSION 1.2

Setting Up a Unisphere Management Station for the VNX Series P/N Revision A01 January 5, 2010

MATLAB Distributed Computing Server with HPC Cluster in Microsoft Azure

Installation Guide: Delta Module Manager Launcher

Auto: Use port 5900 and 5800 and when the port is in use increase the number. Sample: if port 5900 is used by an other app, vnc use 5901.

How To Install An Aneka Cloud On A Windows 7 Computer (For Free)

WebEx Remote Access White Paper. The CBORD Group, Inc.

Virtual Managment Appliance Setup Guide

You must download the desktop client before you start, this is found on the Yuuguu page on your Ezereach web portal.

README.TXT

IBM SPSS Statistics Version 22. Concurrent License Administrator s Guide

Pharos Control User Guide

SA Citrix Virtual Desktop Infrastructure (VDI) Configuration Guide

Secure Access Using VPN

Using RADIUS Agent for Transparent User Identification

Transcription:

TightVNC for Windows: Installing from MSI Packages TightVNC Version 2.5.2 Copyright 2012 GlavSoft LLC. Starting with version 2.5, TightVNC installer comes in the form of MSI packages. MSI format is used by the standard Windows Installer and allows installing software both interactively and in automated silent mode. Interactive installation is simple and does not differ from the standard way you install the software: open the MSI file in Explorer and follow the conventional installation wizard. Automated installation needs more explanation and this is what this document is about. System Requirements System requirements are simple. TightVNC runs on any type of Windows, starting with Windows 2000 with the latest Service Pack. It works fine on Windows 7 and even on Beta version of Windows 8 (as available in summer 2012). Both x86 (32-bit) and x64 (64-bit) systems are supported. TightVNC uses very little disk space and can be used on systems with little main memory (RAM) so we don't list any minimal recommendations it should fit any system, provided that Windows itself works fine on it. Choosing the Right Package First of all, we need to say that there are two MSI packages of TightVNC, 64-bit and 32-bit. The file names look like this (where 2.5.2 is a version number): tightvnc-2.5.2-setup-32bit.msi tightvnc-2.5.2-setup-64bit.msi Choose the one matching your system type. If you run 32-bit version of Windows (x86 architecture), you can only install 32-bit version of TightVNC. If your system is 64-bit (x64 architecture), you should install 64-bit version. While 32-bit version might work on a 64-bit machine, that can result in poor performance. Installing Silently 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 silent mode: 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: 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. Choosing the 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: ADDLOCAL=Server ADDLOCAL=Viewer ADDLOCAL="Server,Viewer" Properties, Part 1: Installation Options All available installation options listed below work only in the silent mode (with /quiet option). Properties which are related to the TightVNC Viewer installation configuration begin with VIEWER_ prefix, and server installation properties begin with SERVER_ prefix. Notice that a property will have an effect only if you install the component associated with it. Property VIEWER_ASSOCIATE_VNC_EXTENSION SERVER_REGISTER_AS_SERVICE SERVER_ADD_FIREWALL_EXCEPTION VIEWER_ADD_FIREWALL_EXCEPTION SERVER_ALLOW_SAS Value 0 do not associate the ".vnc" file extension with tvnviewer.exe 1 associate the ".vnc" file extension with tvnviewer.exe 0 do not register the server as a service 1 register the server as a service 0 do not add firewall exception for the TightVNC Server 1 add firewall exception for the TightVNC Server 0 do not add firewall exception for the TightVNC Viewer 1 add firewall exception for the TightVNC Viewer 0 do not allow generating the "Ctrl+Alt+Del" combination (also known as SAS) programmatically 1 allow generating the "Ctrl+Alt+Del" combination programmatically Table 1: Installation options Properties, Part 2: TightVNC Server Configuration (Service Mode) You can preconfigure your TightVNC Server during installation, by specifying configurationrelated properties in the command line. This will affect service mode only, it will not alter settings of application-mode TightVNC Server. Each configuration option (e.g. ALLOWLOOPBACK) is controlled via a pair of MSI properties with different prefixes (SET_ALLOWLOOPBACK and VALUE_OF_ALLOWLOOPBACK in this example). SET_* properties control if the respective option should be modified. They accept the following values:

1 set the configuration option (you should provide the corresponding VALUE_OF_* property); 0 do not change the option; 1 remove the option from the server configuration (this should result in resetting the option to its default value). VALUE_OF_* properties provide actual values for the configuration options, but they take effect only if the corresponding SET_* properties have been set to 1. Thus, to set each individual configuration option XXX, you must specify both SET_XXX and VALUE_OF_XXX properties. For example, to disable incoming connections in your newly installed server, you should install TightVNC with a command like this: msiexec.exe /i tightvnc-2.5.2-setup-64bit.msi /quiet /norestart SET_ACCEPTRFBCONNECTIONS=1 VALUE_OF_ACCEPTRFBCONNECTIONS=0 Here is a list of all server options configurable via MSI properties: MSI Property Names Option Value (for VALUE_* Properties) Configuration Window SET_ACCEPTHTTPCONNECTIONS VALUE_OF_ACCEPTHTTPCONNECTIONS Enables Java Viewer (on HTTP connections) 0 do not serve Java Viewer to Web clients 1 serve Java Viewer to Web clients Server/Web Access SET_ACCEPTRFBCONNECTIONS VALUE_OF_ACCEPTRFBCONNECTIONS SET_ALLOWLOOPBACK VALUE_OF_ALLOWLOOPBACK 0 do not accept incoming connections 1 accept incoming connections 0 do not allow loopback connections 1 allow loopback connections Server/Incoming Viewer Access Control/Loopback connections SET_ALWAYSSHARED VALUE_OF_ALWAYSSHARED Defines server behaviors on a new connection 0 allow non-shared connections 1 always treat new connections as shared If both ALWAYSHARED and NEVERSHARED are false then the type of connection is determined by client settings Administration/Session Sharing SET_BLOCKLOCALINPUT VALUE_OF_BLOCKLOCALINPUT SET_BLOCKREMOTEINPUT VALUE_OF_BLOCKREMOTEINPUT SET_DISCONNECTACTION VALUE_OF_DISCONNECTACTION SET_DISCONNECTCLIENTS VALUE_OF_DISCONNECTCLIENTS Note: this option is described further in the section "Properties, Part 3: Server behavior on new connections" 0 allow local input during client sessions 1 block local input during client sessions 0 allow remote input events 1 block remote input events Defines an action that will be performed when last client disconnects: 0 do nothing 1 lock desktop 2 log off current user Defines server behaviors on a new connection 0 disconnect existing clients on new non-shared connection 1 block new non-shared connection if someone is already connected Server/Web Access Server/Input Handling Administration/When Last Client Disconnects Administration/Session Sharing DISCONNECTCLIENTS does not work if ALWAYSSHARED is set to 1 Note: this option is described further in this section "Properties, Part 3: Server behavior on new connections"

MSI Property Names Option Value (for VALUE_* Properties) Configuration Window SET_EXTRAPORTS VALUE_OF_EXTRAPORTS SET_GRABTRANSPARENTWINDOWS VALUE_OF_GRABTRANSPARENTWINDOWS SET_HTTPPORT VALUE_OF_HTTPPORT SET_IPACCESSCONTROL VALUE_OF_IPACCESSCONTROL SET_LOCALINPUTPRIORITY VALUE_OF_LOCALINPUTPRIORITY SET_LOCALINPUTPRIORITYTIMEOUT VALUE_OF_LOCALINPUTPRIORITYTIMEOUT SET_LOGLEVEL VALUE_OF_LOGLEVEL SET_LOOPBACKONLY VALUE_OF_LOOPBACKONLY SET_NEVERSHARED VALUE_OF_NEVERSHARED Mapping of additional listening TCP ports to selected screen area Type: string in format "PORT:WIDTHxHEIGHT+LEFT+TOP" For example: "5901:1280x1024+0+0,5902:1280x1080+1280+0" 0 do not grab transparent windows 1 grab transparent windows Web access port Default value: 5800 Set rules for IP ranges Type: string in format "IP1-IP2:{0 1 2}", where: 0 allow connections 1 deny connections 2 set query action For example: "0.0.0.0-255.255.255.255:2" set the query action for all incoming connections. 0 allow remote input on local activity 1 block remote input on local activity Allows to change inactivity time (in seconds) belonged with the option "Block remote input on local activity" Default value: 3 Log verbosity level Value range: 0-9 (0 disable logging) 0 allow 1 allow only loopback connections Defines server behaviors on a new connection 0 allow shared connections 1 never treat new connection as shared If both ALWAYSHARED and NEVERSHARED are false then the type of connection is determined by the client's setting Extra ports/extra ports Server/Update Handling Server/Web Access Access Control/Rules Server/Input Handling Server/Input Handling Administration/Logging Access Control/Loopback Administration/Session Sharing SET_POLLINGINTERVAL VALUE_OF_POLLINGINTERVAL SET_QUERYACCEPTONTIMEOUT VALUE_OF_QUERYACCEPTONTIMEOUT SET_QUERYTIMEOUT VALUE_OF_QUERYTIMEOUT SET_REMOVEWALLPAPER VALUE_OF_REMOVEWALLPAPER SET_RFBPORT VALUE_OF_VALERFBPORT SET_RUNCONTROLINTERFACE VALUE_OF_RUNCONTROLINTERFACE Note: this option is described further in this section "Properties, Part 3: Server behavior on new connections" Screen polling cycle time (in milliseconds) 000 The setting is effective only for IP-addresses with access rule action "Query local user": 0 accept connection on timeout 1 reject connection on timeout Query timeout (in seconds) Default value: 30 0 show wallpaper 1 hide desktop wallpaper Main server port Default value: 5900 0 do not show service icon in the notification area 1 show service icon in the notification area Server/Update Handling Access Control/Query Settings Access Control/Query Settings Server/Miscellaneous Server/Incoming Viewer Server/Miscellaneous

MSI Property Names Option Value (for VALUE_* Properties) Configuration Window SET_SAVELOGTOALLUSERSPATH VALUE_OF_SAVELOGTOALLUSERSPATH Table 2: Server configuration options 0 make log file private for each user 1 make log file available to all users Administration/Logging Properties, Part 3: Server Behavior on New Server behavior and connection types are controlled by ALWAYSHARED, NEVERSHARED and DISCONNECTCLIENTS options and their combinations. The meaningful combinations are shown in the following table. ALWASHARED NEVERSHARED DISCONNECTCLIENTS Description 0 0 0 Block new non-shared connection if someone is already connected 0 0 1 Disconnect existing clients on new non-shared connection 0 1 0 Never treat connections as shared, disable new clients if there is one already 0 1 1 Never treat connections as shared, disconnect existing client on new connections 1 0 0, 1 (not significant) Always treat connection as shared, add new clients and keep old connections Table 3: Server session sharing options In the first two examples the resulting connection type is determined by the client setting (the check box "Request shared session" in the "Connection options" window). In the remaining cases that client setting is ignored. Properties, Part 4: Password Protection (Service Mode) The server settings in the table 2 work in any installation mode, but there are some server options concerned with settings which are effective only during silent installation. To protect your TightVNC Server, you can set s for control interface and VNC client authentication. Settings responsible for enabling authentication are USECONTROLAUTHENTICATION and USEVNCAUTHENTICATION. If USECONTROLAUTHENTICATION option is set to 1, the server will require the authentication for most of control operations. The USEVNCAUTHENTICATION option is responsible for requiring VNC authentication of incoming connections, which can have view-only or full-control access type. You can set s for both of them. To add a, first you need to set "use corresponding authentication" property to 1 and then add necessary s. All available options are presented in the table 4. Do not forget to use SET_/VALUE_OF_ pair. MSI Property Names Option Value (for VALUE_* Properties) Configuration Window SET_USECONTROLAUTHENTICATION VALUE_OF_USECONTROLAUTHENTICATION SET_USEVNCAUTHENTICATION VALUE_OF_USEVNCAUTHENTICATION SET_CONTROLPASSWORD VALUE_OF_CONTROLPASSWORD 0 do not protect control operations with an administrative 1 protect control operations with an administrative 0 do not require VNC authentication on establishing connection 1 require VNC authentication on establishing connection Password required to run the server control interface Type: string Requires USECONTROLAUTHENTICATION to be set to 1 Administration/Control Interface Server/Incoming Viewer [Administration/Control Interface]Password

MSI Property Names Option Value (for VALUE_* Properties) Configuration Window SET_PASSWORD VALUE_OF_PASSWORD SET_VIEWONLYPASSWORD VALUE_OF_VIEWONLYPASSWORD Table 4: Password protection options Password used as primary for incoming connections Type: string Requires USEVNCAUTHENTICATION to be set to 1 Password used as "view-only" for incoming connections Type: string Requires USEVNCAUTHENTICATION to be set to 1 The specific examples of setting s are considered in the next section. Sample Command Line to Preset All Passwords Here we explore specific examples of setting s with MSI properties. To set a main for VNC authentication, you should use following commands: SET_USEVNCAUTHENTICATION=1 VALUE_OF_USEVNCAUTHENTICATION=1 SET_PASSWORD=1 VALUE_OF_PASSWORD=PASS Also, you can set view-only : SET_VIEWONLYPASSWORD=1 VALUE_OF_VIEWONLYPASSWORD=VIEWPASS [Server/Incoming Viewer ]Primary [Server/Incoming Viewer Connection]View-only And if you would like to configure the administrative (protect the user interface of the TightVNC Server), set the following values as well: SET_USECONTROLAUTHENTICATION=1 VALUE_OF_USECONTROLAUTHENTICATION=1 SET_CONTROLPASSWORD=1 VALUE_OF_CONTROLPASSWORD=ADMNPASS Finally, lets set all the s in one command line: msiexec.exe /i tightvnc-2.5.2-setup-64bit.msi /quiet /norestart SET_USEVNCAUTHENTICATION=1 VALUE_OF_USEVNCAUTHENTICATION=1 SET_PASSWORD=1 VALUE_OF_PASSWORD=mainpass SET_VIEWONLYPASSWORD=1 VALUE_OF_VIEWONLYPASSWORD=viewpass SET_USECONTROLAUTHENTICATION=1 VALUE_OF_USECONTROLAUTHENTICATION=1 SET_CONTROLPASSWORD=1 VALUE_OF_CONTROLPASSWORD=admpass