Deyda / NeverRed

NeverRed's focus is to provide a simple solution to keep standard software up to date without having to package it or search and compare versions on vendor sites. https://www.deyda.net/index.php/en/neverred/
37 stars 7 forks source link

Install the Microsoft Teams Meeting Add-in didn't work #101

Closed Ide73 closed 1 month ago

Ide73 commented 1 month ago

I found the code to install the add-in on this blog https://oberrauch.bz.it/2024/10/16/actual-quick-fixes-for-teams-2-0-vdi-pain-points/

There is a possible problem. When I try to install the add-in, the registration doesn’t work.

The issue is with lines 4 and 5. msiexec.exe /i "$($installerPath.FullName)\MicrosoftTeamsMeetingAddinInstaller.msi" ` Reboot=ReallySuppress ALLUSERS=1 TARGETDIR="C:\Windows\Microsoft\TeamsMeetingAddin" /qn

I changed it to one line with Start-Proces and waited until the process finished. Start-Process -FilePath "msiexec.exe" -ArgumentList "/i "$($installerPath.FullName)\MicrosoftTeamsMeetingAddinInstaller.msi" Reboot=ReallySuppress ALLUSERS=1 TARGETDIR="C:\Windows\Microsoft\TeamsMeetingAddin" /qn" -Wait

After I made the change, the script runs without errors and the registration works. It seems to be a runtime problem. Server 2019

Best regards, Patrick Wagner

Ide73 commented 1 month ago

changedScript4TeamsOutlookAddin Copy-pasting changed the quotation marks.

Deyda commented 1 month ago

Solved in newest version