Need help deploying Microsoft Teams for Office 365 client

Comments

7 comments

  • Stephen Valdinger

    What Deploy user are you deploy as? If it is going to %UserProfile% you are deploying it to the Deploy User (the account running the runner service on the target).

     

    The User has full rights to their profile folder, so I would modify your package to Deploy As: Logged on User, and a condition to only run if a user is currently logged on, that way it definitely goes to that user. A caveat to that approach would be a shared machine where multiple users potentially are using it. That gets tricky, especially with the "Stop Deployment to this computer once deployment succeeds" flag is set.

    Let me know if you can get that going and tested. As for the Desktop shortcut, Powershell bud. 

    0
    Comment actions Permalink
  • Deger

    a little more info here:

     

    https://practical365.com/collaboration/teams/deploying-microsoft-teams-desktop-client/ 

     

    I'm not sure what you mean my Powershell for the shortcut?

    0
    Comment actions Permalink
  • Stephen Valdinger

    Add a Powershell step after the install step that Creates the necessary shortcut. If you need help I can assist, it's pretty simple script to write.

    0
    Comment actions Permalink
  • Deger

    We user a redirected desktop via GPO, all users are going to see the same shortcut we use for Teams, so It can't point to one users profile

    0
    Comment actions Permalink
  • Stephen Valdinger

    So putting it in 'Shell:Common Desktop' is a no-go. I'm not quite grasping your redirected setup I guess. We redirect, but each user gets redirected to their own Home directory. It sounds like your setup is different.

    0
    Comment actions Permalink
  • Deger

    Everyone gets their desktop redirected to the same network share, so everyone has the same desktop, and things can be added or removed for everyone at once.

    0
    Comment actions Permalink
  • Brandon Bunnelle

    Try this...

    Create a PowerShell step.

    Either call this as a .ps1 file or paste it directly into the window.

    {

        $TargetFile = 'Location Where Application.exe Is Housed'
        $ShortcutFile = '%UserProfile%\Desktop\Program.lnk'
        $WScriptShell = New-Object -ComObject Wscript.Shell
        $Shortcut = $WScriptShell.CreateShortcut($ShortcutFile)
        $Shortcut.TargetPath = $TargetFile
        $Shortcut.Save()

    }

    1. Change the "$TargetFile" path to where you are housing your Application Executable.

    2. The "$ShortcutFile" will create a shortcut on the current user's desktop.

     

    0
    Comment actions Permalink

Please sign in to leave a comment.