Which version of MSVC?90.DLL's to distribute with Python 2.6 based Py2exe executables?

Martin v. Loewis martin at v.loewis.de
Tue Dec 29 17:37:51 CET 2009


>> However, this takes a few seconds to run. Is there a sensible way for
>> me to only run this if the required DLL is not already installed? How
>> should I be detecting that?

Look at windows\winsxs\<crt folder>

>> Also: Will this work on 64 bit machines? Or do I not need to worry
>> about that?

If you ship the 32-bit Python DLLs, and have a 32-bit installer, and
install the 32-bit redist, it will work fine on a 64-bit machine as
well.

If one of the components above is 64-bit, all of them will need to
be 64-bit.

> If the DLLs aren't installed, then my program can't be launched, and
> can't bootstrap itself by installing the required DLL's.
> 
> I guess I really need an installer. Oh well.

You can perhaps modify the py2exe launcher to install vc_redist if needed.

Regards,
Martin



More information about the Python-list mailing list