+ Post New Thread
Results 1 to 5 of 5
Scripts Thread, TightVNC MSI Install via .bat in Coding and Web Development; I'm trying to create a bat script that will install an MSI file/package (TightVNC) but it seems to just completely ...
  1. #1
    TBlax's Avatar
    Join Date
    Feb 2012
    Location
    Gloucestershire
    Posts
    618
    Thank Post
    113
    Thanked 47 Times in 35 Posts
    Rep Power
    28

    TightVNC MSI Install via .bat

    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!

    Code:
     @echo 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

  2. #2

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,656
    Thank Post
    324
    Thanked 506 Times in 474 Posts
    Rep Power
    177
    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

  3. #3
    TBlax's Avatar
    Join Date
    Feb 2012
    Location
    Gloucestershire
    Posts
    618
    Thank Post
    113
    Thanked 47 Times in 35 Posts
    Rep Power
    28
    Just tried it again and it worked... no idea what happened there thank you anyway!

  4. #4

    DaveP's Avatar
    Join Date
    Oct 2006
    Location
    Can't talk now: The mother-ship is calling!
    Posts
    8,310
    Thank Post
    331
    Thanked 1,192 Times in 814 Posts
    Blog Entries
    2
    Rep Power
    1065
    Quote Originally Posted by TBlax View Post
    Code:
    ...SET_CONTROLPASSWORD=1 VALUE_OF_CONTROLPASSWORD=???????...
    @TBlax: You might want to remove that password from your post? Just a thought.

  5. #5
    TBlax's Avatar
    Join Date
    Feb 2012
    Location
    Gloucestershire
    Posts
    618
    Thank Post
    113
    Thanked 47 Times in 35 Posts
    Rep Power
    28
    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.)
    Last edited by TBlax; 19th June 2013 at 08:32 PM. Reason: Dummy, not generated.

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 9
    Last Post: 5th June 2010, 06:52 PM
  2. Promethean Resources cd + MSI Install
    By tosca925 in forum Educational Software
    Replies: 45
    Last Post: 20th April 2007, 11:28 AM
  3. Replies: 6
    Last Post: 24th February 2006, 08:36 PM
  4. MSI Install of Smartboard software.............found this.!
    By tosca925 in forum How do you do....it?
    Replies: 6
    Last Post: 22nd January 2006, 11:12 PM
  5. location of msi install gpo
    By russdev in forum Windows
    Replies: 3
    Last Post: 17th October 2005, 08:23 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •