How to silently install UltraVNC server only with service

How to silently install UltraVNC server only with service

Postby novasian » 2011-03-18 02:00

I finally figured out how to silently install UVNC server on XP Pro and Win 7. This seems to work fine on XP, but to make it work on Win 7, you'll need to add "winvnc.exe" to the "allow" list for Windows Firewall.

If you know of the other parameters and values I can use for the INF file, please feel free to share.

I'm not using Windows registry. All configurations are in the INI file which I've previously created after making all the changes I want to UNVC Server on another computer. I simply copy that INI file to another computer when the script runs (see below).

install.bat ---

if not exist "C:\Program Files\UltraVNC" md "C:\Program Files\UltraVNC"
copy "C:\App Deploy\ultravnc.ini" "C:\Program Files\UltraVNC\ultravnc.ini" /Y
"C:\App Deploy\UltraVNC_1.0.8.2_Setup.exe" /verysilent /loadinf="uvncinstall.inf" /log

uvncinstall.inf ---

[Setup]
Lang=EN
Dir=C:\Program Files\UltraVNC
Group=UltraVNC
NoIcons=1
SetupType=server_silent
Components=ultravnc_server_s
Tasks=installservice,startservice,associate
[/code]
Last edited by novasian on 2011-03-18 03:44, edited 1 time in total.
novasian
 
Posts: 2
Joined: 2011-03-12 05:31

Re: How to silently install UltraVNC server only with servic

Postby B » 2011-03-18 14:55

Cool -- thanks!

You'd probably want to replace the path with %ProgramFiles% and/or %ProgramFiles(x86)%.

If others can confirm this works, maybe this should go in the FAQ (which still is sorely in need of revision in my opinion).
B
Super-Mod
Super-Mod
 
Posts: 2347
Joined: 2009-09-09 14:05


Return to 1.0.8.X (stable)

Who is online

Users browsing this forum: No registered users and 1 guest

cron