Generally, when we download Microsoft applications, we need to download them from the Microsoft Store
. However, due to Windows system problems, we cannot download the software from the Microsoft Store; or due to personal reasons, we do not want to download it from the Microsoft Store.
Another way to download software from Microsoft is to use Add-AppxPackage to install the application from the command line.
1. Download the Appx package
First, we need to download two packages from the Microsoft Store - Generation Project :
In the URL text box above, enter the download link for Microsoft Todo: https://www.microsoft.com/zh-cn/p/microsoft-to -do-lists-tasks-reminders/9nblggh5r558?rtc=2&activetab=pivot:overviewtab
This website will list some packages for downloading Microsoft applications.
Then we need to find the following two packages in the website (use Ctrl + F)
- MicroSoft Todo's AppxBundle package;
- MicroSoft UI's Appx package;
download the two packages and save them locally.
2. Install locally through the Add-AppxPackage command
First, in [Settings] > [Update & Security] > [Developer Options], turn on [Developer Mode]
as an administrator, open Windows Powershell, and switch to the directory where the Appx package is saved.
First install the UI package: Add-AppxPackage .\Microsoft.UI.Xaml.2.4_2.42007.9001.0_x64__8wekyb3d8bbwe.Appx
Then install the Todo software package:
Add-AppxPackage -Path .\Microsoft.Todos_2.48.41901.0_neutral_~_8wekyb3d8bbwe.AppxBundle - DependencyPath .\Microsoft.VCLibs.140.00_14.0.30035.0_x64__8wekyb3d8bbwe.Appx,.\Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x64__8wekyb3d8bbwe.Appx,.\Microsoft.NET.Native.Runtime.2.2_2.2.286 04. 0_x64__8wekyb3d8bbwe.Appx
download is completed, very simple!
Remember to change developer options back to sideloading apps.
3. Errors encountered
After reading the above installation process, you may have questions:
.\Microsoft.VCLibs.140.00_14.0.30035.0_x64__8wekyb3d8bbwe.Appx,
.\Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x64__8wekyb3d8bbwe.Appx,
.\Microsoft.
Where are the three packages NET.Native.Runtime.2.2_2.2.28604.0_x64__8wekyb3d8bbwe.Appx ?
When installing the Todo package, directly use the command to install the UI package:
Add-AppxPackage .\Microsoft.Todos_2.48.41901.0_neutral_~_8wekyb3d8bbwe.AppxBundle
An error will be reported.
The reason for the error is that the VCLibs package is missing or the version of the VCLibs package is conflicting, so we go to Microsoft Store - Generation Project to download the VCLibs package, save it locally, and then use the command:
Add-AppxPackage -Path .\Microsoft.Todos_2. 48.41901.0_neutral_~_8wekyb3d8bbwe.AppxBundle -DependencyPath .\Microsoft.VCLibs.140.00_14.0.30035.0_x64__8wekyb3d8bbwe.Appx
Among them: -Path is the path to specify the installation package, -DependencyPath is the path to specify the dependency package,
but an error will still be reported this time. The NET.Native.Framework package is missing. Download it locally. Just add the path of NET.Native.Framework to the previous dependency path. Use to ,
separate the paths of the two dependency packages
and still get an error. What is missing this time is NET.Native. .Runtime package, download it locally, and add the path of the NET.Native.Runtime package to the dependency path.
The installation is successful!
If other required packages are missing, follow the above method to download the missing package locally and add the path of the package to the dependency path.
At the same time, some other Microsoft applications can also be installed through the method in this article. The steps are similar to the above description.
4. References and URLs
[Microsoft appx download]
https://store.rg-adguard.net/
[todo download link]
https://www.microsoft.com/zh-cn/p/microsoft-to-do-lists-tasks-reminders/9nblggh5r558?rtc=2&activetab=pivot:overviewtab
[Installation tutorial reference]
https://www.jianshu.com/p/32a1ea417cba?ivk_sa=1024320u
[add-appxpackage official parameter table]
https://docs.microsoft.com/en-us/powershell/module/appx/add-appxpackage?view=winserver2012-ps&redirectedfrom=MSDN#inputs
[Full command for appx installation]
https://www.jb51.net/article/53418.htm
[Error solution reference]
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/b2f73be6-50e8-4347-a046-a1b6b5a4b23a/not-able-to-deploy-windows-8-executableappx- using-powershell-error-code-0x80073cf3-in-windows-8?forum=winappswithcsharp.