Stuck with dependencies in an AppX from Desktop App Converter

独自空忆成欢 提交于 2019-12-06 20:14:52

Thanks for the update. That confirms what the problem is. It was actually described in your original post, but it's quite subtle:

I did install on my machine vc_uwpdesktop.110.exe, vc_uwpdesktop.120.exe and vc_uwpdesktop.140.exe.

Unfortunately this did not do what you think. It installed the .appx files that can be used to redistribute the framework dependencies. It did not actually install the framework dependencies themselves.

To install them, you have to find the .appx files they installed (or at least the 120 x86 version) and ensure they are also installed. You can do so directly with the App Installer, with Add-AppxPackage separately (and ahead of time), or, I believe, as part of your package's installation by referencing the framework dependency in a -DependencyPath argument.

The path to the .appx file in question looks something like this; tweak the version numbers and platform for your case as required. Just make sure you don't accidentally use a variant without "Desktop" in its name.

C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.VCLibs.Desktop.110\14.0\Appx\Retail\x86

Once you install or reference the correct package here, your main package should install (or register) successfully.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!