Fleetwood Posted June 19, 2013 Posted June 19, 2013 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
Steve21 Posted June 19, 2013 Posted June 19, 2013 Works fine here, And installs it. How are you trying to deploy it, or does it do it for you even on manual run? Steve
Fleetwood Posted June 19, 2013 Author Posted June 19, 2013 Just tried it again and it worked... no idea what happened there thank you anyway!
6Foot2 Posted June 19, 2013 Posted June 19, 2013 ...SET_CONTROLPASSWORD=1 VALUE_OF_CONTROLPASSWORD=???????... @TBlax: You might want to remove that password from your post? Just a thought.
Fleetwood Posted June 19, 2013 Author Posted June 19, 2013 (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 June 19, 2013 by Fleetwood Dummy, not generated.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now