Page 1 of 1

[SOLVED] Package tis-microsoft-teams-uwp

Published: February 27, 2024 - 4:55 PM
by gaelds
Good morning,
I wanted to test the latest Teams package "UWP", but it crashes during installation on a PowerShell command:

Code: Select all

Installing: MSTeams-x64.msix (23335.232.2637.4844)
Traceback (most recent call last):
  File "C:\wapt\setuphelpers_windows.py", line 1194, in run_powershell
    result = run(cmd,
  File "C:\wapt\waptutils.py", line 2174, in run
    raise CalledProcessErrorOutput(proc.returncode, cmd, ''.join(output+return_stderr))
waptutils.CalledProcessErrorOutput: Command 'powershell -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -OutputFormat text -EncodedCommand "QQBkAGQALQBBAHAAcAB4AFAAcgBvAHYAaQBzAGkAbwBuAGUAZABQAGEAYwBrAGEAZwBlACAALQBPAG4AbABpAG4AZQAgAC0AUABhAGMAawBhAGcAZQBQAGEAdABoACAAIgBNAFMAVABlAGEAbQBzAC0AeAA2ADQALgBtAHMAaQB4ACIAIAAtAFMAawBpAHAATABpAGMAZQBuAHMAZQA=" ' returned non-zero exit status 1.
Output:#< CLIXML
<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Préparation des modules à la première utilisation.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S="progress" RefId="1"><TNRef RefId="0" /><MS><I64 N="SourceId">2</I64><PR N="Record"><AV>Préparation des modules à la première utilisation.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><S S="Error">Add-AppxProvisionedPackage : Élément introuvable._x000D__x000A_</S><S S="Error">Au caractère Ligne:1 : 1_x000D__x000A_</S><S S="Error">+ Add-AppxProvisionedPackage -Online -PackagePath "MSTeams-x64.msix" -S ..._x000D__x000A_</S><S S="Error">+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S="Error">    + CategoryInfo          : NotSpecified: (:) [Add-AppxProvisionedPackage], COMException_x000D__x000A_</S><S S="Error">    + FullyQualifiedErrorId : Microsoft.Dism.Commands.AddAppxProvisionedPackageCommand_x000D__x000A_</S><S S="Error"> _x000D__x000A_</S></Objs>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\wapt\common.py", line 4234, in install_wapt
    exitstatus = setup.install()
  File "C:\WINDOWS\TEMP\waptz0_us848\setup.py", line 22, in install
  File "C:\wapt\setuphelpers_windows.py", line 1198, in run_powershell
    raise CalledProcessErrorOutput(e.returncode, cmd, e.output)
waptutils.CalledProcessErrorOutput: Command 'powershell -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -OutputFormat text -EncodedCommand "QQBkAGQALQBBAHAAcAB4AFAAcgBvAHYAaQBzAGkAbwBuAGUAZABQAGEAYwBrAGEAZwBlACAALQBPAG4AbABpAG4AZQAgAC0AUABhAGMAawBhAGcAZQBQAGEAdABoACAAIgBNAFMAVABlAGEAbQBzAC0AeAA2ADQALgBtAHMAaQB4ACIAIAAtAFMAawBpAHAATABpAGMAZQBuAHMAZQA=" ' returned non-zero exit status 1.
Output:#< CLIXML
<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Préparation des modules à la première utilisation.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S="progress" RefId="1"><TNRef RefId="0" /><MS><I64 N="SourceId">2</I64><PR N="Record"><AV>Préparation des modules à la première utilisation.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><S S="Error">Add-AppxProvisionedPackage : Élément introuvable._x000D__x000A_</S><S S="Error">Au caractère Ligne:1 : 1_x000D__x000A_</S><S S="Error">+ Add-AppxProvisionedPackage -Online -PackagePath "MSTeams-x64.msix" -S ..._x000D__x000A_</S><S S="Error">+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S="Error">    + CategoryInfo          : NotSpecified: (:) [Add-AppxProvisionedPackage], COMException_x000D__x000A_</S><S S="Error">    + FullyQualifiedErrorId : Microsoft.Dism.Commands.AddAppxProvisionedPackageCommand_x000D__x000A_</S><S S="Error"> _x000D__x000A_</S></Objs>

CalledProcessErrorOutput: Command 'powershell -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -OutputFormat text -EncodedCommand "QQBkAGQALQBBAHAAcAB4AFAAcgBvAHYAaQBzAGkAbwBuAGUAZABQAGEAYwBrAGEAZwBlACAALQBPAG4AbABpAG4AZQAgAC0AUABhAGMAawBhAGcAZQBQAGEAdABoACAAIgBNAFMAVABlAGEAbQBzAC0AeAA2ADQALgBtAHMAaQB4ACIAIAAtAFMAawBpAHAATABpAGMAZQBuAHMAZQA=" ' returned non-zero exit status 1.
Output:#< CLIXML
<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Préparation des modules à la première utilisation.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S="progress" RefId="1"><TNRef RefId="0" /><MS><I64 N="SourceId">2</I64><PR N="Record"><AV>Préparation des modules à la première utilisation.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><S S="Error">Add-AppxProvisionedPackage : Élément introuvable._x000D__x000A_</S><S S="Error">Au caractère Ligne:1 : 1_x000D__x000A_</S><S S="Error">+ Add-AppxProvisionedPackage -Online -PackagePath "MSTeams-x64.msix" -S ..._x000D__x000A_</S><S S="Error">+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S="Error">    + CategoryInfo          : NotSpecified: (:) [Add-AppxProvisionedPackage], COMException_x000D__x000A_</S><S S="Error">    + FullyQualifiedErrorId : Microsoft.Dism.Commands.AddAppxProvisionedPackageCommand_x000D__x000A_</S><S S="Error"> _x000D__x000A_</S></Objs>

Re: Package tis-microsoft-teams-uwp

Published: February 28, 2024 - 08:19
by gaelds
The command launched manually returns the error shown in the attached image.

- Installed WAPT version (2.5.4.15342)
- Server OS (Linux / Windows) and version (Debian 11)
- OS of the administration/package creation machine (Windows 10)

And another question: On the machines where the installation works, how do I add a shortcut to "New Teams" on the desktop or make it start automatically (in the background)?

Re: Package tis-microsoft-teams-uwp

Published: February 28, 2024 - 4:02 PM
by jpele
Hello,
The package was fixed yesterday and is available on the testing repository for 5 days before being released to the Public Store:
https://wapt.tranquil.it/wapt-testing/t ... EPROD.wapt

Regards,
Jimmy

Re: [SOLVED] Package tis-microsoft-teams-uwp

Published: February 29, 2024 - 12:17 PM
by gaelds
Thanks Jimmy! Indeed, this version installs without errors. Now I just need to figure out how to make the new Teams launch at startup, or at least create a desktop shortcut.

Re: [SOLVED] Package tis-microsoft-teams-uwp

Published: February 29, 2024 - 12:19 PM
by dcardon
Hi Gaël,

thanks for the feedback. :-) Microsoft is really messing things up with Teams right now; we've seen users with five different versions installed on the same machine... The deployment method changes every month; it's quite chaotic.

Best regards,

Denis