Deploy Microsoft Teams Client with Configuration Manager. Not a perfect method – but work very well. Tested with SCCM 1610 and SCCM 1702 installation.
업데이트: There are now *.MSI files available, so you don’t need this post anymore.
Create Microsoft Teams client application deployment
1. Create a folder at your SCCM Distribution Point for Microsoft Teams Client setup files. (in my case D:\Install\Microsoft Teams\1.0.00.7405);
2. Place to folder Client setup file and create *.bat file with text strings;
Teams_windows_x64 /s
timeout 60
메모: if you have very fast PC’s in your network – decrease timeout;
3. 다음으로 이동 소프트웨어 라이브러리 응용 프로그램 관리 응용 프로그램. Click 응용 프로그램을 만듭니다 in the upper menu;
4. 을 위한 General, select the option 응용 프로그램 정보를 수동으로 지정합니다 그리고 클릭 Next;
5. 을 위한 General Information, fill out all fields that you wish, click Next;
6. 을 위한 the Application Catalog, fill out all fields that you wish, add Icon (250×250);
7. Click Next;
8. 을 위한 Deployments Types click Add;
9. 을 위한 General, ~에 Type choose 스크립트 설치자 그리고 클릭 Next;
10. 을 위한 General Information, enter your 이름, and add some Administrator Comments or Languages. Click Next;
11. 을 위한 Content, select 콘텐츠 위치. At the 설치 프로그램 enter:
"teams.bat"
메모: 이것 is a *.bat file from the beginning.
12. At 프로그램 제거 enter:
"%LocalAppData%\Microsoft\Teams\Update.exe" --uninstall -s
메모: Microsoft Teams installing to user folder “C:\users\<username>\AppData\Local\Microsoft\Teams\”.
13. Click Next;
14. 을 위한 the Detection method click 조항을 추가하십시오;
15. At Setting Type choose:
Registry
16. At 하이브 choose:
HKEY_CURRENT_USER
17. At Key enter;
SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Teams
18. At 값 enter:
DisplayVersion
19. Set check mark at This registry key is associated with a 32-bit application on 64-bit systems
20. At 데이터 유형 choose:
String or Version
메모: you may click OK and set the detection method to installed or not installed. Or set the second option and enter at Value your version.
21. Click 좋아요;
22. Click Next;
23. 을 위한 User Experience, at installation behavior choose:
Install for user
24. At Installation program visibility choose:
Hidden
25. Set the Estimated installation time (minutes) 그리고 클릭 Next;
26. 을 위한 Requirements, config as you need, click Next;
27. 을 위한 Dependencies, config as you need, click Next;
28. 을 위한 요약, click Next;
29. Click 닫다;
30. 을 위한 Deployments Types, Click Next;
31. 을 위한 요약, click Next;
32. Click 닫다;
33. Distribute content to 분포 지점;
34. Deploy Application to Device Collection;
Install Microsoft Teams Client from Software Center
1. Go to the client and open 소프트웨어 센터;
2. Select the app and click 설치하다;
메모: App installation time increases by the time from a timeout in the *.bat file
3. Desktop link created, so app installation goes well, wait for timeout;
완벽한!
If SCCM runs under the System account context then won’t %localappdata% be for that account and not the currently logged on user?
In this case you run as service account, but app install for current logged user. App can be installed only if user logged in. Installation behavior – For current user, run as account not current user, it’s only run installation for current user.
What is the timeout for?
There is timeout (based on PC perfomance), because detection rule don’t recognize installation if you run simple silent installation “Teams_windows_x64 /s”, there is some idle with keys creation. But with timeout after product installation – detection rule work as it must. In simple words timeout for correctly detection.
0x87D00324(-2016410844) have a idea?
안녕. Application is installed, this error code means problems with application detection. Try to check if the application installed. if everything fine – check installation detection rules
Thank you. timeout solved my problem.