Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: 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://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

logmessages.dll missing from the installation.

Post Reply
benzagel
Posts: 3
Joined: 2017-01-06 17:18

logmessages.dll missing from the installation.

Post by benzagel »

Hi everyone,

I am running into a strange issue when installing UVNC. The installation creates a registry key entry under 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\eventlog\UltraVNC'

In there there is a entry for 'EventMessageFile' and the parameter points to C:\Program Files\uvnc bvba\UltraVNC\logmessages.dll.

But this DLL is missing from the installation. And I really don't trust just randomly downloading one off the internet for obvious reasons and dumping it in there.

Any reason why this DLL maybe missing or why is it even creating a registry key entry when its missing the file completely?

Thanks for your help!
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: logmessages.dll missing from the installation.

Post by Rudi De Vos »

The dll is part of the inno setup installer and also from the msi installer.
This file is installed with our default installer.

Vnc log all connections in a file mslogon.log but also as standard event, viewable with the eventviewer.
The logmessages.dll is part of the event logging. When the file doesn't exist, the event viewer was saying some unknown application
sended a message with info ip x loggedon succesfull at date... with the dll the app is known.
He is just responsible for making the event message proper...but not required

The entry in the registry is added by vnc, not the installer, so yes it can exist even when the dll isn't.
I don't know why the file is missing

http://www.uvnc.com/downloads/ultravnc/ ... -1212.html
If you donload the ALL bin zip from our website, it contain all exe and dll's, the logmessages.dll is part
of it.
benzagel
Posts: 3
Joined: 2017-01-06 17:18

Re: logmessages.dll missing from the installation.

Post by benzagel »

Very interesting. Thanks for the reply. So I installed it using the .MSI windows installer and the DLL was installed. But when using the .exe setup the DLL is not installed. This is for version 1_2_1_1.

In that Zip file you referred to, do you have to install anything to see if it is included? I unzipped it and logmessage.dll is not in there. But at this point since the MSI installer worked fine I guess it really doesn't matter. But it is strnage that only the .MSI works.

Thanks for the quick reply.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: logmessages.dll missing from the installation.

Post by Rudi De Vos »

checked again...
Looks like the x64 versions didn't have the dll included ( same for 1212) and the msi did.
I never noticed it because vnc doesn't require the file and almost nobody use the eventviewer to track logons.

The zip is just a compressed folder, you just extract it to a temp and copy the required file from it.
benzagel
Posts: 3
Joined: 2017-01-06 17:18

Re: logmessages.dll missing from the installation.

Post by benzagel »

Haha ya! Ya I was looking in the wrong location for the dll. found it in the x86 folder.

Does this mean in the future the dll will be included in the exe? Or just use the MSI version :)
Post Reply