{"action":"created","issue":{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1729","repository_url":"https://api.github.com/repos/pyinstaller/pyinstaller","labels_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1729/labels{/name}","comments_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1729/comments","events_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1729/events","html_url":"https://github.com/pyinstaller/pyinstaller/issues/1729","id":122617210,"number":1729,"title":"UAC not working in onefile again, migrate old UAC test","user":{"login":"moden-py","id":13960701,"avatar_url":"https://avatars0.githubusercontent.com/u/13960701?v=4","gravatar_id":"","url":"https://api.github.com/users/moden-py","html_url":"https://github.com/moden-py","followers_url":"https://api.github.com/users/moden-py/followers","following_url":"https://api.github.com/users/moden-py/following{/other_user}","gists_url":"https://api.github.com/users/moden-py/gists{/gist_id}","starred_url":"https://api.github.com/users/moden-py/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moden-py/subscriptions","organizations_url":"https://api.github.com/users/moden-py/orgs","repos_url":"https://api.github.com/users/moden-py/repos","events_url":"https://api.github.com/users/moden-py/events{/privacy}","received_events_url":"https://api.github.com/users/moden-py/received_events","type":"User","site_admin":false},"labels":[{"id":147207893,"url":"https://api.github.com/repos/pyinstaller/pyinstaller/labels/Windows","name":"Windows","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":{"login":"codewarrior0","id":307683,"avatar_url":"https://avatars2.githubusercontent.com/u/307683?v=4","gravatar_id":"","url":"https://api.github.com/users/codewarrior0","html_url":"https://github.com/codewarrior0","followers_url":"https://api.github.com/users/codewarrior0/followers","following_url":"https://api.github.com/users/codewarrior0/following{/other_user}","gists_url":"https://api.github.com/users/codewarrior0/gists{/gist_id}","starred_url":"https://api.github.com/users/codewarrior0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codewarrior0/subscriptions","organizations_url":"https://api.github.com/users/codewarrior0/orgs","repos_url":"https://api.github.com/users/codewarrior0/repos","events_url":"https://api.github.com/users/codewarrior0/events{/privacy}","received_events_url":"https://api.github.com/users/codewarrior0/received_events","type":"User","site_admin":false},"assignees":[{"login":"codewarrior0","id":307683,"avatar_url":"https://avatars2.githubusercontent.com/u/307683?v=4","gravatar_id":"","url":"https://api.github.com/users/codewarrior0","html_url":"https://github.com/codewarrior0","followers_url":"https://api.github.com/users/codewarrior0/followers","following_url":"https://api.github.com/users/codewarrior0/following{/other_user}","gists_url":"https://api.github.com/users/codewarrior0/gists{/gist_id}","starred_url":"https://api.github.com/users/codewarrior0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codewarrior0/subscriptions","organizations_url":"https://api.github.com/users/codewarrior0/orgs","repos_url":"https://api.github.com/users/codewarrior0/repos","events_url":"https://api.github.com/users/codewarrior0/events{/privacy}","received_events_url":"https://api.github.com/users/codewarrior0/received_events","type":"User","site_admin":false}],"milestone":null,"comments":26,"created_at":"2015-12-16T22:22:53Z","updated_at":"2018-05-15T05:49:40Z","closed_at":null,"author_association":"NONE","body":"I am not able to create one file executable with UAC.\nHere is the project I am trying to add the UAC window - https://github.com/pywinauto/SWAPY\n`python27 latest-pyinstaller\\pyinstaller.py --uac-admin -F swapy-ob.py`\nSingle exe file does not ask for Admin rights.\n\nWith `-D` works fine, since the manifest placed near the exe.\n\nI've tried Python 2.7.x 32/64bit, PyInstaller from the master/develop/pip - it did not help.\nTest `pyinstaller\\tests\\old_suite\\interactive\\test_onefile_win32_uac_admin.py` passed but produced an exe file without UAC request.\n\n``` python\n# -*- mode: python -*-\n\nblock_cipher = None\n\n\na = Analysis(['swapy-ob.py'],\n             pathex=['PATH\\\\swapy'],\n             binaries=None,\n             datas=None,\n             hiddenimports=[],\n             hookspath=None,\n             runtime_hooks=None,\n             excludes=None,\n             win_no_prefer_redirects=None,\n             win_private_assemblies=None,\n             cipher=block_cipher)\npyz = PYZ(a.pure, a.zipped_data,\n             cipher=block_cipher)\nexe = EXE(pyz,\n          a.scripts,\n          a.binaries,\n          a.zipfiles,\n          a.datas,\n          name='swapy-ob',\n          debug=False,\n          strip=None,\n          upx=True,\n          console=True , uac_admin=True)\n```\n\nPS: I've read previous related issues, #853, etc. \n"},"comment":{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/comments/389050417","html_url":"https://github.com/pyinstaller/pyinstaller/issues/1729#issuecomment-389050417","issue_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1729","id":389050417,"user":{"login":"FalcoSK","id":19948503,"avatar_url":"https://avatars2.githubusercontent.com/u/19948503?v=4","gravatar_id":"","url":"https://api.github.com/users/FalcoSK","html_url":"https://github.com/FalcoSK","followers_url":"https://api.github.com/users/FalcoSK/followers","following_url":"https://api.github.com/users/FalcoSK/following{/other_user}","gists_url":"https://api.github.com/users/FalcoSK/gists{/gist_id}","starred_url":"https://api.github.com/users/FalcoSK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FalcoSK/subscriptions","organizations_url":"https://api.github.com/users/FalcoSK/orgs","repos_url":"https://api.github.com/users/FalcoSK/repos","events_url":"https://api.github.com/users/FalcoSK/events{/privacy}","received_events_url":"https://api.github.com/users/FalcoSK/received_events","type":"User","site_admin":false},"created_at":"2018-05-15T05:49:40Z","updated_at":"2018-05-15T05:49:40Z","author_association":"NONE","body":"The solution ia very simple, your executable needs manifest file in its working directory. The manifest file is being generated by pyinstaller when generating executable. Search for it, place it to your executable and  enjoy."}}
{"actor":{"display_login":"FalcoSK"}}