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

How to keep Winvnc Port or Dispaly N° after upgrade ?

Post Reply
fg0368
8
8
Posts: 10
Joined: 2004-06-22 16:02

How to keep Winvnc Port or Dispaly N° after upgrade ?

Post by fg0368 »

Basically I use uvnc on several PC with different ports N°

192.168.0.1:5901
192.168.0.2:5902
.....

Currently I'm remotely upgrading the PCs from RC18 & RC19 to RC205 with a modified innno setup script. Everything goes great except that I can't keep the server listenning on the registered port after the upgrade.

The result is that after the upgrade the config is

192.168.0.1:5900
192.168.0.2:5902
....

Is there any way to automatically keep the previous settings instead of backing up registry HKEY_LOCAL_MACHINE\SOFTWARE\ORL\WinVNC3\Default\PortNumber ?
fg0368
8
8
Posts: 10
Joined: 2004-06-22 16:02

Post by fg0368 »

In fact the result is

192.168.0.1:5900
192.168.0.2:5900
192.168.0.3:5900
....

No more 5901, 5902, 5903, etc....
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Post by redge »

after finished remote setup, did you restart your remote windows before trying again ?
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
fg0368
8
8
Posts: 10
Joined: 2004-06-22 16:02

Post by fg0368 »

Yes I did but no way to keep my parameters.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Post by Rudi De Vos »

There is no reason why the ports should default to 5900
Is the registry changed after you run your script ?

The only change between RC19/19 RC205 is that the port settings are always the HKLM and not longer the HKCU
(running as service)

Unless you had previous your ports defined at user level
they should remain the same.
fg0368
8
8
Posts: 10
Joined: 2004-06-22 16:02

Solved:How to keep Winvnc Port or Dispaly N° after upgrade ?

Post by fg0368 »

I solved it;

it was a mistake in my inno setup script.

I was using "deletekey" instead of "deletevalue" to change some registry parameters (password, alowproperties, etc...).

All is working fine now.
Post Reply