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

Remote upgrade of UVNC server

Any features you would like to see in UltraVNC? Propose it here
Post Reply
cerb

Remote upgrade of UVNC server

Post by cerb »

My single biggest request is:
create a mechanism to be able to upgrade somehow the server remotely.

I use UVNC on machines to which I do not have physical access (only once every few months), but would like to update the server every so often with new versions.

This seems to be very complicated at present (i.e. you have to installa SSH or fiddle with the registry to install fastpush). It would be nice to have an option to install a new version remotely on a different directory from the running one and tell the server to restart on the new version at the next reboot for example...

That would simplify life a lot.
mösti
Posts: 2
Joined: 2004-06-14 11:33
Location: NL, Haarlem
Contact:

Re: Remote upgrade of UVNC server

Post by mösti »

Try upgrade.exe

Place the new version in a subfolder named Upgrade and run upgrade.exe

The next reboot the files are replaced.


Before this existed it was also possible with m$ support tools, with a tool named inuse.exe or if you don't want m$ there is also copylock.exe and many other open file replace tools.
Guest

Post by Guest »

Could they just have that built into the setup by now.

Have it install all the required files and wait till reboot to replace the service and register it.

I know other programs are able to do this and all is need is a restart.
OhMyGoat
40
40
Posts: 103
Joined: 2005-05-15 02:35

Post by OhMyGoat »

Anonymous wrote:Could they just have that built into the setup by now.

Have it install all the required files and wait till reboot to replace the service and register it.

I know other programs are able to do this and all is need is a restart.
With createinstall you can do a remote upgrade setup in seconds you can set a program termination and disable all the setup dialogs for an automatic installation and you can even have the setup launch the new server at the end of the process. This wouldn't even require restart.
ewelin
Posts: 1
Joined: 2007-07-23 21:07
Location: Cambridge, MA
Contact:

Post by ewelin »

OhMyGoat wrote:With createinstall you can do a remote upgrade setup in seconds you can set a program termination and disable all the setup dialogs for an automatic installation and you can even have the setup launch the new server at the end of the process. This wouldn't even require restart.
I'm looking to upgrade a couple remote servers as well and could use some assistance on the best menthod about doing this. I realize this is a dead topic from a few years ago but I was hoping someone else has used createinstall or knows of an easy way of remotely updating ultraVNC servers.
Eric
mbrown
20
20
Posts: 44
Joined: 2004-04-24 02:20
Location: Chicago, IL USA

Post by mbrown »

ewelin wrote: I'm looking to upgrade a couple remote servers as well and could use some assistance on the best menthod about doing this. I realize this is a dead topic from a few years ago but I was hoping someone else has used createinstall or knows of an easy way of remotely updating ultraVNC servers.
I haven't used createinstall, but I have used a batch file I wrote to upgrade uvnc. You have to create a temp folder and push all the files to it. These are the actual UltraVNC folder files, not the install routine. Put your batch script in the same directory. The batch file should stop the winvnc service (net stop winvnc), copy the new files over the old one (copy using the "no verify prompt" switch), then restart the winvnc service (net start winvnc).

Also, there is a little utility I like to use in my batch files called wait.exe. This will allow you to make the batch file wait before starting another command. I prefer to make the batch file wait a few seconds after stopping a service because it can take Windows a few seconds to do so. Your files will not copy over the old ones if the service isn't stopped yet. You can get wait.exe here: http://www.wcscnet.com/Freeware.htm

Don't forget to thoroughly test your batch file locally before trying it on the remote server!!!!

Hope this helps.

Michael
Michael
Post Reply