On 15/02/2010 09:46, waltub wrote:
Werner F. Bruhin wrote:
On 15/02/2010 06:04, waltub wrote:
  
I have been following tutorial at http://www.py2exe.org/index.cgi/Tutorial
Step 5.2.1 runs well, but the app generated on dist directory can't run
on another windows machine which doesn't have Microsoft Visual C++ 2008
Redistributable Package installed. The tutorial explicitly said: " Now,
simply copying the whole dist directory to your users machines should
now allow your application to run, /*even on machines that don't have
their own copy of the C++ runtime.*/".

Here are steps i actually did:
-Install Microsoft Visual C++ 2008 Redistributable Package on my
development machine (Windows XP SP2), since i can get MSVCR90.dll and
manifest just from it.
-Search the apropriate DLL (MSVCR90.dll), and found these files on my
machine:
C:\WINDOWS\WinSxS\Manifest\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-www_d08d0375.cat
C:\WINDOWS\WinSxS\Manifest\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-www_d08d0375.manifest
C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_d08d0375\msvcm90.dll
C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_d08d0375\msvcp90.dll
C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_d08d0375\msvcr90.dll
-Copy these files on C:\devel\py2exe_project\runtime
    

The above names will not work.  You should have this in your runtime folder:

Microsoft.VC90.CRT.manifest
msvcm90.dll
msvcp90.dll
msvcr90.dll

  
Thank u a million Werner. Finally it works. Yes, i got your point. I should rename x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-www_d08d0375.manifest to Microsoft.VC90.CRT.manifest. Never thought this was the problem. Thank u werner.
You are welcome, please keep the posts on the list for the archive.

Werner