Forum Discussion

nathan-pieces's avatar
nathan-pieces
Copper Contributor
Apr 01, 2022

PsfLauncher64.exe ~ The system cannot find the file specified


Hello All,

We use the Package Support Framework on some our applications shipped with MSIX to run some post installation scripts. 

We have had a few users that have gotten the above error when the application launches after installation. Please excuse the German; it translates to "The system cannot find the specified file".

We are unfortunately unable to reproduce the issue on any of our machines/virtual-machines and haven't been able to figure out what is going on with this small minority of users. 

My only hunch is that there is some incompatibility with their PowerShell versions or system architecture. We have made it clear that our application only runs on x64 architectures, as we have not included the PSF 32-bit executables and libraries along with the MSIX package. 

Is it possible that some people can be running windows on x64, but require 32-bit versions of PSF? If so that is an easy fix but I haven't been able to confirm. 

Any help/information would be much appreciated. If it is not something we can fix on our side of things I would like to at least help these users get the issue resolved through our support process. 

Thanks in advance! 

  • I am aware of an issue with the version of the PSF that the MSIX Packaging Tool uses that might be your issue (this is addressed in the TimMangan fork).  The issue is in how PsfLauncher locates the powershell.exe to run.  On systems that never had the old powershell it fails to find it by registry lookup.  I believe it needs

    Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellEngine

    to be present on the system.  A process monitor trace would show the failed registry request if this is the cause of your issue.

  • Joker2020's avatar
    Joker2020
    Copper Contributor
    If you are running a 32 bit system, and the software requires 64 bit the soft wear is no compatible with you system. If you do some research you can find an older version that is compatible with you device.
    • nathan-pieces's avatar
      nathan-pieces
      Copper Contributor

      Joker2020 

      I think you misunderstood the question. I am the developer of the application, that is packaged as MSIX with the Package Support Framework. I have a number of users that cannot launch the application and they are getting the above error and I do not know why.

Resources