Forum Discussion
An unhandled win32 exception occurred in PsfLauncher64.exe
- Feb 16, 2022
nathan-pieces A quick look indicates that you are mixing your fruits.
The PSF can only work when the manifest Application entry has the EntryPoint="windows.FullTrustAppliccation". The executable on that line will be a copy of the PsfLauncherXxx.exe.
PsfLauncher can run the script that you have and then run the target application. However, the form of that target application exe cannot be an exe built as a UWP app. It must be a Win32, .Net Framework, or Windows App SDK based executable.
I'm thinking that you really should be looking at first porting the UWP to the Windows App SDK. The simple UWP app you have there should be a piece of cake. So you should be able to succeed with porting and getting the result you want. Assuming that this is proof of concept, porting your real UWP app might be more challenging depending on what is in it.
nathan-pieces A quick look indicates that you are mixing your fruits.
The PSF can only work when the manifest Application entry has the EntryPoint="windows.FullTrustAppliccation". The executable on that line will be a copy of the PsfLauncherXxx.exe.
PsfLauncher can run the script that you have and then run the target application. However, the form of that target application exe cannot be an exe built as a UWP app. It must be a Win32, .Net Framework, or Windows App SDK based executable.
I'm thinking that you really should be looking at first porting the UWP to the Windows App SDK. The simple UWP app you have there should be a piece of cake. So you should be able to succeed with porting and getting the result you want. Assuming that this is proof of concept, porting your real UWP app might be more challenging depending on what is in it.
TIMOTHY_MANGAN
I was afraid that the UWP exe might be incompatible with PSF. I will definitely be looking into porting my UWP application in the future.
I appreciate your help, I probably would have kept on trying to get it working without knowing that I was going down an impossible path.