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?
Thanks,
JV
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
dugullett
12 years ago
Did you change the "Script File Name:" script.bat?
Comments:
-
Actually, you may be right. I think I got one of those errors when I forgot to change that. - WGM_Jeff 12 years ago
Posted by:
WGM_Jeff
12 years ago