Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PSF does not work when app requires UAC prompt #237

Open
EdijsPerkums opened this issue Jun 30, 2023 · 1 comment
Open

PSF does not work when app requires UAC prompt #237

EdijsPerkums opened this issue Jun 30, 2023 · 1 comment

Comments

@EdijsPerkums
Copy link

Hello,
I have an app that needs to be started with admin rights so I get a UAC prompt, but when I add PSF to the package the application does not launch at all anymore. Even if I manually right click and select run as admin.
I have set the
<rescap:Capability Name="allowElevation" />
capability in the MSIX package and it runs fine if PSF is not added.

Maybe a solution would to provide 2 more PSF launchers that prompt for UAC?

@TimMangan
Copy link
Contributor

@EdijsPerkums : The standard approach is to add a PsfLauncher ".config" file next to the copy of PsfLauncher to request the elevation. But the issue should remain open as that needs to be documented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants