-
-
Notifications
You must be signed in to change notification settings - Fork 76
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedFeel free to submit a PRFeel free to submit a PR
Description
Expected Behavior
I expected to install the windows terminal without having the windows store installed.
Current Behavior
The package installation fails as:
Installing the following packages:
microsoft-windows-terminal
By installing, you accept licenses for the packages.
microsoft-windows-terminal v1.12.10732.0 [Approved]
microsoft-windows-terminal package files install completed. Performing other installation steps.
ERROR: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Deployment failed with HRESULT: 0x80073D19, An error occurred because a user was logged off.
Windows cannot install package Microsoft.WindowsTerminal_1.12.10732.0_x64__8wekyb3d8bbwe because this package depends on a framework that could not be found. Provide the framework "Microsoft.VCLibs.140.00.UWPDesktop" published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x64 processor architecture and minimum version 14.0.30035.0, along with this package to install. The frameworks with name "Microsoft.VCLibs.140.00.UWPDesktop" currently installed are
Windows cannot install package Microsoft.WindowsTerminal_1.12.10732.0_x64__8wekyb3d8bbwe because this package depends on a framework that could not be found. Provide the framework "Microsoft.VCLibs.140.00.UWPDesktop" published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x64 processor architecture and minimum version 14.0.30035.0, along with this package to install. The frameworks with name "Microsoft.VCLibs.140.00.UWPDesktop" currently installed are: {}
NOTE: For additional information, look for [ActivityId] ff43154a-41ff-0000-38b4-43ffff41d801 in the Event Log or use the command line Get-AppPackageLog -ActivityID ff43154a-41ff-0000-38b4-43ffff41d801
The install of microsoft-windows-terminal was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\microsoft-windows-terminal\tools\chocolateyInstall.ps1'.
See log for details.
Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Possible Solution
As described in the Windows Terminal Release page:
In addition, if you install the packaged version on either Windows 10 or Windows 11, it now depends on the Visual C++ Universal Runtime Package.
So this chocolatey package is missing that dependency.
After I've manually installed it with:
# install the Visual C++ Desktop Universal Runtime Package dependency.
# see https://docs.microsoft.com/en-us/troubleshoot/developer/visualstudio/cpp/libraries/c-runtime-packages-desktop-bridge?msclkid=3e1dd82aac8b11ec8f9dbd86d5979ca8#how-to-install-and-update-desktop-framework-packages
# see https://github.com/microsoft/terminal/releases/tag/v1.12.10732.0
$archiveUrl = 'https://download.microsoft.com/download/4/7/c/47c6134b-d61f-4024-83bd-b9c9ea951c25/14.0.30035.0-Desktop/Microsoft.VCLibs.x64.14.00.Desktop.appx'
$archiveName = Split-Path -Leaf $archiveUrl
$archivePath = "$env:TEMP\$archiveName"
(New-Object System.Net.WebClient).DownloadFile($archiveUrl, $archivePath)
Add-AppxPackage $archivePath
Remove-Item $archivePath
I can now install the chocolatey package.
# install the Windows Terminal.
choco install -y microsoft-windows-terminal --version 1.12.10732.0
Steps to Reproduce (for bugs)
choco install -y microsoft-windows-terminal --version 1.12.10732.0
Your Environment
- Package Version used: 1.12.10732.0
- Operating System and version: Windows 10 20H2.
- Chocolatey version: 0.12.1
yan12125, jeremyj563, jvgarner, remss, jmoralesv and 4 more
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedFeel free to submit a PRFeel free to submit a PR