I am trying to install TightVnC using a bat file. the code i have below will not work. I copied the below code minus the line with the http address in it. It was set up to use a local file for the .msi installer. But i have to install this on 200 computers and its just a pain in the back side to download it on each computer. Is there a way to make this work with out downloading the file? or have it download for me?
@echo off
echo.
echo Iinstall TightVNC
echo.
echo.
echo COPYING SETUP FILES... ... .. .
copy http://www.tightvnc.com/download/2.7.10/tightvnc-2.7.10-setup-64bit.msi C:\Users\%username%\Desktop\
echo.
echo.
echo INSTALLING AND CONFIGURING ... ... ... .. . .
msiexec /i C:\Users\%username%\Desktop\tightvnc-2.7.10-setup-64bit.msi /quiet /norestart ADDLOCAL="Server,Viewer" VIEWER_ASSOCIATE_VNC_EXTENSION=1 SERVER_REGISTER_AS_SERVICE=1 SERVER_ADD_FIREWALL_EXCEPTION=1 VIEWER_ADD_FIREWALL_EXCEPTION=1 SERVER_ALLOW_SAS=1 SET_USEVNCAUTHENTICATION=1 VALUE_OF_USEVNCAUTHENTICATION=1 SET_PASSWORD=1 VALUE_OF_PASSWORD=c0nn3cT. SET_USECONTROLAUTHENTICATION=1 VALUE_OF_USECONTROLAUTHENTICATION=1 SET_CONTROLPASSWORD=1 VALUE_OF_CONTROLPASSWORD=C0nTr0l.
echo.
echo.
echo CLEANING UP .. .. .
del C:\Users\%username%\Desktop\tightvnc-2.7.10-setup-64bit.msi
echo.
echo.
echo FINISHED!
pause