PowerShell command will not install Calculator
Get-AppxPackage -allusers *windowscalculator* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
eror below
{Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF0, Package could not be opened. error 0x80070003: Opening file from location: AppxBundleManifest.xml failed with error: The system cannot find the path specified. . NOTE: For additional information, look for [ActivityId] f1a16bd2-ebda-0006-22c9-a1f1daebd901 in the Event Log or use the command line Get-AppPackageLog -ActivityID f1a16bd2-ebda-0006-22c9-a1f1daebd901 At line:1 char:66 + ... | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.I ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (C:\Program File...ppXManifest.xml:String) [Add-AppxPackage], FileNotFoundExc
eption
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand
Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF9, Install failed. Please contact your software vendor.
Windows cannot install package Microsoft.WindowsCalculator_10.1906.55.0_x64__8wekyb3d8bbwe because the package is
currently paused. The package must be Staged in order to proceed.
NOTE: For additional information, look for [ActivityId] f1a16bd2-ebda-0006-2fc9-a1f1daebd901 in the Event Log or use
the command line Get-AppPackageLog -ActivityID f1a16bd2-ebda-0006-2fc9-a1f1daebd901
At line:1 char:66
+ ... | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.I ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (C:\Program File...ppXManifest.xml:String) [Add-AppxPackage], IOException
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand
Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF3, Package failed updates, dependency or conflict
validation.
Windows cannot install package Microsoft.WindowsCalculator_11.2210.0.0_x64__8wekyb3d8bbwe because this package depends
on a framework that could not be found. Provide the framework "Microsoft.UI.Xaml.2.8" published by "CN=Microsoft
Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x64 processor architecture and
minimum version 8.2208.12001.0, along with this package to install. The frameworks with name "Microsoft.UI.Xaml.2.8"
currently installed are: {Microsoft.UI.Xaml.2.
Windows cannot install package Microsoft.WindowsCalculator_11.2210.0.0_x64__8wekyb3d8bbwe because this package depends
on a framework that could not be found. Provide the framework "Microsoft.UI.Xaml.2.8" published by "CN=Microsoft
Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x64 processor architecture and
minimum version 8.2208.12001.0, along with this package to install. The frameworks with name "Microsoft.UI.Xaml.2.8"
currently installed are: {Microsoft.UI.Xaml.2.8_8.2306.22001.0_x64__8wekyb3d8bbwe}
NOTE: For additional information, look for [ActivityId] f1a16bd2-ebda-0006-36c9-a1f1daebd901 in the Event Log or use
the command line Get-AppPackageLog -ActivityID f1a16bd2-ebda-0006-36c9-a1f1daebd901
At line:1 char:66
+ ... | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.I ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (C:\Program File...ppXManifest.xml:String) [Add-AppxPackage], IOException
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.Package