Jump to content

Recommended Posts

Posted

I'm trying to create a bat script that will install an MSI file/package (TightVNC) but it seems to just completely skip the install and go right to the end of the code.

 

Could anybody have a look at the script below and help me out?

 

Thanks!

 

 @[u][url="http://www.edugeek.net/member.php?u=16971"]echo[/url][/u] off 
echo.
echo Install TightVNC
echo.
echo.
echo INSTALLING AND CONFIGURING
msiexec /i M:\Software\tightvnc-2.7.7-setup-32bit.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 FINISHED


pause

Posted (edited)

They're dummy passwords, I won't be using them :) thanks though

(I'm testing the script on my Home PC first so I just shoved any random pw's in to try it out for settings.)

Edited by Fleetwood
Dummy, not generated.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...