Jump to content
gerrick

Microsoft Teams install script

Recommended Posts

Installing this app is killing me. Does any one have a script that works and you're willing to share? Your assistance is appreciated. 

Using this for install: msiexec.exe /i "C:\Windows\LTSvc\Teams\Teams_windows_x64.msi" /qn

It does work locally if I open a CMD as admin.

Edited by gerrick
didn't say thx.

Share this post


Link to post
Share on other sites

Not a direct solution but try the 32bit version. I attempted to deploy the 64bit package for a long time and it simply would not work, whereas 32bit installs perfectly fine using the command you've pasted. Microsoft suggests it should work the same for both packages but that's not our experience and our ticket is still open with them.

 

 

 

Share this post


Link to post
Share on other sites

We install almost all of our extra apps with Chocolatey, seems to work very well. 

I can export the install function and the a sample script that passes the various variables like app name.

 

Share this post


Link to post
Share on other sites

You need to run your Automate script with Console shell.

Start the script with "If console logged on".

If user logged on - continue.

If not. Exit script or schedule a re-run.

 

If user is logged on run the exe or msi with Console shell [Commands and install parameters] on %consolenumber% and it will install Teams.

 

Share this post


Link to post
Share on other sites

Forgot to mention that the above is for the .exe file and not the teams wide installer (msi).

It will only install Teams for the user currently logged in.

Share this post


Link to post
Share on other sites

I have a working script for MS Teams wide installer (all users) that we deploy with Automate if anyone want it I can share.

Just tell me how you want to get it delivered :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...