How do I perform an unattended/silent installation under Windows?

This article applies to the following product(s):

VNC
VNC Enterprise Edition
VNC Personal Edition


For unattended/silent deployment under Windows, we recommend VNC Deployment Tool. If you need to do so manually, the following information might be useful. Please note that, beyond the information provided below, we are unable to provide support for third party deployment tools.

VNC

See www.realvnc.com/products/vnc/documentation/latest/installing-removing/windows

VNC Enterprise Edition/VNC Personal Edition

We use Inno Setup, so the installer supports all the flags provided by that framework. You can find out what these are in detail by visiting Inno's website:

http://www.jrsoftware.org/isinfo.php

For most requirements, the command-line options you probably want are as follows:

/SP- /VERYSILENT /NORESTART

You can also pass the following command-line option when installing:

/COMPONENTS=WinVNC,WinVNC\VNCMirror,WinVNC\VNCPrinter,VNCViewer,Documentation

After installing, you will need to register a license key with the following command:

vncconfig -license

Then generate a secure key with the following command:

vncconfig -service -generatekeys

Finally, you will need to configure the initial settings. The easiest way to do this is to install a reference VNC Server, configure it the way you want it and copy the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\RealVNC\WinVNC4

However, don't copy the RSA_Private_Key parameter (this is generated by the previous command, but only if it doesn't already exist; if you copy it then all VNC Server instances will have the same secure key). Also, the NtLogon_Config option deserves special attention. It is stored in a Windows binary format that is not guaranteed to be portable between computers. In practise, it is portable as long as only domain or built-in accounts are included in VNC Server's access control.


Related Articles

No related articles were found.

Attachments

No attachments were found.

Visitor Comments

Article Details

Last Updated
26th of June, 2012

Would you like to...

Print this page  Print this page

Email this page  Email this page

Post a comment  Post a comment

 Subscribe me

Subscribe me  Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Quick Edit

Export to PDF


User Opinions



How would you rate this answer?




Thank you for rating this answer.

Continue