Re: pyinstaller wrong classified as Windows virus

2021-11-29 Thread Benjamin Schollnick
>> Windows Defender has a setting to also use “Reputation Scoring”. >> What that simply means is that WDef will report back a hash to microsoft >> which is then checked to see if it is known. If it is known, then it has a >> reputation and based off that reputation Defender will either allow it

Re: pyinstaller wrong classified as Windows virus

2021-11-29 Thread Mats Wichmann
On 11/29/21 12:04, Benjamin Schollnick wrote: Windows Defender has a setting to also use “Reputation Scoring”. What that simply means is that WDef will report back a hash to microsoft which is then checked to see if it is known. If it is known, then it has a reputation and based off that repu

Re: pyinstaller wrong classified as Windows virus

2021-11-29 Thread Benjamin Schollnick
Windows Defender has a setting to also use “Reputation Scoring”. What that simply means is that WDef will report back a hash to microsoft which is then checked to see if it is known. If it is known, then it has a reputation and based off that reputation Defender will either allow it to run or

Re: pyinstaller wrong classified as Windows virus

2021-11-29 Thread Barry
> On 29 Nov 2021, at 00:03, anthony.flury via Python-list > wrote: > >  > On 26/11/2021 07:13, Ulli Horlacher wrote >>> But consider another possibility that your compiler software is compromised >> Then https://www.python.org/ftp/python/3.10.0/python-3.10.0-amd64.exe >> is infected. I doubt

Re: pyinstaller wrong classified as Windows virus

2021-11-29 Thread Ulli Horlacher
anthony.flury wrote: > > On 26/11/2021 07:13, Ulli Horlacher wrote > >> But consider another possibility that your compiler software is compromised > > Then https://www.python.org/ftp/python/3.10.0/python-3.10.0-amd64.exe > > is infected. I doubt this. > > But you aren't using python3.10 to 'com

Re: pyinstaller wrong classified as Windows virus

2021-11-28 Thread anthony.flury via Python-list
On 26/11/2021 07:13, Ulli Horlacher wrote But consider another possibility that your compiler software is compromised Then https://www.python.org/ftp/python/3.10.0/python-3.10.0-amd64.exe is infected. I doubt this. But you aren't using python3.10 to 'compile' the code to the executable that

Re: pyinstaller wrong classified as Windows virus

2021-11-28 Thread anthony.flury via Python-list
Have you tried using Nuitka - rather than pyInstalller - it means you distribute a single executable and the Python run time library (which they probably have already), and it has the advantage that it is a bit quicker than standard python. Rather than bundle the source code and interpreter in

Re: pyinstaller wrong classified as Windows virus

2021-11-28 Thread Tony Flury via Python-list
Have you tried using Nuitka - rather than pyInstalller - it means you distribute a single executable and the Python run time library (which they probably have already), and it has the advantage that it is a bit quicker than standard python. Rather than bundle the source code and interpreter in

Re: pyinstaller wrong classified as Windows virus

2021-11-26 Thread Chris Angelico
On Sat, Nov 27, 2021 at 4:47 PM Ulli Horlacher wrote: > > Richard Damon wrote: > > > On a somewhat locked down computer, the user does not have admin rights, > > so needs to get 'IT' to run any installers that need admin permissions > > to run. > > > > And EXE that just needs to be copied to the

Re: pyinstaller wrong classified as Windows virus

2021-11-26 Thread Peter Heitzer
Ulli Horlacher wrote: >Edmondo Giovannozzi wrote: >> You can try to download winpython: >> https://github.com/winpython/winpython/releases >> It is an executable, but you don't need to execute it as it is a 7zip >> compressed archive. >> You may run it or use directly 7zip to decompress it, th

Re: pyinstaller wrong classified as Windows virus

2021-11-26 Thread Edmondo Giovannozzi
Il giorno venerdì 26 novembre 2021 alle 08:13:50 UTC+1 Ulli Horlacher ha scritto: > Avi Gross wrote: > > > I am not sure what your real problem is, Ulli, but many antivirus programs > > can be TEMPORARILY shut off. > Meanwhile I found this configuration option. > But this does not help me muc

