jdhitsolutions / WTToolbox

:computer: A set of PowerShell commands for managing and using the Windows Terminal application.
MIT License
68 stars 13 forks source link

Windows Terminal fails with "Deployment failed with HRESULT: 0x80073CF0" #16

Closed animatco closed 2 years ago

animatco commented 2 years ago

Good Day Jeff,

when trying to use the Install-WTRelease I am getting the following error. I do not believe it is the Function, but was wondering if you have a suggested fix? It does download the MSIXBundle to the $env:temp directory.

Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF0, Package could not be opened. error 0x8007007B: Opening the package from location Microsoft.WindowsTerminal_1.11.3471.0_8wekyb3d8bbwe.msixbundle failed. NOTE: For additional information, look for [ActivityId] 7e3e4db8-c04e-0005-c744-967e4ec0d701 in the Event Log or use the command line Get-AppxLog -ActivityID 7e3e4db8-c04e-0005-c744-967e4ec0d701 At line:39 char:17

jdhitsolutions commented 2 years ago

This is still a tricky thing to pull off. What version of Windows and what version of PowerShell are you using? This will not work in older versions of PowerShell Core. If using Core, you need to be running PowerShell 7.2.

animatco commented 2 years ago

Windows Server 2016 std. Powershell 5.1

ps: 2 yrs now in a row not to see you in Austin. Hopefully 2022!

jdhitsolutions commented 2 years ago

Hmm...I wonder if the server platform is missing some necessary parts. I'll have to test. And yes, I am hoping to return to Austin this year.

jdhitsolutions commented 2 years ago

I was able to duplicate the error. Now to figure out why.

jdhitsolutions commented 2 years ago

Windows Terminal is not supported on Windows Server 2016. This will never work. I'll need to update my documentation.

animatco commented 2 years ago

Thank you Jeff for confirming. Hope to see later in the year!