I just spent almost an entire day going through documentation so I could figure out how to automatically install this software. Figured I would share and try to get feedback if there is a better way.
This seems as close as we are going to get to automatic installation with the current version. This is semi automatic at best. Correct me if I'm wrong.
This covers a basic automated installation of the UltraVNC server on the client machine. The viewer component is not installed but is installed manually on another machine. The DSM encryption plugin is installed and configured automatically in this run through also. The video driver has to be installed manually. The program is set to install as a service and startup anytime the machine is on. This config run through sets MS Login II as the authentication scheme.
- download UltraVNC-101-Setup.exe
- run the exe with the command "UltraVNC-101-Setup.exe /saveinf=c:\someconfigfile.inf" , this will save the main config file to a path of your choosing.
- go through the setup changing config settings to how you want it installed (language, program path, etc).
Make sure to make the following selections
DSM Encryption Plugin
and on the additional tasks page
select Register UltraVNC as service
DO NOT select Start or restart UltraVNC Service
select Configure MS-Logon II
DO NOT select Configure Admin Properties
DO NOT select Clean old VNC registry keys
Don't worry about the ACL settings, we will change those in a bit
Finish up the install.
Now that it is install, go to the start menu and click on UltraVNC > UltraVNC Server
Double click on the tray icon which will pull up the admin settings.
Make all the changes you want applied across all computers here. The password, MS Logon groups, and misc settings need to be set.
Now that you have made all your admin changes, go to your program path within DOS, by default c:\program files\ultravnc.
Type in MSLogonACL.exe /e c:\someaclconfigfile.acl - this will create your ACL file
close DOS and go to regedit - start > run > regedit
Export the hkey_local_machine > software > ORL key to a reg file
now, edit the someconfigfile.inf file you created many steps ago, and put this in for the acl and reg paths
Now, your setup is all done. Shut down VNC and uninstall it.
Start the automated install by typing in this
UltraVNC-101-Setup.exe /verysilent /loadinf=c:\pathtoinffile\ultravnc.inf
This will install all your basic settings.
now you must run a few more commands from DOS in order to put the DSM encryption plugin in the correct place. by default, the installation puts the plugin in a folder that ultravnc can not find. So you must run these commands
copy "C:\Program Files\UltraVNC\plugin\" "C:\Program Files\UltraVNC\"
Now, start up VNC and it should have kept your ACL and settings correctly for automated install.
This run through definately needs to be cleaned up a bit. It is a pretty big pain to automatically install.
Additional links, you might be able to build an automated installing using an MSI here:
How to make your own UltraVNC Server MSI