[英]Creating an exe with pyInstaller that uses UAC
I have a python script which I would like to create an exe from, but It requires administrator privaleges. 我有一个python脚本,我想创建一个exe,但它需要管理员权限。 I would like to compile my script with pyInstaller, but I don't know if it has an option to enable UAC.
我想用pyInstaller编译我的脚本,但我不知道它是否有启用UAC的选项。
Maybe try py2exe? 也许试试py2exe? All code will be write on Linux, and compile to .exe on Windows 7 x64.
所有代码都将在Linux上编写,并在Windows 7 x64上编译为.exe。
All work good and without administrator privaleges. 所有工作都很好,没有管理员权限。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.