Re: pyinstaller wrong classified as Windows virus

2021-11-26 Thread Ulli Horlacher
Edmondo Giovannozzi wrote: > You can try to download winpython: > https://github.com/winpython/winpython/releases > It is an executable, but you don't need to execute it as it is a 7zip > compressed archive. > You may run it or use directly 7zip to decompress it, the result will be the > same.

Re: pyinstaller wrong classified as Windows virus

2021-11-26 Thread Ulli Horlacher
Avi Gross wrote: > I am not sure what your real problem is, Ulli, but many antivirus programs > can be TEMPORARILY shut off. Meanwhile I found this configuration option. But this does not help me much, because my programs must run on other Windows PCs of other users and they cannot disable the d

Re: pyinstaller wrong classified as Windows virus

2021-11-26 Thread Ulli Horlacher
Richard Damon wrote: > On a somewhat locked down computer, the user does not have admin rights, > so needs to get 'IT' to run any installers that need admin permissions > to run. > > And EXE that just needs to be copied to the computer and rhen just RUN, > doesn't need IT to 'install' it (the

RE: pyinstaller wrong classified as Windows virus

2021-11-25 Thread Avi Gross via Python-list
something else entirely. -Original Message- From: Python-list On Behalf Of Ulli Horlacher Sent: Thursday, November 25, 2021 12:10 PM To: python-list@python.org Subject: Re: pyinstaller wrong classified as Windows virus Chris Angelico wrote: > Unfortunately, if you're not going

Re: pyinstaller wrong classified as Windows virus

2021-11-25 Thread Chris Angelico
On Fri, Nov 26, 2021 at 7:53 AM Mats Wichmann wrote: > > On 11/25/21 11:00, Chris Angelico wrote: > > > Can someone confirm that it's still possible to run the Python > > installer without admin rights, for a per-user installation? It always > > used to be possible, but I haven't checked. > > You

Re: pyinstaller wrong classified as Windows virus

2021-11-25 Thread Mats Wichmann
On 11/25/21 11:00, Chris Angelico wrote: Can someone confirm that it's still possible to run the Python installer without admin rights, for a per-user installation? It always used to be possible, but I haven't checked. You only need admin rights for some special cases. While Win7 was still s

Re: pyinstaller wrong classified as Windows virus

2021-11-25 Thread Michael Torrie
On 11/25/21 9:08 AM, Ulli Horlacher wrote: > I cannot submit my executables, because the Windows Virus scannners > deletes them as soon as I compile my program! I forgot to post this link: https://support.microsoft.com/en-us/windows/add-an-exclusion-to-windows-security-811816c0-4dfd-af4a-47e4-c30

Re: pyinstaller wrong classified as Windows virus

2021-11-25 Thread Michael Torrie
On 11/25/21 9:08 AM, Ulli Horlacher wrote: > I cannot submit my executables, because the Windows Virus scannners > deletes them as soon as I compile my program! Add an exclusion rule to your machine. While this is not an option for your end users, this will certainly allow you to work on the probl

Re: pyinstaller wrong classified as Windows virus

2021-11-25 Thread Chris Angelico
On Fri, Nov 26, 2021 at 4:50 AM Richard Damon wrote: > > On 11/25/21 12:21 PM, Chris Angelico wrote: > > On Fri, Nov 26, 2021 at 4:18 AM Ulli Horlacher > > wrote: > >> Chris Angelico wrote: > >> > >>> Unfortunately, if you're not going to go to the effort of getting your > >>> executables signed

Re: pyinstaller wrong classified as Windows virus

2021-11-25 Thread Richard Damon
On 11/25/21 12:21 PM, Chris Angelico wrote: On Fri, Nov 26, 2021 at 4:18 AM Ulli Horlacher wrote: Chris Angelico wrote: Unfortunately, if you're not going to go to the effort of getting your executables signed I cannot sign my executables (how can I do it anyway?), because Windows deletes m

Re: pyinstaller wrong classified as Windows virus

2021-11-25 Thread Barry
> On 25 Nov 2021, at 16:51, Ulli Horlacher > wrote: > > Barry Scott wrote: >> >> On 25 Nov 2021, at 09:20, Ulli Horlacher wrote: >>> >>> When I compile my programs with pyinstaller, Windows classifies them as >>> virus and even deletes them! >> >> Microsoft will fix the malwa

