From: Mark H. <ski...@gm...> - 2010-01-04 22:12:42
|
On 5/01/2010 6:13 AM, Jonathan Hartley wrote: > Hey all, > > Now that I sort-of understand how to bundle the MS Visual C runtime with > my py2exe applications (thanks to all who helped me get up to speed), > I'd like to update the tutorial page on the py2exe wiki, to add more > specific and up-to-date info about providing the MSVC runtime dll. > > For the moment, I'll post it as a new subsection near the bottom of the > Tutorial page. If that section gets long or detailed, it could be split > off as a new page. Cool! > === Python 2.4 or 2.5 === > Note that MSVCR71.dll is provided by py2exe, I'm not sure that is quite true - I think it is provided by Python itself and now also by many other applications, but not py2exe. IOW, it will *usually* be available but not always. > and if you have rights > to redistribute, you need do nothing more. If you do not have rights > to distribute, your users (or your installer) need to run > vcredist_x86.exe, with a link to download it. > /HELP! Does it matter which version of vcredist_x86.exe they run in > this case? In particular, is MSVCR71.dll included in the visual > studio 2008 redistributable that will be referenced below? I'll > experiment to try and discover this tonight, but would appreciate > any input./ They must run the "redistributables for VC2005" - none of the 2008 redist packages include this DLL. > === Python 2.6 and newer === > Note that you must provide MSVC90.dll yourself. Note how several > versions of this file exist, with the same filename, and 9.0.21022.8 > is the one you need. > > If you have rights to redistribute, how to create a Win32 assembly > using the dll and a manifest file. > > If you do not have rights to redistribute, your users (or your > installer) need to run vcredist_x86.exe, with a link to download it. > (VC2008 version (not SPI which seems to install the wrong version of > MSVC90.dll )) That's correct - until Python uses VS2008 SP1 to build Python itself that is :) Cheers, Mark |