On Fri, Jul 23, 2010 at 1:44 AM, Craig McQueen <mcquee...@edsrd1.yzk.co.jp> wrote: > Hello, > > I'm using cx_Freeze 4.2, for Python 2.7, on Windows 2000. I'm using a > setup.py to drive cx_Freeze. I did: > > setup.py build bdist_msi > > I noticed that unlike for Python 2.6, the generated MSI file doesn't have > the -win32 suffix.
Really? I didn't see that. Try running that command in the samples/simple directory and see if you get the same result. I get this file generated: hello-0.1-win32.msi > I ran the MSI it created, to install my program. It installed into > c:\Program Files\myprogname. But, it also created a bunch of > sub-directories: > Python2.0 > Python2.1 > Python2.2 > ... > Python2.8 > Python2.9 > Python3.0 > Python3.1 > Python3.2 > ... > Python3.8 > Python3.9 > > Each subdirectory has a complete copy of the program--and appear to be > redundant, making the installation about 20 times bigger than it needs to > be! Although the MSI file itself is only a little bigger than that created > by cx_Freeze under Python 2.6. > > I assume this has something to do with this: > http://svn.python.org/view/python/trunk/Lib/distutils/command/bdist_msi.py?view=log#rev72306 > > I'm guessing this is an unexpected side-effect of that change. Yes, indeed. Thanks for pointing it out. I have just checked in a change to eliminate this problem. I'll wait a bit before releasing a new version just in case there are a few other things that turn up. :-) But in the meantime you can simply copy the updated windist.py from Subversion into your cx_Freeze installation and the problem will go away. Anthony ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ cx-freeze-users mailing list cx-freeze-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cx-freeze-users