files-community / Files

Building the best file manager for Windows
https://files.community
MIT License
34.11k stars 2.18k forks source link

Error when installing MsixBundle: low version of Microsoft.UI.Xaml #2070

Closed ZzzzzzzSkyward closed 3 years ago

ZzzzzzzSkyward commented 3 years ago

I encountered a error that the UI Xaml is outdated(mine 2.4.2005, required 2.4.2007) when installing Msix using Powershell.

Add-AppxPackage "E:\FilesUWP-0.16.Msixbundle"  

However I cannot find resolution from Google.
Everything I tried is install Microsoft.UI.Xaml.2.5 with nuget but it didnt work.

nuget.exe install Microsoft.UI.Xaml
Install-Package Microsoft.UI.Xaml  -Source E:\Microsoft.UI.Xaml.2.5.0-prerelease.200923002\  

With the above code I succeeded in downloading a folder with the exactly same name, but nothing happened further. And I'm left confused.

issue-label-bot[bot] commented 3 years ago

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.56. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

yaira2 commented 3 years ago

@ZzzzzzzSkyward Have you tried running the msix file outside of Powershell?

ZzzzzzzSkyward commented 3 years ago

@ZzzzzzzSkyward Have you tried running the msix file outside of Powershell?

Excuse me, I am using win10 and I've not installed Visual Studio. I wonder what kind of application I can use to run the msix file. It is foreign to me and I am unable to find any useful ideas.

ZzzzzzzSkyward commented 3 years ago

Plus, I have succeeded in installing v0.13, but failed at v0.14.

ZzzzzzzSkyward commented 3 years ago

The problem seems to be my Microsoft UI Xaml, which I have no way to update, despite the Install-Package command.

lukeblevins commented 3 years ago

@ZzzzzzzSkyward I think @yaichenbaum meant you should try to run the MSIX file by double clicking it.

ZzzzzzzSkyward commented 3 years ago

@ZzzzzzzSkyward I think @yaichenbaum meant you should try to run the MSIX file by double clicking it.

I find the defalut application to run MSIX file is the Microsoft WinRT Storage, which gives the error information as "invalid registry value".

lukeblevins commented 3 years ago

@ZzzzzzzSkyward Can you post some screenshots?

ZzzzzzzSkyward commented 3 years ago

image when double clicking the MSIXBundle(in CHinese): 图片 information when using Powershell to add-appxpackage(in Chinese):

add-appxpackage : 部署失败,原因是 HRESULT: 0x80073CF3, 包无法进行更新、相关性或冲突验证。                              Windows 无法安装程序包 49306atecsolution.FilesUWP_0.16.0.0_x64__et10x9a9vyk8t,因为此程序包依赖于一个找不到的框架。请随 要安装的此程序包一起提供由“CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US”发布的框  架“Microsoft.UI.Xaml.2.4”(具有中性或 x64 处理器体系结构,最低版本为 2.42007.9001.0)。当前已安装的名称为“Microsoft.UI .Xaml.2.4”的框架为: {Microsoft.UI.Xaml.2.4_2.42005.18002.0_x86__8wekyb3d8bbwe Microsoft.UI.Xaml.2.4_2.42005.18002.0_x6 4__8wekyb3d8bbwe}                                                                                                       注意: 有关其他信息,请在事件日志中查找 [ActivityId] 20572be8-adee-0005-623f-5820eeadd601,或使用命令行 Get-AppPackageLo
g -ActivityID 20572be8-adee-0005-623f-5820eeadd601
所在位置 行:1 字符: 1
+ add-appxpackage
+ ~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (E:\FilesUWP-0.16.Msixbundle:String) [Add-AppxPackage], IOException
    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand
yaira2 commented 3 years ago

@ZzzzzzzSkyward Can you try again with the latest release?

yaira2 commented 3 years ago

Thanks again for your feedback.

Since we didn't hear from you on this topic for 7+ days, we'll assume everything is worked out and close this feedback item. If you had more feedback to provide, please re-open this and help the owners by describing the current status and any steps taken to troubleshoot this.

ZzzzzzzSkyward commented 3 years ago

update: finally I was able to download Files from Microsoft Store. Somehow it managed to install the application and I'm happily using Files now. :)

nono22300 commented 3 years ago

Dear all, When downloading & launching MSIXBundle version 1.5 i have this message Le programme d'installation d'application n’a pas pu installer les dépendances du package. Demandez au développeur le package Microsoft.UI.Xaml.2.5.

so pb linked to package Microsoft.UI.Xaml.2.5.

how can i move forward?

Thanks

BR Nono