Forum Discussion
Preview Handler in MSIX
"Failed with 0x490 modifying AppModel Runtime status for package ... (current status-0x0, desired status - 0x20)."
0x490 is "ERROR_NOT_FOUND", so it seems likely that the runtime was looking for something, although what I don't know.
- Mar 23, 2023
Aniket_Banerjee You requested the app installer for this. I will attach a zip containing the files and a powershell script used during the package capture. There are two dependencies which I am trying to put into the package, but keeping them external does not change the results. I removed the dependency installers from the zip as it's too big but you'll see them referenced in the powershell script.
Since posting the manifest shown in the original post, I altered the manifest to eliminate the AppID on the surrogate and use SystemSurrogate="PreviewHost", but same results also. I'll also note that the EnableShare options on the DesktopPreviewHandler isn't well described in the docs (and doesn't tie to anything in the native registration) so I'm not sure what (if any) option should be set but I tried a few options that all fail.