Running compiled python (py2exe) as administrator in Vista

后端 未结 4 1667
梦谈多话
梦谈多话 2020-11-28 12:27

Is it possible to programaticly run compiled Python (comiled via py2exe) as administrator in Vista?

Some more clarification:
I have written a program that modi

4条回答
  •  一整个雨季
    2020-11-28 12:49

    The best solution for pyinstaller is found here: Request UAC elevation from within a Python script?

    No amount of manipulation of exe manifest file will work. Handle uac from within python code using if else statement

提交回复
热议问题