Am 22.07.2010 16:50, schrieb Giovanni Bajo:
On Thu, 2010-07-22 at 00:46 +0200, Florian Höch wrote:
Thanks. I think I have realized why it fails on Windows 2000. Judging
from your log, the MS VC 90 CRT assembly and its files are correctly
bundled by PyInstaller. But there is a caveat: PyInstaller puts the
assembly files in a subfolder. On systems like Windows XP and newer,
which have WinSxS, this is no problem and the WinSxS loader finds the
files through the embedded manifests. And here Windows 2000 fails,
because it knows nothing about manifests or WinSxS. It expects the
msvc*90.dll either in a directory on the %PATH%, or next to the objects
(in this case python26.dll and any *.pyd files) that depend on it. So a
quick work-around should be not putting assembly files inside a
subfolder when bundling. I have attached a patch for the current trunk,
please let me know if it works.

Does this mean that WinXP+ do allow bundling assemblies next to the
executable? I thought that subfolders was the only allowed way...

No. But the manifest still has to be present ofcourse.

Regards

--
Florian Höch

--
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