From: Werner F. B. <wer...@fr...> - 2010-02-15 09:01:45
|
On 15/02/2010 09:31, waltub wrote: > Werner F. Bruhin wrote: >> On 15/02/2010 06:04, waltub wrote: >> >>> I have been following tutorial athttp://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 for the reply. But, sorry I can't get your point. Is the > problem just about the file name > (x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-www_d08d0375.manifest > <--> Microsoft.VC90.CRT.manifest) or i bundle the wrong file? Where > can i get these files from? Is it ok to get these files from Microsoft > Visual C++ 2008 Redistributable Package installation? I use the one which came with Python 2.6, but I believe strictly legally you might have to use the redist package from MS. Werner |