Re: pyinstaller wrong classified as Windows virus

2021-11-25 Thread Chris Angelico
On Fri, Nov 26, 2021 at 4:18 AM Ulli Horlacher wrote: > > Chris Angelico wrote: > > > Unfortunately, if you're not going to go to the effort of getting your > > executables signed > > I cannot sign my executables (how can I do it anyway?), because Windows > deletes my executable as soon as I have

Re: pyinstaller wrong classified as Windows virus

2021-11-25 Thread Ulli Horlacher
Chris Angelico wrote: > Unfortunately, if you're not going to go to the effort of getting your > executables signed I cannot sign my executables (how can I do it anyway?), because Windows deletes my executable as soon as I have compiled them! They exist only for a few seconds and then they are g

Re: pyinstaller wrong classified as Windows virus

2021-11-25 Thread Chris Angelico
On Fri, Nov 26, 2021 at 3:49 AM Ulli Horlacher wrote: > > Ulli Horlacher wrote: > > Dan Purgert wrote: > > > > > > When I compile my programs with pyinstaller, Windows classifies them as > > > > virus and even deletes them! > > > > [...] > > > > > > Have you tried compiling from a different mach

Re: pyinstaller wrong classified as Windows virus

2021-11-25 Thread Ulli Horlacher
Barry Scott wrote: > > > > On 25 Nov 2021, at 09:20, Ulli Horlacher > > wrote: > > > > When I compile my programs with pyinstaller, Windows classifies them as > > virus and even deletes them! > > Microsoft will fix the malware detection if you provide the info they need. > > Submit false po

Re: pyinstaller wrong classified as Windows virus

2021-11-25 Thread Ulli Horlacher
Ulli Horlacher wrote: > Dan Purgert wrote: > > > > When I compile my programs with pyinstaller, Windows classifies them as > > > virus and even deletes them! > > > [...] > > > > Have you tried compiling from a different machine? Maybe there's > > something broken on the one that's flagging them

Re: pyinstaller wrong classified as Windows virus

2021-11-25 Thread Michael Torrie
On 11/25/21 2:20 AM, Ulli Horlacher wrote: > When I compile my programs with pyinstaller, Windows classifies them as > virus and even deletes them! > > pyinstaller.exe --onefile --noconsole -i fex.ico fextasy.py > 187 INFO: PyInstaller: 4.7 > 187 INFO: Python: 3.10.0 > 218 INFO: Platform: Windows-

Re: pyinstaller wrong classified as Windows virus

2021-11-25 Thread Barry Scott
> On 25 Nov 2021, at 09:20, Ulli Horlacher > wrote: > > When I compile my programs with pyinstaller, Windows classifies them as > virus and even deletes them! Microsoft will fix the malware detection if you provide the info they need. Submit false positive info to: https://www.microsoft.co

Re: pyinstaller wrong classified as Windows virus

2021-11-25 Thread Dan Purgert
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Ulli Horlacher wrote: > When I compile my programs with pyinstaller, Windows classifies them as > virus and even deletes them! > [...] > What can I do? Stop writing viruses ;) Have you tried compiling from a different machine? Maybe there's somethi

pyinstaller wrong classified as Windows virus

2021-11-25 Thread Ulli Horlacher
When I compile my programs with pyinstaller, Windows classifies them as virus and even deletes them! pyinstaller.exe --onefile --noconsole -i fex.ico fextasy.py 187 INFO: PyInstaller: 4.7 187 INFO: Python: 3.10.0 218 INFO: Platform: Windows-10-10.0.19041-SP0 218 INFO: wrote P:\W10\fextasy.spec (..

Re: pyinstaller wrong classified as Windows virus

2021-11-25 Thread Ulli Horlacher
Dan Purgert wrote: > > When I compile my programs with pyinstaller, Windows classifies them as > > virus and even deletes them! > > [...] > > Have you tried compiling from a different machine? Maybe there's > something broken on the one that's flagging them. I have only this Windows installati