[SOLVED] Package tis-microsoft-teams-uwp

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
Gaelds
Messages: 254
Registration: Nov 22, 2015 - 08:37

February 27, 2024 - 4:55 PM

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>
Gaelds
Messages: 254
Registration: Nov 22, 2015 - 08:37

February 28, 2024 - 08:19

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)?
Attachments
2024-02-28 08_18_11.jpg
2024-02-28 08_18_11.jpg (27.14 KB) Viewed 4852 times
User avatar
jpele
Messages: 156
Registration: March 4, 2019 - 12:01
Location: Nantes

February 28, 2024 - 4:02 PM

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
Gaelds
Messages: 254
Registration: Nov 22, 2015 - 08:37

February 29, 2024 - 12:17

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.
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

February 29, 2024 - 12:19

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
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Locked