On gio, 2009-03-12 at 07:36 -0700, Florian Höch wrote:
> Yes, all the WinSxS stuff is quite confusing (atleast for me, not
> having too much experience with it either). But I may be able to
> provide some pointers, to get PyInstaller (latest trunk) to create
> working exe's on Windows with Python 2.6 and maybe 2.6.1 (I might have
> more info later)
> You first need to apply the patches posted here
> http://pyinstaller.python-hosting.com/attachment/ticket/39/PyInstaller-Tweaks.diff
> (maybe sans the python26.dll exclusion, and you may need to apply them
> manually since the trunk changed since the patches were posted).
> Then, the method I currently use to get working executables with
> Python 2.6 is:
> - Get the MSVCRT 9 DLLs and accompanying manifest (they are for
> example in \WINDOWS\WinSxS in a subfolder if you installed Python 2.6
> via the official python.org Windows Installer)
> - In the spec file look for the part that reads a.binaries and change
> it to a.binaries + ['Microsoft.VC90.CRT.manifest', 'msvcm90.dll',
> 'msvcp90.dll', 'msvcr90.dll']
>   (copy the DLLs from WinSxS or add the full paths to the filenames)
> - Now, the executable should be able to run if Python 2.6 was used to
> create it.
> - For Python 2.6.1, it still won't work - I will post again if I find
> something new.

I am told that it should work if you copy the files into a directory
next to the executable with the same name it has within the \Windows
\WinSxS folder. I think it's called "Microsoft.VC90.CRT". 

If so, try creating a structure like this:

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

Let me know if it works like this.
-- 
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