Re: pretty windows installer for py scripts

2005-09-12 Thread Fredrik Lundh
Gregory Piñero wrote:

> How do you do this with the disutils module?  I'm looking
> to make an installer that will install a python library.

start here:

http://docs.python.org/dist/dist.html

if you need more help, grab some libraries from PyPI and look
at their setup files.






-- 
http://mail.python.org/mailman/listinfo/python-list

Re: pretty windows installer for py scripts

2005-09-12 Thread Gregory Piñero
How do you do this with the disutils module?  I'm looking to make an installer that will install a python library.
Isn't that already available in the distutils module ?--
http://mail.python.org/mailman/listinfo/python-list-- Gregory PiñeroChief Innovation OfficerBlended Technologies(
www.blendedtechnologies.com)
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: pretty windows installer for py scripts

2005-09-12 Thread Steve Christensen
On 2005-09-08, Adriaan Renting <[EMAIL PROTECTED]> wrote:
> The elegant way to do installs on Windows would be by creating an MSI.
> Microsoft provides (IIRC) a simple tool to create those (Orca), that's
> free. Without the Installshield or Wise tools I think it would take
> quite some effort though, because you need to understand all the
> details of how msi tables work. You might be able to get the idea by
> using orca to look at other msi installs, and figure out how they do
> things.  MSI itself isn't very difficult, but it'll take some time to
> understand it. If you do use it, do not foget to define uninstall
> actions.

Avoid Orca like the plague. It's useful to view MSI archives... but
beyond that it'll just get you into trouble. 

If you want MSI/Windows Installer, try the WiX project
 -- it's main developer is from MS,
and it's licensed under CPL. You'll need to create .xml input files that
describe your project, and the WiX tools compile them into the MSI
database.

Or, you could also try tweaking the Python 2.4 install stuff. It uses a
wrapper around the Windows Installer API to create the .msi file. You
could tweak that to create your own MSI files... but, it might be
better in the long-run to use WiX.

To use WiX 'properly' you will need to understand Windows Installer,
which is no small task. (I haven't looked at it since mid-2004... maybe
things have changed). If you just want something quick and easy, try
using NSIS or InnoSetup.


-Steve
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: pretty windows installer for py scripts

2005-09-08 Thread [EMAIL PROTECTED]
I second that. NSIS works better than MSI, Inno, or even InstallShield.
I highly recommend it. Of course, a second choice is Inno, third is
MSI, and last resort is InstallShield. Another option is to make an
installer using "AutoIT" but that can get kind of tricky.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: pretty windows installer for py scripts

2005-09-08 Thread Adriaan Renting
The elegant way to do installs on Windows would be by creating an MSI. 
Microsoft provides (IIRC) a simple tool to create those (Orca), that's free. 
Without the Installshield or Wise tools I think it would take quite some effort 
though, because you need to understand all the details of how msi tables work. 
You might be able to get the idea by using orca to look at other msi installs, 
and figure out how they do things.
MSI itself isn't very difficult, but it'll take some time to understand it. If 
you do use it, do not foget to define uninstall actions.
The izfree tools and tutorials on sourceforge might do the trick for you:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/windows_installer_development_tools.asp
http://izfree.sourceforge.net/

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: pretty windows installer for py scripts

2005-09-08 Thread Christophe
Paul Rubin a écrit :
> Christophe <[EMAIL PROTECTED]> writes:
> 
>>>Any recommendations on a windows packager/installer that's free? I need
>>>it to allow non-tech users to install some python scripts... you know,
>>>"Click Next"... "Click Next"... "Click Finish"... "You're Done!" and
>>>everything just magically works ;)
>>
>>Isn't that already available in the distutils module ?
> 
> 
> No not really.  There's a thing like that for installing library
> modules but AFAIK it doesn't make an easy way to install desktop
> applications with start menu icons and all that kind of stuff.  Inno
> Setup does do those things.

I'll take your word on that. If you want to create a fully contained 
installer, you should use py2exe and on the samples there's an exemple 
in how to integrate InnoSetup.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: pretty windows installer for py scripts

2005-09-08 Thread Paul Rubin
Christophe <[EMAIL PROTECTED]> writes:
> > Any recommendations on a windows packager/installer that's free? I need
> > it to allow non-tech users to install some python scripts... you know,
> > "Click Next"... "Click Next"... "Click Finish"... "You're Done!" and
> > everything just magically works ;)
> 
> Isn't that already available in the distutils module ?

No not really.  There's a thing like that for installing library
modules but AFAIK it doesn't make an easy way to install desktop
applications with start menu icons and all that kind of stuff.  Inno
Setup does do those things.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: pretty windows installer for py scripts

2005-09-08 Thread Christophe
rbt a écrit :
> Any recommendations on a windows packager/installer that's free? I need
> it to allow non-tech users to install some python scripts... you know,
> "Click Next"... "Click Next"... "Click Finish"... "You're Done!" and
> everything just magically works ;)

Isn't that already available in the distutils module ?
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: pretty windows installer for py scripts

2005-09-08 Thread Roel Schroeven
rbt wrote:

> Any recommendations on a windows packager/installer that's free? I need
> it to allow non-tech users to install some python scripts... you know,
> "Click Next"... "Click Next"... "Click Finish"... "You're Done!" and
> everything just magically works ;)

Innosetup (http://www.jrsoftware.org/isinfo.php) is quite good, and it's 
free (free as in beer, not free as in speech).

-- 
If I have been able to see further, it was only because I stood
on the shoulders of giants.  -- Isaac Newton

Roel Schroeven
-- 
http://mail.python.org/mailman/listinfo/python-list


RE: pretty windows installer for py scripts

2005-09-08 Thread Coates, Steve (ACHE)



> Any recommendations on a windows packager/installer that's
> free? I need it to allow non-tech users to install some
> python scripts... you know, "Click Next"... "Click Next"...
> "Click Finish"... "You're Done!" and everything just
> magically works ;)
>
>
Last time I had to do this, I used NSIS from Nullsoft. Try
http://nsis.sf.net

HTH
Steve

**
The information contained in, or attached to, this e-mail, may contain 
confidential information and is intended solely for the use of the individual 
or entity to whom they are addressed and may be subject to legal privilege.  If 
you have received this e-mail in error you should notify the sender immediately 
by reply e-mail, delete the message from your system and notify your system 
manager.  Please do not copy it for any purpose, or disclose its contents to 
any other person.  The views or opinions presented in this e-mail are solely 
those of the author and do not necessarily represent those of the company.  The 
recipient should check this e-mail and any attachments for the presence of 
viruses.  The company accepts no liability for any damage caused, directly or 
indirectly, by any virus transmitted in this email.
**
-- 
http://mail.python.org/mailman/listinfo/python-list


pretty windows installer for py scripts

2005-09-08 Thread rbt
Any recommendations on a windows packager/installer that's free? I need
it to allow non-tech users to install some python scripts... you know,
"Click Next"... "Click Next"... "Click Finish"... "You're Done!" and
everything just magically works ;)
-- 
http://mail.python.org/mailman/listinfo/python-list