I have a computer with the version of the Photos app which has the ability to caption videos. I tried to update this app on the user's computer, but it wouldn't update or reinstall through the store. I tried removing it with get-appxpackage | remove-appxpackage. That removed it, but still not able to update using the store.
I am now resorting to attempt transferring it from a computer which has the version to the user's computer.
I run the following to dump the manifest:
$manifest = Get-AppxPackageManifest -Package "Microsoft.Windows.Photos_2020.19111.24110.0_x64__8wekyb3d8bbwe"
$manifest.innerXML > <path>\AppxManifest.xml
On the target:
Add-AppxPackage -register <path> -DisableDevelopmentMode
I get the message "Appx manifest invalid ... cannot switch the encoding type.