Anyone ever had any luck with using Add-AppxProvis...
# _general
m
Anyone ever had any luck with using Add-AppxProvisionedPackage to install "store" type apps in Server 2022?
i
Sure. Doesn't this work for you? There are some GPO's/registry keys you need to set to enable this though.
m
@Ingmar Verheij thanks! does blocknonadminuserinstall need to be enabled as well? in this case i'm tyring to side-load msft Photos
I used Add-AppxProvisionedPackage -online -skiplicense -packagepath c:\myapp.appxpackage and it reports successful and shows up in start menu but does nothing if you try to open it
i
Blocknonadminuserinstall isn't necessary (as you could "install"), but probably useful. As I'm about to leave for vacation I can't check the steps myself right now, but I'd recommend looking at the event log for clues: 1. Go the Event Viewer (Local) > Applications and Services Logs > Microsoft > Windows. 2. Check for available logs under these categories: • AppxPackagingOM > Microsoft-Windows-AppxPackaging/Operational • AppXDeployment-Server > Microsoft-Windows-AppXDeploymentServer/Operational 3. Review logs under AppXDeployment-Server
m
Activation for MICROSOFT.WINDOWS.PHOTOS_8WEKYB3D8BBWE!APP failed. Error code: Package failed updates, dependency or conflict validation.. Activation phase: Deployment
seeing this under AppV/client/operational logs
The following packages will be installed: Microsoft.Windows.Photos_2023.10070.17002.0_neutral_~_8wekyb3d8bbwe . The following packages will be removed: NULL see this under appxdeployment
AppX Deployment operation failed for package Microsoft.Windows.Photos_2023.10070.17002.0_neutral_~_8wekyb3d8bbwe with error 0x80073CF3. The specific error text for this failure is: Windows cannot install package Microsoft.Windows.Photos_2023.10070.17002.0_x64__8wekyb3d8bbwe because this package depends on a framework that could not be found. Provide the framework "Microsoft.UI.Xaml.2.7" published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x64 processor architecture and minimum version 7.2109.13004.0, along with this package to install. The frameworks with name "Microsoft.UI.Xaml.2.7" currently installed are: {}
i tried the latest msixbundle and get this error when trying to install: AppX Deployment operation failed for package Microsoft.Windows.Photos_2024.11070.15001.0_neutral_~_8wekyb3d8bbwe with error 0x80073CFD. The specific error text for this failure is: Windows cannot install package Microsoft.Windows.Photos_2024.11070.15001.0_x64__8wekyb3d8bbwe because this package is not compatible with the device. The package requires OS version 10.0.22000.0 or higher on the Windows.Desktop device family. The device is currently running OS version 10.0.20348.2582.