From: Mark H. <ski...@gm...> - 2016-02-11 22:54:06
|
On 12/02/2016 9:38 AM, Gufflet Yves wrote: > Thanks Dan and Mark for your answers. > It appears you do not tell the same thing. > Mark, did you answer on the basis of the forum link I sent, or do you > know the heart of py2exe ? It's been quite a few years, but last I recall, py2exe makes no attempt to update the checksum after modifying the executable. A quick google tells me I said the same thing 6 years ago too :) https://sourceforge.net/p/py2exe/mailman/message/24637537/ HTH, Mark > Dan did you check the checksum with depends.exe or did you assume you > had no problem with checksum ? > > Could you check for your executables what it indicates with depends.exe ? > > http://www.dependencywalker.com/ > > Effectively, I am deploying without python installed and I had a lot of > problem to incorporate with a manifest the versions 9.0.21022.8 of > msvcr90.dll (and co). And I thought it was the problem. I used by error > 32 bits version and then 64 bits version. Still do not work and then I > saw it was conflicting with AV. I cannot assume that the person do not > use AV or that an antivirus will not block because of an invalid link > checksum. > > Have you got any idea of a minimal configuration for the build that do > not generate this link checksum ? > > Do you think it is because the dll used at compilation or at runtime are > not the same and that I am still having problem with dll hell or winsws > hell ? > > Any suggestions ? > > Le 11/02/2016 22:08, Mark Hammond a écrit : >> This is due to how py2exe works - it uses a pre-built stub and appends >> data to it without attempting to change any checksums. There's not >> much you can do about that (and probably no value in avast flagging it >> as a problem either - AV software seems to be in a race to the bottom) >> >> Mark >> >> On 12/02/2016 4:31 AM, Gufflet Yves wrote: >>> Hi, >>> >>> I generated an executable with py2exe but it fails to run on my machine >>> when avast is running. >>> I discovered with Dependency Walker that the "link checksum" for the exe >>> is in red and differs from the "real checksum" >>> I am not sure about the origin of the problem (virus or py2exe way of >>> doing things) neither how to fix it (I cannot guaranty that the final >>> user will have avast or not) >>> Any idea ? >>> >>> Thanks in advance, >>> >>> Yves >>> >>> --- >>> L'absence de virus dans ce courrier électronique a été vérifiée par >>> le logiciel antivirus Avast. >>> https://www.avast.com/antivirus >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> Site24x7 APM Insight: Get Deep Visibility into Application Performance >>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month >>> Monitor end-to-end web transactions and take corrective actions now >>> Troubleshoot faster and improve end-user experience. Signup Now! >>> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 >>> _______________________________________________ >>> Py2exe-users mailing list >>> Py2...@li... >>> https://lists.sourceforge.net/lists/listinfo/py2exe-users >>> >> >> > > > --- > L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast. > https://www.avast.com/antivirus > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 > _______________________________________________ > Py2exe-users mailing list > Py2...@li... > https://lists.sourceforge.net/lists/listinfo/py2exe-users > |