Triển khai Microsoft Teams Client bằng Trình quản lý cấu hình. Not a perfect method – but work very well. Tested with SCCM 1610 and SCCM 1702 cài đặt.
Cập nhật: There are now *.MSI files có sẵn, 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. (trong trường hợp của tôi 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
GHI CHÚ: if you have very fast PC’s in your network – decrease timeout;
3. Hướng đến Thư viện phần mềmQuản lý ứng dụngỨng dụng. Nhấp chuột Tạo ứng dụng trong menu phía trên;
4. Vì Tổng quan, chọn tùy chọn Chỉ định thủ công thông tin ứng dụng và bấm vào Kế tiếp;
5. Vì General Information, fill out all fields that you wish, nhấp chuột Kế tiếp;
6. Vì the Application Catalog, fill out all fields that you wish, add Icon (250×250);
7. Nhấp chuột Kế tiếp;
8. Vì Deployments Types nhấp chuột Thêm vào;
9. Vì Tổng quan, Tại Kiểuchọn Trình cài đặt tập lệnh và bấm vào Kế tiếp;
10. Vì General Information, đi vào your Tên, and add some Administrator Comments hoặc ngôn ngữ. Nhấp chuột Kế tiếp;
11. Vì Nội dung, lựa chọn Nội dung-Vị trí. Tại Chương trình cài đặt đi vào:
"teams.bat"
GHI CHÚ: This is a *.bat file from the beginning.
12. Tại Gỡ cài đặt chương trình đi vào:
"%LocalAppData%\Microsoft\Teams\Update.exe" --uninstall -s
GHI CHÚ: Microsoft Teams installing to user folder “C:\users\<tên tài khoản>\AppData\Local\Microsoft\Teams\”.
13. Nhấp chuột Kế tiếp;
14. Vì the Detection method nhấp chuột Thêm khoản;
15. Tại Loại cài đặt chọn:
Registry
16. Tại tổ ong chọn:
HKEY_CURRENT_USER
17. Tại Chìa khóa đi vào;
SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Teams
18. Tại Giá trị đi vào:
DisplayVersion
19. Set check mark at Khóa đăng ký này được liên kết với ứng dụng 32 bit trên hệ thống 64 bit
20. Tại Loại dữ liệu chọn:
String or Version
GHI CHÚ: 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. Nhấp chuột ĐƯỢC RỒI;
22. Nhấp chuột Kế tiếp;
23. Vì Kinh nghiệm người dùng, at installation behavior choose:
Install for user
24. Tại Installation program visibility chọn:
Hidden
25. Bộ the Estimated installation time (phút) và bấm vào Kế tiếp;
26. Vì Yêu cầu, config as you need, nhấp chuột Kế tiếp;
27. Vì phụ thuộc, config as you need, nhấp chuột Kế tiếp;
28. Vì Bản tóm tắt, nhấp chuột Kế tiếp;
29. Nhấp chuột Đóng;
30. Vì Deployments Types, Nhấp chuột Kế tiếp;
31. Vì Bản tóm tắt, nhấp chuột Kế tiếp;
32. Nhấp chuột Đóng;
33. Distribute content ĐẾN Điểm phân phối;
34. Deploy Application to Device Collection;
Install Microsoft Teams Client from Software Center
1. Go to the client and open Trung tâm phần mềm;
2. Select the app and click Cài đặt;
GHI CHÚ: 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;
Hoàn hảo!
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?
CHÀO. 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.