[GELÖST] Fehler mit dem Paket microsoft-teams-uwp

Fragen zu WAPT-Paketen / Anfragen und Hilfe bezüglich WAPT-Paketen.
Forumregeln
Community-Forumregeln
* Englischer Support auf www.reddit.com/r/wapt
* Französischer Community-Support ist in diesem Forum verfügbar.
* Bitte kennzeichnen Sie gelöste Themen mit [GELÖST].
* Bitte bearbeiten Sie keine Themen, die mit [GELÖST] markiert sind. Erstellen Sie stattdessen ein neues Thema und verweisen Sie auf das alte.
* Geben Sie die installierte WAPT-Version, die vollständige Versionsnummer und die Build-Nummer (2.2.1.11957 / 2.2.2.12337 / usw.) sowie die Enterprise-/Discovery-Edition an.
* Versionen 1.8.2 und älter werden nicht mehr unterstützt. Fragen zu Version 1.8.2 werden nur beantwortet, wenn sie sich auf ein Upgrade auf eine unterstützte Version (2.1, 2.2 usw.) beziehen.
* Geben Sie das Server-Betriebssystem (Linux/Windows) und die Version (Debian Buster/Bullseye – CentOS 7 – Windows Server 2012/2016/2019) an.
* Geben Sie gegebenenfalls das Betriebssystem des Administrations-/Paketerstellungsrechners und des Rechners mit dem problematischen Agenten an (Windows 7/10/11/Debian 11/etc.).
* Vermeiden Sie es, mehrere Fragen in einem Thema zu stellen, da diese sonst möglicherweise ignoriert werden. Falls mehrere Themen relevant sind, erstellen Sie bitte separate Themen, vorzugsweise nacheinander und nicht gleichzeitig (d. h. vermeiden Sie Spam im Forum).
* Fügen Sie Code-Snippets, Screenshots und andere Bilder direkt in Ihren Beitrag ein. Links zu Pastebin, Bitly und anderen Drittanbieterseiten werden systematisch entfernt.
* Wie in jedem Community-Forum erfolgt die Unterstützung freiwillig durch die Mitglieder. Für kommerziellen Support kontaktieren Sie bitte den Vertrieb von Tranquil IT unter +44 2 40 97 57 55.
Gälen
Nachrichten: 254
Anmeldung: 22. November 2015 - 08:37 Uhr

9. April 2024 – 15:48 Uhr

Guten Morgen,
Ich habe das Microsoft-Teams-UWP-Paket in meinem Netzwerk bereitgestellt, aber auf einigen Dutzend Rechnern treten weiterhin Fehler auf. Auf diesen Rechnern kann ich die Datei MSteams-x64.msix zwar manuell installieren, das Paket lässt sich aber trotzdem nicht installieren. Die betroffenen Rechner verwenden Windows 10 20H2/21H1/21H2 oder Windows 11 21H2/22H2

Hier ist ein Beispiel für einen Fehler in der Konsole:

Code: Alle auswählen

