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

Jonathan Hartley tartley at tartley.com
Mon Dec 21 15:14:59 EST 2009


On Dec 17, 8:39 pm, Christian Heimes <li... at cheimes.de> wrote:
> Jonathan Hartley wrote:
> > Only this week I sent a py2exe-derived executable to someone else (a
> > non-developer) and it would not run on their WinXP machine ("'The
> > system cannot execute the specified program'") - my current favourite
> > hypothesis is that my omission of this dll or something similar was to
> > blame.
>
> > To diagnose what's wrong, I can't get access to the machine that gives
> > the above error. To try and reproduce, I'm right now in the process of
> > creating a bare-bones WindowsXP installed on a VM.
>
> MSVCR90 is a side-by-side assembly (SxS). You can't just copy a SxS
> assembly to another computer. You must at least ship the manifest file,
> too. The easiest way to get your program running is the installation of
> the MSVCR redistributable installer.
>
> Christian


Hey Christian,

Many thanks for that, but my issue is that my programs work fine for
me on my computer - but then fail on other people's computers. I'd
very strongly prefer for my users to not have to install the MSVCR
redistributable installer as well as my program - it would be much
better if I could bundle everything up into my py2exe package so that
it 'just works' on any Windows computer. So I think that means I'm
looking for a stand-alone DLL (or several, plus the manifest file, it
sounds like) to bundle up with my py2exe.



More information about the Python-list mailing list