Forum Discussion
Mar 06, 2023
Preview Handler in MSIX
I have a preview handler that works natively and am trying to create an MSIX package for it. Here is an example of it working after native installation:
This is a 64-bit shell extension...
Mar 06, 2023
Update with more detail. I did locate an error in the Windows event log "AppModel-Runtime" that identified this package under test. The Event ID is 69 with details:
"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.
"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.