Re: Windows distribution suggestions?



Paul Rubin wrote:
> My app contains three different programs (say alice.py, bob.py, and
> carol.py) that need to be independently launchable, and a dozen or so
> other .py files that get imported into those first three. What I'd
> really really like is to make a single installer called (say)
> "app.exe". Launching app.exe should completely install Python, unpack
> all the necessary modules, and make three icons (alice, bob, carol) on
> the desktop.

It's not clear to me whether you really want to install a full version
of Python on the target machine; py2exe and Co. incorporate the minimum
subset of Python and ship this each time you make a distribution. So
Python is not installed on the target machine on its own.

In principle, it is possible to create an installer that first installs
Python (with entries in the start menu and all), and then installs your
own application.

If this is what you want, I would personally go with .msi instead of
using .exe. It can do "nested installs", where you can launch
the standard python-2.4.msi from your own MSI file. It also supports
"patch updates", where you replace the files that have changed on
the target machine, through a patch MSI.

The tricky part is to find a good authoring tool for .msi. I would
personally use my own Python library, but that requires to dig
into the MSI details.

Regards,
Martin
.



Relevant Pages

  • RE: Installer issue in deployment project VS2005
    ... The MSI package was indeed created with VS2005. ... that the command line params were bad. ... remove the .dll the package installs from the Global Assembly Cache. ...
    (microsoft.public.dotnet.general)
  • Re: Graphics routines (GDCHART, etc.) with OpenVMS PERL, CSWS mod_perl
    ... > graphs for Apache (CSWS) pages and was pointed to Python for VMS. ... the installs went smoothly and I am able to ... > The documentation mentioned PNG and ZLIB as prerequisites. ...
    (comp.os.vms)
  • [ANN] BPT (Boxed Package Tool) 0.4a -- now with PIP support
    ... This release is particularly interesting for python users, since it includes a modified version of PIP that installs the packages inside the box. ... What is BPT ...
    (comp.lang.python)
  • [SLE] Python/pygtk update and cleanup
    ... It appears that my problem may lie in /usr/bin/env, which apparently points different apps to which version of python they're going to use, but I've come up completely empty looking for information on how to fix it. ... I think my best option at this point is to completely wipe out my old python and gtk installs and just install the latest versions, but as I said I've already tried this using YAST and apt, and it's had no effect. ... So if anyone has a suggestion (preferably less drastic than "wipe hda and re-install SuSE), ...
    (SuSE)
  • Re: Why does Python never add itself to the Windows path?
    ... that solution only works for actual Python scripts; ... Am I the only person who installs ... executables. ...
    (comp.lang.python)