On ven, 2009-03-13 at 04:47 -0700, Florian Höch wrote:
> Thanks, now I found what I was missing - the executable also needs an
> updated manifest which references the CRT. Then, it also works with
> Python 2.6.1 (for Python 2.6 the changed manifest is not needed)
> Summary so far for me:
> 
> - My method above: works with Python 2.6 (both --onedir and --
> onefile), --onedir also works with Python 2.6.1, but not --onefile
> - My method above + assembly next to the executable (DLLs +
> Microsoft.VC90.CRT.manifest, either in subfolder called
> Microsoft.VC90.CRT or loose files): --onefile also works with Python
> 2.6.1 (even though it is no longer really a onefile deployment - but I
> certainly don't blame pyinstaller)
> 
> I also found this http://bugs.python.org/issue4566 I didn't know about
> before - so maybe we can hope that a real fix for those issues will be
> incorporated into Python itself in a next version.

>From the reading of the bug, I deduce that the executable's manifest is
not required anymore in Python 2.6.2. This will leave Python 2.6.1 as
the only version requiring this workaround -- in which case, I prefer to
simply declare it unsupported and bail out when running Configure.py
against it.

On the other hand, I would like to incorporate your fixes for Python 2.6
but we need to find a better way of doing it.

First question: if you *don't* add the msvc*90.dll and the manifest to
the a.binaries list, but you simply copy them like this:

    YourProgram.exe     <- made by PyInstaller
    Microsoft.VC90.CRT\
        msvcr90.dll
        msvcp90.dll
        etc.

so *without* copying the manifest, does it work?
-- 
Giovanni Bajo
Develer S.r.l.
http://www.develer.com



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/PyInstaller?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to