Installing: MSTeams-x64.msix (24004.1309.2689.2246)
Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\setuphelpers_windows.py", line 1194, in run_powershell
    result = run(cmd,
  File "C:\Program Files (x86)\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 : Le package ne satisfait pas à la condition requise pour la mise en service de l'image _x000D__x000A_</S><S S="Error">cible. Pour plus d'informations, voir l'aide._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:\Program Files (x86)\wapt\common.py", line 4234, in install_wapt
    exitstatus = setup.install()
  File "C:\Windows\TEMP\waptucvpk3rl\setup.py", line 24, in install
  File "C:\Program Files (x86)\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 : Le package ne satisfait pas à la condition requise pour la mise en service de l'image _x000D__x000A_</S><S S="Error">cible. Pour plus d'informations, voir l'aide._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 : Le package ne satisfait pas à la condition requise pour la mise en service de l'image _x000D__x000A_</S><S S="Error">cible. Pour plus d'informations, voir l'aide._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>
Und zweitens: Wie kann ich, bevor ich die alten Teams deinstalliere, beim Systemstart automatisch "neue Teams" starten?
Zuletzt bearbeitet von gaelds am 11. Juni 2024 um 10:49 Uhr, insgesamt 3 Mal bearbeitet.
Gälen
Nachrichten: 254
Anmeldung: 22. November 2015 - 08:37 Uhr

9. April 2024 – 17:00 Uhr

Auf einem anderen PC wird eine andere Fehlermeldung angezeigt: „Für die Installation dieser Anwendung ist eine Windows-Entwicklerlizenz oder eine... erforderlich.“

Code: Alle auswählen

Installing: MSTeams-x64.msix (24033.813.2773.520)
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'installation de cette application requiert une licence de développeur Windows ou un _x000D__x000A_</S><S S="Error">système compatible avec le chargement indépendant._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\waptyd_xmrlk\setup.py", line 24, 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'installation de cette application requiert une licence de développeur Windows ou un _x000D__x000A_</S><S S="Error">système compatible avec le chargement indépendant._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'installation de cette application requiert une licence de développeur Windows ou un _x000D__x000A_</S><S S="Error">système compatible avec le chargement indépendant._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>
Benutzeravatar
dcardon
WAPT-Experte
Nachrichten: 1955
Anmeldung: 18. Juni 2014 - 09:58 Uhr
Ort: Saint Sébastien sur Loire
Kontakt:

10. April 2024 - 10:26 Uhr

Hallo Gaël,

Verwenden Sie beim manuellen Testen der Installation dieselbe Befehlszeile?

Code: Alle auswählen

Add-AppxProvisionedPackage -Online -PackagePath "MSTeams-x64.msix" -SkipLicense
Haben Sie es als Systemkonto getestet? (durch Ausführen eines PowerShell-Befehls mit psexec -i -s powershell.exe)

Aufrichtig,

Denis
Denis Cardon – Tranquil IT
Teilen Sie Ihre Erfahrungen auf WAPT! Senden Sie uns Ihre Blog- und Artikel-URLs im „Ihre Meinung des Forums, und wir werden sie auf der WAPT-
Gälen
Nachrichten: 254
Anmeldung: 22. November 2015 - 08:37 Uhr

10. April 2024 - 11:02 Uhr

Hallo, so sieht es auf einem der betroffenen PCs aus.
2024-04-10 11_00_12-Window.jpg
2024-04-10 11_00_12-Window.jpg (38,35 KB) 10432 Aufrufe
Gälen
Nachrichten: 254
Anmeldung: 22. November 2015 - 08:37 Uhr

10. April 2024 - 11:38 Uhr

Ich verstehe es zwar nicht ganz, aber heute Morgen scheint es besser zu funktionieren. Auf demselben PC wie oben habe ich MSTeams-x64.msix manuell als Administrator neu installiert (es war seit gestern verschwunden). Anschließend habe ich das Paket microsoft-teams-uwp_24033.813.2773.520 neu installiert, und diesmal hat es geklappt!
Ich habe das Gleiche gerade auf einem anderen gesperrten Desktop-PC gemacht, und auch dort funktionierte das Paket nach der manuellen Installation von msix.
Es müssen noch etwa vierzig PCs entsperrt werden. :weinen: Davon sind nur Laptops; ob das Zufall ist, weiß ich nicht …?
Benutzeravatar
dcardon
WAPT-Experte
Nachrichten: 1955
Anmeldung: 18. Juni 2014 - 09:58 Uhr
Ort: Saint Sébastien sur Loire
Kontakt:

10. April 2024 - 12:20 Uhr

Hallo Gaël,

Könnten Sie bitte den folgenden Befehl auf dem betroffenen Rechner ausprobieren, bevor Sie add-appxprovisionedpackage erneut ausführen?

Code: Alle auswählen

Remove-AppxProvisionedPackage -PackageName teamsmsix.appx  -Online -AllUsers


Aufrichtig,

Denis
Denis Cardon – Tranquil IT
Teilen Sie Ihre Erfahrungen auf WAPT! Senden Sie uns Ihre Blog- und Artikel-URLs im „Ihre Meinung des Forums, und wir werden sie auf der WAPT-
Gälen
Nachrichten: 254
Anmeldung: 22. November 2015 - 08:37 Uhr

10. April 2024 – 13:01 Uhr

Remove-AppxProvisionedPackage -PackageName teamsmsix.appx -Online -AllUsers
: Falscher Parameter.
Zu Zeichen Zeile:1: 1
+ Remove-AppxProvisionedPackage -PackageName teamsmsix.appx -Online -A ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo: NotSpecified: (:) [Remove-AppxProvisionedPackage], PSArgumentException
+ FullyQualifiedErrorId: Microsoft.Dism.Commands.RemoveAppxProvisionedPackageCommand
Gälen
Nachrichten: 254
Anmeldung: 22. November 2015 - 08:37 Uhr

10. April 2024 – 13:47 Uhr

Ich habe die Installation auf drei PCs freigeschaltet, indem ich in der Gruppenrichtlinie unter „Konfiguration“ > „Computer“ > „Administrative Vorlagen“ > „Komponenten“ > „Anwendungspaketbereitstellung“ die Option „ Installation aller vertrauenswürdigen Anwendungen zulassen“ aktiviert habe.

Quelle:https://learn.microsoft.com/fr-fr/micro ... stallation
Zuletzt bearbeitet von gaelds am 12. April 2024 um 15:09 Uhr, 2 Mal bearbeitet.
Benutzeravatar
Sfonteneau
WAPT-Experte
Nachrichten: 2322
Registriert: 10. Juli 2014 - 23:52 Uhr
Kontakt:

10. April 2024 – 14:53 Uhr

Bei PCs, bei denen dieses Problem auftritt, können Sie Folgendes versuchen:

https://learn.microsoft.com/en-us/micro ... e-computer
Gälen
Nachrichten: 254
Anmeldung: 22. November 2015 - 08:37 Uhr

10. Juni 2024 - 11:57 Uhr

Guten Morgen,
Ich habe kürzlich das Paket microsoft-teams-uwp (24102) aktualisiert und erhalte nun wieder Fehlermeldungen auf PCs, auf denen die vorherige Version (24033) installiert war.

Auf einigen PCs (immer Laptops!, Windows 10 oder 11) erhalte ich diese Fehlermeldung:

Code: Alle auswählen

Installing: MSTeams-x64.msix (24102.2223.2870.9480)
Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\setuphelpers_windows.py", line 1194, in run_powershell
    result = run(cmd,
  File "C:\Program Files (x86)\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 : Le package ne satisfait pas à la condition requise pour la mise en service de l'image _x000D__x000A_</S><S S="Error">cible. Pour plus d'informations, voir l'aide._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:\Program Files (x86)\wapt\common.py", line 4234, in install_wapt
    exitstatus = setup.install()
  File "C:\Windows\TEMP\wapthidyptta\setup.py", line 24, in install
  File "C:\Program Files (x86)\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 : Le package ne satisfait pas à la condition requise pour la mise en service de l'image _x000D__x000A_</S><S S="Error">cible. Pour plus d'informations, voir l'aide._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 : Le package ne satisfait pas à la condition requise pour la mise en service de l'image _x000D__x000A_</S><S S="Error">cible. Pour plus d'informations, voir l'aide._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>
Ich konnte MSTeams-x64.msix (heruntergeladen von der Microsoft-Website) auf einigen PCs manuell installieren, und das Paket ließ sich anschließend problemlos installieren. Auf einigen wenigen Rechnern schlägt die Installation jedoch weiterhin fehl, obwohl New Teams bereits vorhanden ist und funktioniert.
Manchmal kann ich MSTeams-x64.msix nur manuell starten, wenn ich in den lokalen Richtlinien die Option „Installation vertrauenswürdiger Anwendungen zulassen“ aktiviere.


NACHTRAG: Nach der Ausführung von sfc /scannow (zusätzlich zur Gruppenrichtlinie, die die Installation vertrauenswürdiger Anwendungen zulässt) bleiben nur noch 8 hartnäckige Laptops übrig. Abgesehen von der Neuerstellung des Festplattenabbilds komme ich aber nicht weiter … New Teams wird zwar korrekt mit dem MSIX-Paket installiert, aber das Paket schlägt fehl.
Gesperrt