2021-02-28 16:31:43 +01:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
set EXE=..\software\teams-setup.exe
|
|
|
|
|
|
|
|
if NOT EXIST %EXE% (
|
|
|
|
echo ERROR: %EXE% not found!
|
|
|
|
exit /b
|
|
|
|
)
|
|
|
|
|
|
|
|
echo ####### %0 #######
|
|
|
|
|
|
|
|
echo installing Microsoft Teams ...
|
2021-03-06 16:23:00 +01:00
|
|
|
start /wait %EXE% -s
|
2021-02-28 16:31:43 +01:00
|
|
|
|
2021-02-28 22:17:02 +01:00
|
|
|
echo renaming and moving Teams desktop link ...
|
|
|
|
move /Y "%USERPROFILE%\Desktop\Microsoft Teams.lnk" "%PUBLIC%\Desktop\Teams.lnk"
|
|
|
|
|
2021-03-06 16:23:00 +01:00
|
|
|
rem refresh desktop (W10 style)
|
|
|
|
ie4uinit.exe -show
|
|
|
|
|
2021-02-28 16:31:43 +01:00
|
|
|
echo ####### %0 #######
|
2021-03-02 21:47:42 +01:00
|
|
|
pause
|
|
|
|
|