TightVNC Scripted Install? Anyone done this?
I found a script online:
if exist "C:\Program Files (x86)\TightVNC" goto :eof ELSE
if exist "C:\Program Files\TightVNC" goto :eof ELSE
"\\network share\tightvnc-2.0.4-setup.exe" /S
regedit /S "\\network share\TightVNC.reg"
net stop "TightVNC Server"
net start "TightVNC Server"
rmdir /s /q "C:\Documents and Settings\All Users\Start Menu\Programs\TightVNC\"
Anyone help me figure this out? I created an Online Shell Script for this and pasted the script into the box. When I run this as a bat file from the local machine it works perfectly, but when I push it out from the KBOX I get errors 1, 2, and 404. I'm not experienced with scripting so what am I missing?