Hi, everyone, 

I need your help with deploying .exe files. I created a software using packages including PySide, lxml, BeautifulSoup etc. I have successfully built it under windows 7, and been able to run it in the same windows 7 machine. But I can not run the .exe program under Windows XP. I have not tested in Windows Vista yet, but I need it to work under Vista too. 
The error message I got under Windows XP is as follows:
"the procedure entry point_except_handler4_common could not be located in the dynamic link library msvcrt.dll"

Can someone help me how to build exe on windows 7 and deploy on vista and xp? Thanks. 

I have tried methods as suggested by the following links, but it does not work. 
http://www.devcomments.com/q448413/Is-possible-to-build-exe-on-Vista-and-deploy-on-XP-using-py2exe
http://bytes.com/topic/python/answers/730751-py2exe-other-exe-builder-vista-system-vista-xp-install-targets

My setup.py for py2exe is as follows:

'''
http://web.archiveorange.com/archive/v/5H3d11fesgvZXKvrYblh
'''
# Used successfully in Python2.5 with matplotlib 0.91.2 and PyQt4 (and Qt 4.3.3)
from distutils.core import setup
import py2exe
#import mechanize


# We need to import the glob module to search for all files.
import glob

# We need to exclude matplotlib backends not being used by this executable.  You may find
# that you need different excludes to create a working executable with your chosen backend.
# We also need to include include various numerix libraries that the other functions call.

opts = {
    'py2exe': { "includes" : ["sip"],
                'excludes': ['_gtkagg', '_tkagg', '_agg2', '_cairo', '_cocoaagg',
                             '_fltkagg', '_gtk', '_gtkcairo', ],
                'dll_excludes': ['libgdk-win32-2.0-0.dll',
                                 'libgobject-2.0-0.dll'],
                'packages': ['lxml','pyquery','mechanize','reportlab'],

              }
       }

# Save matplotlib-data to mpl-data ( It is located in the matplotlib\mpl-data
# folder and the compiled programs will look for it in \mpl-data
# note: using matplotlib.get_mpldata_info


# for console program use 'console = [{"script" : "scriptname.py"}]
setup(name="Top Ten Rank 1.2",
      version="1.1",
      description = " Top Ten Rank 1.2",

      author="He, Jibo",
      author_email="hejibo@gmail.com",
      url="http://www.ueseo.org",
#      zipfile = True, 
      windows=[{"script" : "TopTenRank.py",'icon_resources':[(1,"top10ranking.ico")]}], options=opts)

---------------------------
He Jibo
Department of Psychology,
Beckman Institute for Advanced Science and Technology
University of Illinois, Urbana Champaign,
603 East Daniel St.,
Champaign, IL 61820
website: http://hejibo.appspot.com/file/index.html