An error in the service registry settings???

James [Wez] Weatherall jnw "at" orl.co.uk
Tue, 08 Sep 1998 11:00:24 +0000


On Tue, 8 Sep 1998, David Bussenschutt wrote:

> Dave, (and others)
> 
> Sorry about the confusion regarding the backquoting of the quotes and the
> back-slashes, I thought most people knew about that...anyway my point was
> actually thus:
> 
> I know that the -install option puts 
> 
> "C:\PROGRAM FILES\ORL\VNC\WINVNC.EXE" -service
> 
> into the registry, but it shouldn't.

The key that WinVNC installs into the registry looks like this:

WinVNC = "C:\Program Files\Orl\Vnc\WinVNC.exe" -service

whereas previously it looked like

WinVNC = C:\Program Files\Orl\Vnc\WinVNC.exe -service

which failed to work on a large number of systems.

> It should be 
> 
> "C:\PROGRAM FILES\ORL\VNC\WINVNC.EXE -service"
> 
> that's the exact nature of the problem.

This second value is wrong.  It will fail because there is no such file as
"C:\PROGRAM FILES\ORL\VNC\WINVNC.EXE -service"

> Also when enterering the program information into the "Run Services" area
> of the registry(or any part I think) it's not necessary to put quotes
> around it, so the EXACT registry value data should be:
> 
> C:\PROGRAM FILES\ORL\VNC\WINVNC.EXE -service

No.  There is a good reason for the quotes - notice the space between
'program' and 'files'.  This will cause some systems to complain that the
file C:\PROGRAM cannot be found.  This isn't generally true of WinNT boxes
but is of many Win95 boxes.

> ...or if unquoted spaces bother you too much (it doesn't bother the registry):

See above.

Hope that helps,

James "Wez" Weatherall
--
Olivetti & Oracle Research Laboratory, Cambridge, UK.
Tel : Work - 343000



---------------------------------------------------------------------
The VNC mailing list     -   see http://www.orl.co.uk/vnc/intouch.html
---------------------------------------------------------------------