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.

This is just a quick heads-up in case anyone else was thinking about doing the same thing, or wants to help and/or suggest anything that really ought to be included. My rough draft looks like:

after 'Excellent, it works!' a new section, which gathers together all existing references to the msvc runtime.

== Providing the MS VC runtime ==

A sentence on what this is.

=== Python 2.4 or 2.5 ===
Note that MSVCR71.dll is provided by py2exe, 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.

=== 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 ))

== Build an installer if applicable ==
(unmodified)


Critisism or suggestions greatly welcomed. Best regards,

    Jonathan

--
Jonathan Hartley      Made of meat.      http://tartley.com
tartley@tartley.com   +44 7737 062 225   twitter/skype: tartley