I'm on Windows 7 64bits and when I specify the path to Microsoft VIsual C runtime DLL to py2exe, the manifest is not included (so the exe doesn't work on an another machine).
Example of setup.y
data_files = [("VC90", glob(r'C:\Windows\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91\*.*'))]
setup(
data_files=data_files,
console = [{'script': "C:\test\my_program.py"}],
zipfile = None,
)
After having executed the script above, I have this in my dist directory:
dist
|
+-VC90
| |
| +-msvcm90.dll
| +-msvcp90.dll
| +-msvcr90.dll
|
|-etc
The .manifest is missing... I don't know where py2exe search but on my computer this is like this:
C:\Windows\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91
C:\Windows\winsxs
|
+-x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91
| |
| +-msvcm90.dll
| +-msvcp90.dll
| +-msvcr90.dll
|
|
+-Manifests
| |
| +-x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91
| +(etc)
|
|-(etc)
Sorry for my bad english, but I'm french.