Issue
I have a pyqt application which needs to run with admin rights since it creates some network connections. I have it packaged and working but my users (I bet) will forget to right-click and "Run as administrator" so is there a way in either pyqt or pyinstaller to enforce this thing and make sure the app runs with admin rights?
Solution
You'll need to create a custom manifest file specifying the required requestedExecutionLevel with the same name as the final .exe filename and run PyInstaller with the --manifest
option.
Answered By - user1006989
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.