I'm attempting to install TightVNC with some custom settings. At the moment, I use the following and everything works well except that I wish for Start Menu shortcuts to be removed:

msiexec /i tightvnc-2.7.10-setup-64bit.msi  ADDLOCAL="Server" SET_RUNCONTROLINTERFACE=1 VALUE_OF_RUNCONTROLINTERFACE=0 SET_PASSWORD=1 VALUE_OF_PASSWORD=password SET_USECONTROLAUTHENTICATION=1 VALUE_OF_USECONTROLAUTHENTICATION=1 SET_CONTROLPASSWORD=1 VALUE_OF_CONTROLPASSWORD=password SET_REMOVEWALLPAPER=1 VALUE_OF_REMOVEWALLPAPER=0 /quiet /norestart /l* log.txt

I've attempted to create a transform using Tuner with the Start Menu shortcuts removed. However, when I install the msi with the above command, transform added, I get an error in the log (sorry, I don't have the log file with me at present) which prevents installation. 

 

Any suggestions on how to remove shortcuts post install? I would rather just use the standard MSI with it's own functions... 

 

 

 

 

 

1 Comment   [ + ] Show Comment

Comments

  • "An error"...we're going to need the error details, otherwise it's just guess-work.

    Also, show us the command line addition you used to include the transform.
Please log in to comment

Answers

0
Can i know which line need to change specifically ADDLocal="Server"

msiexec /i tightvnc-2.7.10-setup-64bit.msi  ADDLOCAL="Server" SET_RUNCONTROLINTERFACE=1 VALUE_OF_RUNCONTROLINTERFACE=0 SET_PASSWORD=1 VALUE_OF_PASSWORD=password SET_USECONTROLAUTHENTICATION=1 VALUE_OF_USECONTROLAUTHENTICATION=1 SET_CONTROLPASSWORD=1 VALUE_OF_CONTROLPASSWORD=password SET_REMOVEWALLPAPER=1 
VALUE_OF_REMOVEWALLPAPER=0 /quiet /norestart /l* log.txt
net stop "TightVNC Server"
net start "TightVNC Server"
rmdir /s /q "C:\Documents and Settings\All Users\Start Menu\Programs\TightVNC\"
Answered 04/28/2016 by: kamikaze79
White Belt

Please log in to comment
0
I have found that the simplest way is to create a batch file as follows:

msiexec /i tightvnc-2.7.10-setup-64bit.msi  ADDLOCAL="Server" SET_RUNCONTROLINTERFACE=1 VALUE_OF_RUNCONTROLINTERFACE=0 SET_PASSWORD=1 VALUE_OF_PASSWORD=password SET_USECONTROLAUTHENTICATION=1 VALUE_OF_USECONTROLAUTHENTICATION=1 SET_CONTROLPASSWORD=1 VALUE_OF_CONTROLPASSWORD=password SET_REMOVEWALLPAPER=1 VALUE_OF_REMOVEWALLPAPER=0 /quiet /norestart /l* log.txt
net stop "TightVNC Server"
net start "TightVNC Server"
rmdir /s /q "C:\Documents and Settings\All Users\Start Menu\Programs\TightVNC\"

This works great for me
Answered 12/10/2014 by: stevehills
White Belt

  • So if I was to use MDT and go to set up a new application, would the command line go something like this?

    msiexec /i tightvnc-2.7.10-setup-64bit.msi /SAVEBAT="TVNC.bat"
Please log in to comment
Answer this question or Comment on this question for clarity