Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Can't make silent install completely silent

Post Reply
Prisma
100
100
Posts: 320
Joined: 2005-10-27 15:50

Re: Can't make silent install completely silent

Post by Prisma »

Haven't you seen this post?
http://forum.ultravnc.info/viewtopic.php?t=28683
Wouldn't it make more sense to move your question there? It's just below your post...
B
800
800
Posts: 2338
Joined: 2009-09-09 14:05

Re: Can't make silent install completely silent

Post by B »

I do think an authoritative FAQ on "completely silent installation" would be valuable to have.
Prisma
100
100
Posts: 320
Joined: 2005-10-27 15:50

Re: Can't make silent install completely silent

Post by Prisma »

ultravnc.ini:
[admin]
AuthRequired=0

could help you. If you use reverse connection you can additional use following to increase security again:

[admin]
SocketConnect=0
HTTPConnect=0

Regarding Setup: I'm not able to help you, sorry. My opinion is, depending on your needs, using utravnc-setup is not always imperative. See also my comment in the other thread.
Prisma
100
100
Posts: 320
Joined: 2005-10-27 15:50

Re: Can't make silent install completely silent

Post by Prisma »

And I'll say it again and again :) :
Using the setup is not imperative. Prepare an uvnc-directory completely set up for your needs (including ultravnc.ini), make an selfextracting.exe including a command script, execute "winvnc -reinstall && net start WinVNC && winvnc -servicehelper"

And/Or read following link:

http://www.uvnc.com/install/unattended.html

cheers
Prisma
100
100
Posts: 320
Joined: 2005-10-27 15:50

Re: Can't make silent install completely silent

Post by Prisma »

Also you can apply a patch by yourself by modifying the ISS scripts you can find here:

http://ultravnc.svn.sourceforge.net/vie ... /UltraVNC/
rpremuz
Posts: 3
Joined: 2011-09-23 17:02

Re: Can't make silent install completely silent

Post by rpremuz »

Prisma wrote:Using the setup is not imperative. Prepare an uvnc-directory completely set up for your needs (including ultravnc.ini), make an selfextracting.exe including a command script, execute "winvnc -reinstall && net start WinVNC && winvnc -servicehelper"
I've tried what you suggested but when I run winvnc -reinstall it shows the winvnc usage:
Image
So, why doesn't winvnc recognize the -reinstall option?

BTW, http://www.uvnc.com/install/unattended.html says that the default installation directory is "%Program files%\UltraVNC". That path is incorrect and should be "%ProgramFiles%\UltraVNC" (without a white space in the variable name).

-- rpr.
Prisma
100
100
Posts: 320
Joined: 2005-10-27 15:50

Re: Can't make silent install completely silent

Post by Prisma »

I'm sorry that you couldn't copy and paste what you found. But you'll surely understand, that I can't give any guaranty for the content and actuality of the VNC homepage. I only wanted to give you an idea how you could solve your problem. A little bit of trying and searching could furthermore be necessary. If there's a bug in the page content, please contact Rudi.
rpremuz
Posts: 3
Joined: 2011-09-23 17:02

Re: Can't make silent install completely silent

Post by rpremuz »

Prisma, the idea of installing UltraVNC without running the setup.exe is really great, but does it actually work?

http://www.uvnc.com/install/unattended.html page says that winvnc service can be registered by running "winvnc -reinstall".

If I try that I get the winvnc usage message (shown in my previous post) which tells me that winvnc.exe does not recognize the -reinstall option. Does anyone know why is that?

-- rpr.
Prisma
100
100
Posts: 320
Joined: 2005-10-27 15:50

Re: Can't make silent install completely silent

Post by Prisma »

Code: Select all

netsh firewall add allowedprogram program="YOURPATH\winvnc.exe" name="UltraVNC" profile=ALL mode=ENABLE
winvnc -install
winvnc -servicehelper
There's no need to have a -reinstall option, running -install twice won't throw an error.
There's no need to net start uvnc_service, the service starts automatically after installing.
There's no need to net stop uvnc_service before unpacking the directory if you're sure that the target system has no running winvnc.exe. Otherwise net stop it before unpacking.

Cheers
rpremuz
Posts: 3
Joined: 2011-09-23 17:02

Re: Can't make silent install completely silent

Post by rpremuz »

Prisma, thank you for that info. The script you provided works fine on Windows XP.

On Windows 7 I needed to add "net start" after installing the service as it won't start automatically. Also, on Windows 7 you can use the new "netsh advfirewall" command:

Code: Select all

rem - Add an inbound rule to the Windows Firewall:
netsh advfirewall firewall add rule name=UltraVNC dir=in action=allow enable=yes profile=domain,private localport=5900 protocol=tcp
rem - Install and start the UltraVNC service:
winvnc -install
net start uvnc_service
winvnc -servicehelper
http://www.uvnc.com/install/unattended.html is definitely outdated.

-- rpr.
Prisma
100
100
Posts: 320
Joined: 2005-10-27 15:50

Re: Can't make silent install completely silent

Post by Prisma »

rpremuz wrote:On Windows 7 I needed to add "net start" after installing the service as it won't start automatically.
??? I only did a single fast test do give you some further ideas how it could work. With Vista32 and V1.0.9.6 the service did start automatically... miraculous...

Please contact "Rudi" about the outdated informations.
Prisma
100
100
Posts: 320
Joined: 2005-10-27 15:50

Re: Can't make silent install completely silent

Post by Prisma »

??? driver ??? schook.dll ???

I assume you're talking about a mirror driver? You never said, that you need the mirror driver. I understood, that you just wanted to skip the download of the driver!

schook.dll shouldn't have to do anything with the mirror driver. That my knowledge, please correct me if I'm wrong. schook.dll is normally located in Uvnc-Directory.
Prisma
100
100
Posts: 320
Joined: 2005-10-27 15:50

Re: Can't make silent install completely silent

Post by Prisma »

ok, then do the download with a normal installation. Then you'll have the schook.dll also. Copy this directory, uninstall UltraVnc, and use your copy to prepare you hand-made installation...
Prisma
100
100
Posts: 320
Joined: 2005-10-27 15:50

Re: Can't make silent install completely silent

Post by Prisma »

There's no need to install schook.dll.
Just add to your ultravnc.ini

Code: Select all

[poll]
EnableHook=1
And... please don't misunderstand me, but I'm sure this is documented somewhere here. Please try to search and read some things. I have to stop this thread for me now, I'm on work and to continue this thread would be too time expensive. I think you could open a new thread, because the main question is answered, isn't it?
Post Reply