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

VNC Service silent install

Post Reply
spitshy
Posts: 4
Joined: 2004-08-20 11:34

VNC Service silent install

Post by spitshy »

HI,
can I install the vncserver silent?
When I use vncserver -install a message box winvnc "The WinVNC service was succsessfully registert........

Can I install the service without these message box?

Spitshy
wil
8
8
Posts: 13
Joined: 2004-10-03 17:26

silent install

Post by wil »

Hi,
at this time i have no solution for this probleme
Rudi Said me to use -reinstall option to have a timed messagebox
but with the RC18 it don't work, i always have a persistent messagebox

sorry no news .... :cry:
rico

VNC Service silent install

Post by rico »

Hi,

Please check link below. Actually, it's for installing VNC silently to a remote computer. With minor modification, you can use it as well to install to local computer.

http://www.tburke.net/info/misc/vnc_remote.htm

cheers,
rico
wil
8
8
Posts: 13
Joined: 2004-10-03 17:26

winvnc silent install

Post by wil »

I know this solution, it's very good to deploy on a network, like fastpush etc...
But not for my probleme, because i must activate the winvnc service or desactive it a lot of time by day on a pc server.
I activate (install service) or desactivate(remove winvnc service) it at distance with a personal soft.
Because i don't want that winvnc service run allways on a server machine.
And the popup are not a good thing for me, i can have 10 or 20 windows popup on a server by day.
It's what i want silent install ( winvnc -install) and a silent unistall (winvnc -remove).
I can't use just a winvnc application (winvnc -run) because i must have a winvnc service to have a remote controle when the session is close.

thanks for you reply :wink: I'am waiting for an other solution. :)
peskypescado

This can be done

Post by peskypescado »

You can just start and stop the service using the Windows 200x/XP command "net stop." The exact line you would used should be:

Code: Select all

net stop winvnc

or

net start winvnc
That will work fine in a batch file.

pesky
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Post by Rudi De Vos »

Silent servicve install not working in RC18 and current TEST19.
Tought that silent was 0 while in fact the silent option require 1.
All changes i made are just not working...

Will be fixed for TEST19_14
spitshy
Posts: 4
Joined: 2004-08-20 11:34

when it is in the stable version?

Post by spitshy »

Hi,
thank you for these answer!
Rudi De Vos wrote:Silent servicve install not working in RC18 and current TEST19.
Tought that silent was 0 while in fact the silent option require 1.
All changes i made are just not working...

Will be fixed for TEST19_14
Do you know, when a stable Versin with silent install will be available? I want to use Ultra VNC in our Company and I will distribute the software with RADIA from HP. It work completly silent in system context, so the message box is very distubing.

Thank´s for answer,
Spitshy
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Post by Rudi De Vos »

Time frame to get TEST19 bug free end of year.
We still need to do a lot of testing...

After the Java part is finished, no more changes to the code.
2 months for bug fixing and testing should do.

We should learn to say no, when people ask new things...
else we never get it bugfree.
wil
8
8
Posts: 13
Joined: 2004-10-03 17:26

silent install

Post by wil »

Thanks Rudi for answer

I wait for the new stable winvnc version RC19

:)
User avatar
pgmoney
100
100
Posts: 285
Joined: 2004-06-26 22:29
Contact:

Post by pgmoney »

This is not a fix for the timed mesage box routine but it will allow you to do a completely silent winvnc.exe -reinstall so it should help you out until Rudi gets it fixed. This has been tested and working for us since 7/13/2004 with no problems. If you rather have the winvnc RC18 binary already modified, you can download it at:

http://www.advantig.com/files/ultravnc-fix-7-13-04.zip

The zip file includes the modified winvnc.exe binary as well as the RC18 source code with fixes to the server and viewer text-chat buffer over-run. The file will be available for download until we start bumping against our bandwidth limits.

In vncservice.cpp change the following:

// SERVICE INSTALL ROUTINE
int
vncService::ReinstallService() {
RemoveService(1);
Sleep(1000);
InstallService(1); // change 0 to 1
return 0;
}

// We have successfully installed the service!
if (!silent) { // start silent flag check
vncTimedMsgBox::Do(
sz_ID_SERV_SUCCESS_INST,
szAppName,
MB_ICONINFORMATION | MB_OK);
} // end silent flag check

// Everything went fine
if (!silent) { // start silent flag check
vncTimedMsgBox::Do(
sz_ID_SERV_SUCCESS_REG,
szAppName,
MB_ICONINFORMATION | MB_OK);
} // end silent flag check

// We have successfully removed the service!
if (!silent) { // start silent flag check
vncTimedMsgBox::Do(sz_ID_SERV_SUCCESS_UNREG,
szAppName,
MB_ICONINFORMATION | MB_OK);
} // end silent flag check

// Now remove the service from the SCM
if(DeleteService(hservice)) {
if (!silent) { // start silent flag check
vncTimedMsgBox::Do(sz_ID_SERV_SUCCESS_UNREG,
szAppName,
MB_ICONINFORMATION | MB_OK);
} // end silent flag check

Phil Money
Advantig, LLC
spitshy
Posts: 4
Joined: 2004-08-20 11:34

Thank You !!

Post by spitshy »

Hi,
thanks Rudi for answer and pgmoney for the fixed files.
I try the fixed files with the -reinstall option and it seems work very well...
Now I can distribute the VNC in our company so the the user will not notice, the these new SW is installed on the PC.

Thanks,
Spitshy
lenisham
40
40
Posts: 104
Joined: 2004-06-24 07:00

Post by lenisham »

Rudi De Vos wrote:Time frame to get TEST19 bug free end of year.
We still need to do a lot of testing...

After the Java part is finished, no more changes to the code.
2 months for bug fixing and testing should do.

We should learn to say no, when people ask new things...
else we never get it bugfree.
  • You guys are doing a great job.

    I agree that you need to say not in this version.

    What about a road map and let people vote on what they find the most important. Maybe what they would be willing to work on

    The actual developers who actually understand what it takes to code and what may be dependant on what put out a roadmap of versions and planned features.
kiksen
Posts: 1
Joined: 2004-11-10 15:48
Location: Germany

Post by kiksen »

Hello Forum,

http://www.advantig.com/files/ultravnc-fix-7-13-04.zip

Could someone send me the fix vial email? I The link is not available any more. I can put it one my homepage for some more
moneth.

Thank you!
Christian
User avatar
pgmoney
100
100
Posts: 285
Joined: 2004-06-26 22:29
Contact:

Post by pgmoney »

kiksen wrote:Hello Forum,

http://www.advantig.com/files/ultravnc-fix-7-13-04.zip

Could someone send me the fix vial email? I The link is not available any more. I can put it one my homepage for some more
moneth.

Thank you!
Christian
We put the file back on the website for download again...

http://www.advantig.com/files/ultravnc-fix-7-13-04.zip

I hope to be able to leave it up longer this time.

Phil Money
Advantig, LLC
Post Reply