[GH-ISSUE #468] Pyinstaller 5.X.X is better? #372

Closed
opened 2026-02-26 12:21:23 +03:00 by kerem · 7 comments
Owner

Originally created by @mcagriaksoy on GitHub (Mar 17, 2024).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/468

Originally assigned to: @brentvollebregt on GitHub.

New Feature Description
Hello, again me. In windows 11, defender does not like the PyInstaller version 6.X.X. If user change their PyInstaller version to 5.x.x currently latest one is 5.13.2 Windows Defender won`t cause any false positive alert. Maybe we can inform the user if they have faced some kind of alert caused by their antivirus?

Basically the problem caused by the --windowed parameter in pyinstaller. Also we can add some information on this parameter frontend side? The PyInstaller5 is using different "python windowed" src. So..

More information at: https://stackoverflow.com/questions/77239487/win32ctypes-pywin32-pywintypes-error-when-using-pyinstaller-in-vs-code-possib

Reason For New Feature

Make auto-py-to-exe great again?!

Originally created by @mcagriaksoy on GitHub (Mar 17, 2024). Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/468 Originally assigned to: @brentvollebregt on GitHub. **New Feature Description** Hello, again me. In windows 11, defender does not like the PyInstaller version 6.X.X. If user change their PyInstaller version to 5.x.x *currently latest one is 5.13.2* Windows Defender won`t cause any false positive alert. Maybe we can inform the user if they have faced some kind of alert caused by their antivirus? Basically the problem caused by the --windowed parameter in pyinstaller. Also we can add some information on this parameter frontend side? The PyInstaller5 is using different "python windowed" src. So.. More information at: https://stackoverflow.com/questions/77239487/win32ctypes-pywin32-pywintypes-error-when-using-pyinstaller-in-vs-code-possib **Reason For New Feature** Make auto-py-to-exe great again?!
kerem 2026-02-26 12:21:23 +03:00
Author
Owner

@github-actions[bot] commented on GitHub (Mar 17, 2024):

👋 Hi, just a reminder that if you haven't read the help post yet, give it a read to see if your issue is covered in it and make sure to follow the debugging section.

Also please note, as stated in the README, if your issue is only associated with your application and not auto-py-to-exe itself, please do not create an issue in this repository - instead, comment on the help post, video or create a new discussion.

<!-- gh-comment-id:2002417312 --> @github-actions[bot] commented on GitHub (Mar 17, 2024): 👋 Hi, just a reminder that if you haven't read [the help post](https://nitratine.net/blog/post/issues-when-using-auto-py-to-exe/) yet, give it a read to see if your issue is covered in it and make sure to follow [the debugging section](https://nitratine.net/blog/post/issues-when-using-auto-py-to-exe/#debugging). Also please note, as stated in the README, if your issue is only associated with your application and not auto-py-to-exe itself, please do not create an issue in this repository - instead, comment on the help [post](https://nitratine.net/blog/post/issues-when-using-auto-py-to-exe/), [video](https://youtu.be/OZSZHmWSOeM) or create a [new discussion](https://github.com/brentvollebregt/auto-py-to-exe/discussions).
Author
Owner

@brentvollebregt commented on GitHub (Mar 18, 2024):

Looks like you're seeing something similar to this: https://github.com/pyinstaller/pyinstaller/issues/7967

I wouldn't say Pyinstaller 5.X.X is "better" - just that the binaries in the outputs can be different and seen differently by different antivirus vendors.

<!-- gh-comment-id:2003325432 --> @brentvollebregt commented on GitHub (Mar 18, 2024): Looks like you're seeing something similar to this: https://github.com/pyinstaller/pyinstaller/issues/7967 I wouldn't say Pyinstaller 5.X.X is "better" - just that the binaries in the outputs can be different and seen differently by different antivirus vendors.
Author
Owner

@mcagriaksoy commented on GitHub (Mar 22, 2024):

So, what do you think can we add some information message somewhere else?

For example, for windows defender is angry when we use pyinstaller 6.x.x with windowed feature.
For example, for avast is angry when we use icon option.
and so on..

<!-- gh-comment-id:2014865906 --> @mcagriaksoy commented on GitHub (Mar 22, 2024): So, what do you think can we add some information message somewhere else? For example, for windows defender is angry when we use pyinstaller 6.x.x with windowed feature. For example, for avast is angry when we use icon option. and so on..
Author
Owner

@brentvollebregt commented on GitHub (Mar 22, 2024):

I can chuck some notes in the help post under the "My Antivirus Detected the exe as a Virus" section.

Aside from those two points, are you aware of anything else specific? Or maybe other GitHub issues that discuss these specifics more?

<!-- gh-comment-id:2014899801 --> @brentvollebregt commented on GitHub (Mar 22, 2024): I can chuck some notes in the help post under the ["My Antivirus Detected the exe as a Virus"](https://nitratine.net/blog/post/issues-when-using-auto-py-to-exe/#my-antivirus-detected-the-exe-as-a-virus) section. Aside from those two points, are you aware of anything else specific? Or maybe other GitHub issues that discuss these specifics more?
Author
Owner

@brentvollebregt commented on GitHub (Mar 22, 2024):

Also looking for an existing GitHub issue of this one,

For example, for avast is angry when we use icon option.

Was that just an example or an example of an actual thing that could be added (something that is happening)?

<!-- gh-comment-id:2014916972 --> @brentvollebregt commented on GitHub (Mar 22, 2024): Also looking for an existing GitHub issue of this one, > For example, for avast is angry when we use icon option. Was that just an example or an example of an actual thing that could be added (something that is happening)?
Author
Owner

@mcagriaksoy commented on GitHub (Mar 22, 2024):

Yes, I have seen the virus alert on Avast antivirus when I set the icon on .exe. Also some people mentioned that problem here: https://stackoverflow.com/questions/43777106/program-made-with-pyinstaller-now-seen-as-a-trojan-horse-by-avg

<!-- gh-comment-id:2015980490 --> @mcagriaksoy commented on GitHub (Mar 22, 2024): Yes, I have seen the virus alert on Avast antivirus when I set the icon on .exe. Also some people mentioned that problem here: https://stackoverflow.com/questions/43777106/program-made-with-pyinstaller-now-seen-as-a-trojan-horse-by-avg
Author
Owner

@brentvollebregt commented on GitHub (Mar 23, 2024):

I'm not keen to recommend not adding an icon, but have added a couple of good answers from that SO question - thank you!

<!-- gh-comment-id:2016630482 --> @brentvollebregt commented on GitHub (Mar 23, 2024): I'm not keen to recommend not adding an icon, but have added a couple of good answers from that SO question - thank you!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/auto-py-to-exe#372
No description provided.