As it's only a short script I'll post it here for the benefit of everyone...

NB it doesn't uninstall 3.3.2 since the uninstall is different, but 3.3.3
works fine. You'll have to change path to tightvnc etc. too but you should
get the idea. I've used it on about 20 machines ok so far (with the
exception of one that was running 3.3.2! - where it gets stuck in the 'Not
yet uninstalled' bit ;-) )

Keith.

-------8<-------
; kix32 script to uninstall vnc + install tightvnc
; by Keith Hall

BREAK ON

$key =
"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Tigh
tVNC_is1"
if ExistKey($key) = 0
        "Already installed" ?
return
endif

"Stopping VNC server"?
shell('net stop winvnc')
"Removing VNC Service"?
run('c:\program files\orl\vnc\winvnc -remove')
sleep 3
"Uninstalling VNC"?
run('c:\winnt\isuninst -y -f"c:\program files\orl\vnc\uninst.isu" -a')
sleep 5
:uninst
$key =
"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\WinV
NC"
if ExistKey($key) = 0
        "Not yet uninstalled" ?
        sleep 2
        goto uninst
endif
"VNC has been uninstalled"?
""?
"Installing TightVNC"?
shell('p:\resource\vnc\tightvnc-1.2.2-setup.exe /verysilent')
:inst
$key =
"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Tigh
tVNC_is1"
if ExistKey($key) <> 0
        "Not yet installed" ?
        sleep 2
        goto inst
endif
"Installing VNC Service"?
shell('c:\program files\tightvnc\winvnc -install')
"Starting VNC Service"?
shell('net start winvnc')
shell('c:\program files\tightvnc\winvnc -servicehelper')
"Complete!"?
sleep 3
-------8<-------



> -----Original Message-----
> From: Richard Clegg [mailto:[EMAIL PROTECTED]]
> Sent: 21 February 2002 11:23
> To: '[EMAIL PROTECTED]'
> Subject: RE: VNC host crashes when triing to connect
> 
> 
> Keith,
> 
> The Kix script you used to upgrade VNC unattended, have you or are you
> making it available for download anywhere?
> 
> Rich
> 
> -----Original Message-----
> From: Keith Hall [mailto:[EMAIL PROTECTED]]
> Sent: 21 February 2002 10:03
> To: '[EMAIL PROTECTED]'
> Subject: RE: VNC host crashes when triing to connect
> 
> 
> I have too seen this problem on a new machine, although first 
> showed up with
> TightVNC, so I uninstalled and used 3.3.3r9 I always used 
> before, but that
> occasionally did it too (mainly after a reboot before logging 
> on). Memory
> exception trying to access byte 0 of memory or something... I 
> put it down to
> a peculiarity with the display driver in the end (I still 
> have the problem
> after changing drivers though)...
> 
> There's one other machine that crashed in the same way with 
> TightVNC after
> 'upgrading' from WinVNC 3.3.3r9, but no repeat of the problem.
> 
> Both were running NT 4 server. I have used VNC (and upgraded most to
> TightVNC now with a nice little Kix script that does it all 
> unattended) with
> no problems.
> 
> So there's something odd happening somewhere...
> 
> Keith.
---------------------------------------------------------------------
To unsubscribe, mail [EMAIL PROTECTED] with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to