Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to update "Microsoft.VCLibs.140.00.UWPDesktop" #2369

Closed
youthlin opened this issue Aug 9, 2019 · 20 comments
Closed

How to update "Microsoft.VCLibs.140.00.UWPDesktop" #2369

youthlin opened this issue Aug 9, 2019 · 20 comments
Labels
Needs-Attention The core contributors need to come back around and look at this ASAP. Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting

Comments

@youthlin
Copy link

youthlin commented Aug 9, 2019

I can't install it from Microsoft Store for some reson, so I install it via choco:
choco install microsoft-windows-terminal -y
But :

PS C:\Users\lin> choco install microsoft-windows-terminal -y
Chocolatey v0.10.15
Installing the following packages:
microsoft-windows-terminal
By installing you accept licenses for the packages.
Progress: Downloading microsoft-windows-terminal 0.3.2171.0... 100%

microsoft-windows-terminal v0.3.2171.0 [Approved]
microsoft-windows-terminal package files install completed. Performing other installation steps.
Progress: 0% - Processing                                                                                                                                         
ERROR: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Deployment failed with HRESULT: 0x80073CF3, 包无法进行更新、相关性或冲突验证。

Windows 无法安装程序包 Microsoft.WindowsTerminal_0.3.2171.0_x64__8wekyb3d8bbwe,因为此程序包依赖于一个找不到的框架。请随要安装的此程序包一起提供由“CN=Microsoft Co
rporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US”发布的框架“Microsoft.VCLibs.140.00.UWPDesktop”(具有中性或 x64 处理器体系结构,最低版本为 14.0.
27323.0)。当前已安装的名称为“Microsoft.VCLibs.140.00.UWPDesktop”的框架为: {Microsoft.VCLibs.140.00.UWPDesktop_14.0.26905.0_x64__8wekyb3d8bbwe}

NOTE: For additional information, look for [ActivityId] d78ed3c9-4d91-0002-bdf7-93d7914dd501 in the Event Log or use the command line Get-AppPackageLog -ActivityID d78ed3c9-4d91-0002-bdf7-93d7914dd501

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).

Failures
 - microsoft-windows-terminal (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\microsoft-windows-terminal\tools\chocolateyinstall.ps1'.
 See log for details.
PS C:\Users\lin>

It seems that Microsoft.VCLibs.140.00.UWPDesktop should update to 14.0.27323.0,
So HOW TO UPDATE IT?

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Aug 9, 2019
@zadjii-msft
Copy link
Member

Linking #2190 because they look related, though I don't know how to fix this specific issue. It feels to me like this is something chocolatey should be able to fix.

@df2k2
Copy link

df2k2 commented Aug 15, 2019

Same thing happens to me:

PS C:\ProgramData\chocolatey\lib> choco install microsoft-windows-terminal
Chocolatey v0.10.15
Installing the following packages:
microsoft-windows-terminal
By installing you accept licenses for the packages.
Progress: Downloading microsoft-windows-terminal 0.3.2171.0... 100%

microsoft-windows-terminal v0.3.2171.0 [Approved]
microsoft-windows-terminal package files install completed. Performing other installation steps.
The package microsoft-windows-terminal wants to run 'chocolateyinstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[A]ll - yes to all/[N]o/[P]rint): A

Progress: 0% - Processing                                                                                                                                                                                                                                          E
RROR: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Deployment failed with HRESULT: 0x80073CF3, Package failed updates, dependency or conflict validation.

Windows cannot install package Microsoft.WindowsTerminal_0.3.2171.0_x64__8wekyb3d8bbwe because this package depends on a framework that could not be found. Provide the framework "Microsoft.VCLibs.140.00" published by "CN=Microsoft Corporation, O=Microsoft Corp
oration, L=Redmond, S=Washington, C=US", with neutral or x64 processor architecture and minimum version 14.0.27323.0, along with this package to install. The frameworks with name "Microsoft.VCLibs.140.00" currently installed are: {Microsoft.VCLibs.140.
Windows cannot install package Microsoft.WindowsTerminal_0.3.2171.0_x64__8wekyb3d8bbwe because this package depends on a framework that could not be found. Provide the framework "Microsoft.VCLibs.140.00" published by "CN=Microsoft Corporation, O=Microsoft Corp
oration, L=Redmond, S=Washington, C=US", with neutral or x64 processor architecture and minimum version 14.0.27323.0, along with this package to install. The frameworks with name "Microsoft.VCLibs.140.00" currently installed are: {Microsoft.VCLibs.140.00_14.0.
24123.0_x86__8wekyb3d8bbwe Microsoft.VCLibs.140.00_14.0.24123.0_x64__8wekyb3d8bbwe Microsoft.VCLibs.140.00_14.0.25426.0_x86__8wekyb3d8bbwe Microsoft.VCLibs.140.00_14.0.25426.0_x64__8wekyb3d8bbwe Microsoft.VCLibs.140.00_14.0.24605.0_x64__8wekyb3d8bbwe Microsoft
.VCLibs.140.00_14.0.24605.0_x86__8wekyb3d8bbwe Microsoft.VCLibs.140.00_14.0.26706.0_x64__8wekyb3d8bbwe Microsoft.VCLibs.140.00_14.0.26706.0_x86__8wekyb3d8bbwe}

