I need to create an executable for Windows 8.1 and below, so I tried to execute Py2Exe (without success) and then PyInstaller, and hell worked. Now I need to run it as admin (every time since it uses admin tasks). My actual compilation of the script is as follows:
python pyinstaller.py --onefile --noconsole --icon=C:\Python27\my_distrib\ico_name --name=app_name C:\Python27\my_distrib\script.py
Is it possible to use UAC or something like this? (its a mess for me)
In addition, every time I run it on my Windows 8.1 laptop (my desktop computer is Windows 7), it says it's dangerous ... Anything to make it an “exe” trusted? thanks in advance
Maxim source
share