Hi
I am trying to make myPythonScript (with a wx gui) into a standalone
exe using py2exe.
I have followed the instructions found here (several times) very
closely
http://wiki.wxpython.org/py2exe, but without success.
(NB: I am running python 2.6.2)
These are the basic steps I tried:
1) I installed vcredist_x86.exe and ran it as administrator (I'm on
win7)
2) I went to C:windows/winsxs/ and located the manifest file amid the
mangled dir names (the file is called
"x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91.manifest")
3) I also located the msvcr90.dll and msvcr90d.dll files, as well as
the accompanying policy files.
4) I put the two dll files and the manifest file etc into a directory
named "C:\myTempDir"
5) I made the change to the setup.py file to copy the contents of C:
\myTempDir into the new dist of my script.
6) I ran the setup file from the command prompt and it worked -- the
build and dist directories were created and full, and the dist dir
contains a dir called "Microsoft.VC90.CRT", inside of which is the
MSVCR90.dll file (as well as the manifest file and the MASVCRTd.dll
file and the policy files etc).
7) when I run myPythonScript.exe, I get an error saying
"the program cannot start because MSVR90.dll is missing from your
computer Try reinstalling the program to fix this problem"
I have tried several times without success.
Please help!
Many thanks
C