NOTE: For additional information, look for [ActivityId] afbf1925-52dc-0006-3863-bfafdc52d501 in the Event Log or use the command line Get-AppPackageLog -ActivityID afbf1925-52dc-0006-3863-bfafdc52d501

Environment Vars (like PATH) have changed. Close/reopen your shell to
 see the changes (or in powershell/cmd.exe just type `refreshenv`).
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).

Failures
 - microsoft-windows-terminal (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\microsoft-windows-terminal\tools\chocolateyinstall.ps1'.
 See log for details.
PS C:\ProgramData\chocolatey\lib> Get-AppPackageLog -ActivityID afbf1925-52dc-0006-3863-bfafdc52d501

Time                      ID           Message
----                      --           -------
8/15/2019 1:11:11 AM      603          Started deployment Add operation on a package with main parameter Microsoft.WindowsTerminal_0.3.2171.0_8wekyb3d8bbwe.msixbundle and Options 0 and 0. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing
                                       app deployment issues.
8/15/2019 1:11:11 AM      164          The app bundle signature was validated for core content of the app bundle published by CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US. App packages won't be validated until they are
                                       read.
8/15/2019 1:11:11 AM      391          The bundle streaming reader was created successfully for bundle Microsoft.WindowsTerminal_2019.806.135.0_neutral_~_8wekyb3d8bbwe.
8/15/2019 1:11:11 AM      10002        Creating Resiliency File C:\ProgramData\Microsoft\Windows\AppRepository\a6b23c8f-fa4e-487b-a831-17f33ab3a868_S-1-5-21-182232247-3658534193-288882866-1002_1.rslc for Add Operation on Package
                                       Microsoft.WindowsTerminal_2019.806.135.0_neutral_~_8wekyb3d8bbwe.
8/15/2019 1:11:11 AM      607          Deployment Add operation on package Microsoft.WindowsTerminal_2019.806.135.0_neutral_~_8wekyb3d8bbwe has been de-queued and is running for user SID S-1-5-21-182232247-3658534193-288882866-1002.
8/15/2019 1:11:11 AM      614          Bundle Uri file:///C:/ProgramData/chocolatey/lib/microsoft-windows-terminal/tools/Microsoft.WindowsTerminal_0.3.2171.0_8wekyb3d8bbwe.msixbundle contains packages: "CascadiaPackage_0.3.2171.0_ARM64.msix":
                                       Microsoft.WindowsTerminal_0.3.2171.0_arm64__8wekyb3d8bbwe "CascadiaPackage_0.3.2171.0_x86.msix": Microsoft.WindowsTerminal_0.3.2171.0_x86__8wekyb3d8bbwe "CascadiaPackage_0.3.2171.0_x64.msix":
                                       Microsoft.WindowsTerminal_0.3.2171.0_x64__8wekyb3d8bbwe.
8/15/2019 1:11:11 AM      157          The app package signature was validated for core content of the app package published by CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US. Payload won't be validated until the files are
                                       read.
8/15/2019 1:11:11 AM      216          App manifest validation warning: Declared namespace http://schemas.microsoft.com/developer/appx/2015/build is inapplicable, it will be ignored during manifest processing.
8/15/2019 1:11:11 AM      170          The streaming reader was created successfully for app package Microsoft.WindowsTerminal_0.3.2171.0_x64__8wekyb3d8bbwe.
8/15/2019 1:11:11 AM      854          Successfully added the following uri(s) to be processed:  file:///C:/ProgramData/chocolatey/lib/microsoft-windows-terminal/tools/Microsoft.WindowsTerminal_0.3.2171.0_8wekyb3d8bbwe.msixbundle
                                       file:///C:/ProgramData/chocolatey/lib/microsoft-windows-terminal/tools/Microsoft.WindowsTerminal_0.3.2171.0_8wekyb3d8bbwe.msixbundle\CascadiaPackage_0.3.2171.0_x64.msix.
8/15/2019 1:11:11 AM      628          Windows cannot install package Microsoft.WindowsTerminal_0.3.2171.0_x64__8wekyb3d8bbwe because this package depends on a framework that could not be found. Provide the framework "Microsoft.VCLibs.140.00" 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.27323.0, along with this package to install. The frameworks with
                                       name "Microsoft.VCLibs.140.00" currently installed are: {Microsoft.VCLibs.140.00_14.0.24123.0_x86__8wekyb3d8bbwe Microsoft.VCLibs.140.00_14.0.24123.0_x64__8wekyb3d8bbwe
                                       Microsoft.VCLibs.140.00_14.0.25426.0_x86__8wekyb3d8bbwe Microsoft.VCLibs.140.00_14.0.25426.0_x64__8wekyb3d8bbwe Microsoft.VCLibs.140.00_14.0.24605.0_x64__8wekyb3d8bbwe
                                       Microsoft.VCLibs.140.00_14.0.24605.0_x86__8wekyb3d8bbwe Microsoft.VCLibs.140.00_14.0.26706.0_x64__8wekyb3d8bbwe Microsoft.VCLibs.140.00_14.0.26706.0_x86__8wekyb3d8bbwe}
8/15/2019 1:11:11 AM      605          The last successful state reached was Indexed. Failure occurred before reaching the next state Resolved. hr: 0x80073CF3
8/15/2019 1:11:11 AM      401          Deployment Add operation with target volume C: on Package Microsoft.WindowsTerminal_2019.806.135.0_neutral_~_8wekyb3d8bbwe from:  (Microsoft.WindowsTerminal_0.3.2171.0_8wekyb3d8bbwe.msixbundle)  failed with error
                                       0x80073CF3. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.
8/15/2019 1:11:11 AM      404          AppX Deployment operation failed for package Microsoft.WindowsTerminal_2019.806.135.0_neutral_~_8wekyb3d8bbwe with error 0x80073CF3. The specific error text for this failure is: Windows cannot install package
                                       Microsoft.WindowsTerminal_0.3.2171.0_x64__8wekyb3d8bbwe because this package depends on a framework that could not be found. Provide the framework "Microsoft.VCLibs.140.00" 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.27323.0, along with this package to install. The frameworks with name
                                       "Microsoft.VCLibs.140.00" currently installed are: {Microsoft.VCLibs.140.00_14.0.24123.0_x86__8wekyb3d8bbwe Microsoft.VCLibs.140.00_14.0.24123.0_x64__8wekyb3d8bbwe Microsoft.VCLibs.140.00_14.0.25426.0_x86__8wekyb3d8bbwe
                                       Microsoft.VCLibs.140.00_14.0.25426.0_x64__8wekyb3d8bbwe Microsoft.VCLibs.140.00_14.0.24605.0_x64__8wekyb3d8bbwe Microsoft.VCLibs.140.00_14.0.24605.0_x86__8wekyb3d8bbwe
                                       Microsoft.VCLibs.140.00_14.0.26706.0_x64__8wekyb3d8bbwe Microsoft.VCLibs.140.00_14.0.26706.0_x86__8wekyb3d8bbwe}

@AndyFriar
Copy link

Same error unfortunately

@df2k2
Copy link

df2k2 commented Aug 15, 2019

I resolved my issue here. The problem was that I did not have windows store enabled/installed... I must have removed or disabled it at some point.

I opened a powershell terminal and executed:

Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

Then I was able to open the windows app store and install terminal, which also resolved issues I was having detailed in my earlier post.

@zadjii-msft
Copy link
Member

@youthlin does @df2k2's solution work for you to fix this issue?

@zadjii-msft zadjii-msft added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Aug 19, 2019
@levia7han
Copy link

I am also having this issue. My company has disabled windows app store by policy. So this fix is not working for me either.

@ghost
Copy link

ghost commented Aug 23, 2019

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

@ghost ghost added the No-Recent-Activity This issue/PR is going stale and may be auto-closed without further activity. label Aug 23, 2019
@psychohamster
Copy link

psychohamster commented Aug 23, 2019

I too am having a problem specifically with this reference, and when I look in the directory specified, the DLLs are all 0 bytes. I've made sure that the Store is up and enabled, tried the PS script mentioned, even went so far as to repair visual studio (2017 and 2019) to try to get this package re-installed with no luck.
[EDIT] - I should mention that my error is at runtime, not install time (either through Store, Chocolately, or even build/deploy from visual studio proj)

@ghost ghost removed the No-Recent-Activity This issue/PR is going stale and may be auto-closed without further activity. label Aug 23, 2019
@thomasschuiki
Copy link

I am also having this issue. My company has disabled windows app store by policy. So this fix is not working for me either.

I'm facing the same issue. Is there another way to get the terminal to work without a store connection?

@shalev123d
Copy link

shalev123d commented Aug 28, 2019

same issue here:

Windows cannot install package Microsoft.WindowsTerminal_0.3.2171.0_x64__8wekyb3d8bbwe because this package depends on
a framework that could not be found. Provide the framework "Microsoft.VCLibs.140.00" 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.27323.0, along with this package to install. The frameworks with name "Microsoft.VCLibs.140.00"
currently installed are: {Microsoft.VCLibs.140.00_14.0.26706.0_x64__8wekyb3d8bbwe
Microsoft.VCLibs.140.00_14.0.26706.0_x86__8wekyb3d8bbwe}

@ViictorD
Copy link

ViictorD commented Aug 28, 2019

same issue here:

Windows cannot install package Microsoft.WindowsTerminal_0.3.2171.0_x64__8wekyb3d8bbwe because this package depends on
a framework that could not be found. Provide the framework "Microsoft.VCLibs.140.00" 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.27323.0, along with this package to install. The frameworks with name "Microsoft.VCLibs.140.00"
currently installed are: {Microsoft.VCLibs.140.00_14.0.26706.0_x64__8wekyb3d8bbwe
Microsoft.VCLibs.140.00_14.0.26706.0_x86__8wekyb3d8bbwe}

Try to disable your windows defender when you install the terminal.
It worked for me.

@miketheitguy
Copy link

Going to comment here:

It's because the application has a dependency on the VCLibs that I guess are downloaded from the Windows store as a framework package, rather than using the VCLibs if you download the vc_redist.exe file.

So if you can't connect to the store to download the dependency, you're kinda screwed.

@ghost ghost added the No-Recent-Activity This issue/PR is going stale and may be auto-closed without further activity. label Sep 2, 2019
@ghost
Copy link

ghost commented Sep 2, 2019

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

@ghost ghost closed this as completed Sep 5, 2019
@krzkowalczyk
Copy link

Does anybody know where to download that package and install it manually ?

@ghost ghost removed the No-Recent-Activity This issue/PR is going stale and may be auto-closed without further activity. label Sep 5, 2019
@fzyzcjy
Copy link

fzyzcjy commented Sep 11, 2019

Same for me:

Windows 无法安装程序包 Microsoft.WindowsTerminal_0.4.2382.0_x64__8wekyb3d8bbwe,因为此程序包依赖于一个找不到的框架。请随要安装的此程序包一起提供由“CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US”发布的框架“Microsoft.VCLibs.140.00.UWPDesktop”(具有中性或 x64 处理器体系结构,最低版本为 14.0.27323.0)。当前已安装的名称为“Microsoft.VCLibs.140.00.UWPDesktop”的框架为: {Microsoft.VCLibs.140.00.UWPDesktop_14.0.25426.0_x64__8wekyb3d8bbwe Microsoft.VCLibs.140.00.UWPDesktop_14.0.25426.0_x86__8wekyb3d8bbwe Microsoft.VCLibs.140.00.UWPDesktop_14.0.26905.0_x64__8wekyb
Windows 无法安装程序包 Microsoft.WindowsTerminal_0.4.2382.0_x64__8wekyb3d8bbwe,因为此程序包依赖于一个找不到的框架。请随要安装的此程序包一起提供由“CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US”发布的框架“Microsoft.VCLibs.140.00.UWPDesktop”(具有中性或 x64 处理器体系结构,最低版本为 14.0.27323.0)。当前已安装的名称为“Microsoft.VCLibs.140.00.UWPDesktop”的框架为: {Microsoft.VCLibs.140.00.UWPDesktop_14.0.25426.0_x64__8wekyb3d8bbwe Microsoft.VCLibs.140.00.UWPDesktop_14.0.25426.0_x86__8wekyb3d8bbwe Microsoft.VCLibs.140.00.UWPDesktop_14.0.26905.0_x64__8wekyb3d8bbwe Microsoft.VCLibs.140.00.UWPDesktop_14.0.26905.0_x86__8wekyb3d8bbwe}

@hwacookie
Copy link

... and the same here. No Windows-Store, and you seem to be out of luck :(

Just adding this so the issue does not get auto-closed.

@qwertoyo
Copy link

qwertoyo commented Sep 21, 2019

same issue here. Did not find the correct package on google.

edit: ended up compiling + deploying it from VS. works.

@youthlin
Copy link
Author

image
Download from releases page (v0.4.2382.0)
Install fail again

@ghost ghost added Needs-Attention The core contributors need to come back around and look at this ASAP. and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Sep 24, 2019
@youthlin
Copy link
Author

image
Try to install from Microsoft Store. Fail again

@bitcrazed
Copy link
Contributor

bitcrazed commented Sep 27, 2019

[Update: Replaced prior links]:

To everyone wondering where to find the VC Redist dependency, download and install the C++ Runtime v14 framework package for Desktop Bridge:
https://www.microsoft.com/en-us/download/details.aspx?id=53175

The C++ Runtime framework packages will be copied to a folder under %ProgramFiles(x86)%\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.VCLibs.Desktop.

👉 Note: You can also install the packages manually using the Add-AppxPackage PowerShell cmdlet.

Locking this conversation - please open another issue if installing the above VC redists doesn't solve your issue.

@microsoft microsoft locked as resolved and limited conversation to collaborators Sep 27, 2019
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Needs-Attention The core contributors need to come back around and look at this ASAP. Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting
Projects
None yet
Development

No branches or pull requests