Unable to install the new Teams (MSIX) silently

This is the first time I've encountered .msix files and I want to get in front of them with our internal scripting so I'll know how to do it whenever it's required.

First attempt was:

Add-AppxPackage -Path "%UserProfile%\Downloads\MSTeams-x64.msix"

This was tricky because on the 4 computers I tested this on 2 did nothing and the other 2 showed a screen from the installer. More info on that below.

Second attempt I found here:

So I made a script somewhere on the lines of:

msiexec /i %UserProfile%\Downloads\msixmgrSetup.msi /qn /norestart
"C:\Program Files\msixmgr\msixmgr.exe" -AddPackage "%UserProfile%\Downloads\MSTeams-x64.msix" -quietUX

But I cannot get the -quietUX to work, the furthest I got was dropping that at the end and I was able to press the Install Teams button that comes up.

with the -QuietUX I just get explanation of how to use the app

I tried playing around with the order of it and it looks like it did something but the darn thing didn't install (installing manually after you've installed it once is super fast so I would know if it installed or not)

Does anyone know how to do this?

Alright after searching further I found out how to do this

Add-AppProvisionedPackage -Online -PackagePath "%UserProfile%\Downloads\MSTeams-x64.msix" -SkipLicense


I thought I'd already attempted this but I must not have had it quite right earlier. Hopefully this helps someone!

30 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Dear pizzide,

Thank you for posting to the Microsoft Community. We are happy to assist you.

We are looking into your situation, we will update the thread shortly.

I appreciate your patience and understanding and thank you for your time and cooperation.

Sincerely,

Hailey Wang | Microsoft Community Moderator

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Dear pizzide,

Good day!

Based on your description, I understand that you're having trouble with using PowerShell to install the new Teams.

As you make PowerShell and Microsoft-related queries, you have a specific support channel resource for certain different support scopes and attributes. Since we're focusing on Teams, we're afraid we couldn't give you a proper suggestion here.

Would you like to contact PowerShell Command Tech Support? We believe they will provide you with a professional and efficient solution to your concern.

Thank you for your effort and understanding.

I hope you always stay safe and healthy!

Sincerely,

Hailey Wang | Microsoft Community Moderator

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated December 19, 2024 Views 15,219 Applies to: