wxPython as msi package?

Hi Eino,

I like to install wxPython using Active Directory as I do with python.
Unfortunately wxPython is available only as executable file. What is easiest
solution to distribute it to 50 workstations.

You might want to take a look at MakeMSI (free):

And, specifically to wxPython, this message:

http://tech.groups.yahoo.com/group/makemsi/message/2196

I never tried MakeMSI before and I don't know how to use it, but it
would be nice to have a MSI installer for wxPython too. I'll se if I
can put together a *.MM file (extension used by MakeMSI) for wxPython
and, if there is enough interest, I'll contribute it. Maybe Robin
would consider the MSI installer as another wxPython installation
option, although I doubt it, as he already has to build 10456
different installers, *.exes, *.RPMs, *.dmgs, *.whatever for 2 Python
versions, ansi/unicode plus 98 different versions of Linux and Mac :smiley:
.

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/

···

On Mon, Jun 16, 2008 at 1:44 PM, Eino Mäkitalo wrote:

+1 on behalf of GNUmed

Karsten

···

On Mon, Jun 16, 2008 at 10:57:46AM -0400, Mike Rooney wrote:

I never tried MakeMSI before and I don't know how to use it, but it
would be nice to have a MSI installer for wxPython too. I'll se if I
can put together a *.MM file (extension used by MakeMSI) for wxPython
and, if there is enough interest, I'll contribute it.

I would definitely love to have wxPython as an MSI, for easier
distribution on Windows! It would really improve and streamline our
application installation.

--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346

Mike Rooney wrote:

Andrea Gavana wrote:

I never tried MakeMSI before and I don't know how to use it, but it
would be nice to have a MSI installer for wxPython too. I'll se if I
can put together a *.MM file (extension used by MakeMSI) for wxPython
and, if there is enough interest, I'll contribute it.

I would definitely love to have wxPython as an MSI, for easier distribution on Windows! It would really improve and streamline our application installation. I was surprised to find that I could only download it in .exe earlier, in fact.

Maybe Robin
would consider the MSI installer as another wxPython installation
option, although I doubt it, as he already has to build 10456
different installers, *.exes, *.RPMs, *.dmgs, *.whatever for 2 Python
versions, ansi/unicode plus 98 different versions of Linux and Mac :smiley:
  
Well, if he wanted to, it would be greatly appreciated! :slight_smile: And hey, aren't those builds automated? :wink:

Yes, but it's still a ton of work. OTOH, if somebody were to submit whatever is needed to build MSIs and automate it for wxPython then I wouldn't mind switching.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Hi Peter,

Yes, I had started to convince myself that this is indeed the case.
Too bad, it would have been 100 times easier if it was done through
Inno scripts :smiley:

http://svn.wxwidgets.org/viewvc/wx/wxPython/trunk/distrib/make_installer.py?view=markup

Robin used Guido's time machine again. :o)

Thank you... I must have looked at the SVN source for half an hour and
the solution was right there... I need a holiday :smiley:

I just need to understand if all that woodoo Inno+Python code can be
translated to MSI compatible instructions...

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/

···

On Tue, Jun 17, 2008 at 2:22 PM, Peter Damoc wrote:

On Tue, Jun 17, 2008 at 4:07 PM, Andrea Gavana <andrea.gavana@gmail.com> > wrote:

Christoph Schmidt-Hieber wrote:

<div class="moz-text-flowed" style="font-family: -moz-fixed">Andrea Gavana wrote:

I am actually looking at this at the moment, trying to get some
insight by the wxPython SVN source tree, especially in build.py and
config.py. There is something a bit unclear to me: the wxPython
installer is an exe file which looks very much as an Inno Setup
installer, but for the life of me I can't find anywhere in the Python
code *where* you are actually building the Inno script to generate the
installer. I thought to re-use as much as possible of your build code
to generate automagically an MSI installer for wxPython, but I can't
even start :smiley:
Am I missing something?

I suppose that it uses the standard distutils, which are documented here:
http://docs.python.org/dist/dist.html
So presumably you would have to make the distutils create an msi file. Apparently, somebody has already started working on that:
http://www.dcl.hpi.uni-potsdam.de/home/loewis/bdist_msi/
Maybe thats a good starting point.

Good luck!
Christoph

</div>

This does work for simple extensions as I've done it before. The syntax is very similar to bdist_wininst:

>> python setup.py bdist_msi

It's a standard part of Python 2.5 and up. However, I've had issues with both commands on extensions/packages that make extensive use of C++. If you get it to work, I'd like to know what you did. Let us know if we can help!

Mike