473,403 Members | 2,359 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

distutils for non-python windows installers

Hi,

I can find a few questions regarding the use of distutils for making
non-python windows installers, but none of them really helps. Are
there any pointers on how to do this? Can it be done?

A little OT: What about making MSI installation files instead of .exe?
Is it a good idea to consider at all?
--
Brian (remove the sport for mail)
http://www.et.dtu.dk/staff/be
Jul 18 '05 #1
3 1797
Brian Elmegaard wrote:
I can find a few questions regarding the use of distutils for making
non-python windows installers, but none of them really helps. Are
there any pointers on how to do this? Can it be done?
To my knowledge, the answer is no. The resulting installer will look
for an existing Python installation on the target machine, and refuse
to operate if none can be found.

Of course, you have the complete source code of that installer
(including the code to the user interface), so you can adjust
it to your needs.
A little OT: What about making MSI installation files instead of .exe?
Is it a good idea to consider at all?


I would always recommend creating MSI files over some proprietary .exe
installers, as it allows for better customization, unattended
installation, and network installations.

If you want to do that using Python, please have a look at my Python
installer in the Tools/msi directory of Python 2.4b1.

Regards,
Martin
Jul 18 '05 #2
Martin v. Löwis wrote:
Brian Elmegaard wrote:
A little OT: What about making MSI installation files instead of .exe?
Is it a good idea to consider at all?

I would always recommend creating MSI files over some proprietary .exe
installers, as it allows for better customization, unattended
installation, and network installations.

If you want to do that using Python, please have a look at my Python
installer in the Tools/msi directory of Python 2.4b1.


I've meant to look into this but haven't had a chance
Is it possible to use this to create msi installers for python modules?
Is there a distutils plugin to do this?
If so, :-) :-) :-) !

David
Jul 18 '05 #3
David Fraser wrote:
I've meant to look into this but haven't had a chance
Is it possible to use this to create msi installers for python modules?
Certainly. The tricky part would be to find out where the Python
installation is, if this is going to be in the spirit of bdist_wininst.
This might require a custom action.
Is there a distutils plugin to do this?


Not yet, but I hope to write one some day.

Regards,
Martin
Jul 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: PenguinOfDoom | last post by:
For whatever reason, distutils does not change file permissions of stuff in data_files in core.setup and neither does it allow specifying these permissions. The CVS repository I am using assigns...
1
by: Dave Harrison | last post by:
afternoon pythonic gurus, quick question about distutils. Im compiling on solaris 9 and am having problems with the linking (I loathe solaris these days ;-), and if I call gcc by hand and...
2
by: Skip Montanaro | last post by:
I would like to override the distutils install class. It doesn't look like it was designed for that. Do I have to import distutils.command and overwrite its install attribute? I didn't see...
1
by: Jens Thiede | last post by:
Pardon the silly question, but can one use distutils to install somewhere other than site-packages, or is distutils only ment for this kind of a job. I'd like to use it to make the distribution of...
0
by: Andrew Wilkinson | last post by:
Hi, I've have some example scripts that I'd like to install under /usr/share along with my documentation. Currently I'm doing this using... data_files= ....in my setup.py. This doesn't treat...
2
by: Mike Meyer | last post by:
Ok, I give up. I searched the CVS code, and can't find the place that turns an include_dirs option in setup.cfg into a list of directories. The reason I was looking for it is that I can't figure...
3
by: Mike Meyer | last post by:
I've got a package that includes an extension that has a number of header files in the directory with the extension. They are specified as "depends = " in the Extension class. However, Distutils...
2
by: Mardy | last post by:
Hi, the bdist_wininst command of distutils allows me to specify a script to be executed at the end of the installation. That's great, but how can I know the installation path from inside the...
7
by: Eric S. Johansson | last post by:
is there anyway I can, in a setup.py file, set and internal equivalent to the '--install-scripts' commandline option? script installation directory but I don't want on the command line where...
7
by: vedrandekovic | last post by:
Hello again, Is there any patch for python "distutils", for this ImportError: cannot import name log Regards, Vedran
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.