Teamviewer shortcut on desktop

Hi.

How is it possible to add an TeamvieweQS.msi on the desktop to my users?

Thanks for answers.

stefanp88 – I am not sure where TeamViewer is installed on your systems and I am assuming you doing this for windows only. For Win7 and later you could do this with an action script like this (this one creates a link to FixletDebugger.exe):

delete createShortcut.vbs

createfile until __END
Set oWS = WScript.CreateObject("WScript.Shell")
sLinkFile = "{value of variable "Public" of environment}\Desktop\myQNAshortcut.lnk"
Set oLink = oWS.CreateShortcut(sLinkFile) 
oLink.TargetPath = "{pathname of parent folder of  regapp "besconsole.exe"}\QnA\FixletDebugger.exe"
oLink.IconLocation = "{pathname of parent folder of  regapp "besconsole.exe"}\Reference\enterprise.ico"
oLink.Save __END

move __createfile createShortcut.vbs
wait cscript /nologo createShortcut.vbs

You would just have to change the location of the exe you are trying to link to. You can also add additional properties to your shortcut if you want to:
oLink.Arguments
oLink.Description
oLink.HotKey
oLink.WindowStyle
oLink.WorkingDirectory

Hope that helps,

-M

Have you considered different msiexec commands? msiexec /i ALLUSERS=1 TeamvieweQS.msi /quiet /qn /norestart

1 Like