473,395 Members | 1,931 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,395 software developers and data experts.

How to find Python path in Visual C++ install wizard

Hi,

I realize this is not really a Python question but ...

I am trying to setup an .msi for my software (Python code (.pyc) + drivers)
to make installation easier for Windows users.

I am using the installer that comes with V. C++ 7.1.

I would like to find the way to make sure Python is installed and then copy
automatically my files into its hierarchy.
PS: for many reasons, I do not wish to use setup.py.

Best regards,

Philippe


Aug 13 '05 #1
3 1651
Philippe C. Martin wrote:
I am trying to setup an .msi for my software (Python code (.pyc) + drivers)
to make installation easier for Windows users.

I am using the installer that comes with V. C++ 7.1.

I would like to find the way to make sure Python is installed and then copy
automatically my files into its hierarchy.


You should look at (HKEY_LOCAL_MACHINE,HKEY_CURRENT_USER)/Software/Python.
Regards,
Martin
Aug 13 '05 #2
Hello,
there's a pretty solution. if the user hasn't got python or don't want
to install python. You can make your application executable without a
complete installation of python.

for this, look at project like py2exe or freeze. These tools make an
executable of your pyc files and produce some files : python.zip (for
python higher 2.3) and python.dll and other dll for application that
needs some dynamic python's extension.

regards,
Laurent

Aug 13 '05 #3
Thanks you all.
As my software has python "executables" and libraries + c++ libs, the
HKEY_LOCAL.... should be myt way out.

Best regards,

Philippe

Philippe C. Martin wrote:
Hi,

I realize this is not really a Python question but ...

I am trying to setup an .msi for my software (Python code (.pyc) +
drivers) to make installation easier for Windows users.

I am using the installer that comes with V. C++ 7.1.

I would like to find the way to make sure Python is installed and then
copy automatically my files into its hierarchy.
PS: for many reasons, I do not wish to use setup.py.

Best regards,

Philippe


Aug 13 '05 #4

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

Similar topics

2
by: WIWA | last post by:
I'm looking for SNMP support in Python. I have found pySNMP, but I'm not sure whether this works under Windows as well. A few questions: 1) Where do I need to install the pySNMP files? 2) What...
0
by: Irmen de Jong | last post by:
QOTW: "I'll claim without proof that how mixed-type comparisons work with Python classes is also beyond wizard prediction in all cases: the implementation of comparison in Python is crushingly...
9
by: Andy Leszczynski | last post by:
Hi, I run Mandrake 10.0 with python 2.3 installed by default. I want to keep it as it is but need another, very customized Python installation based of 2.3 as well. I would prefer to have it the...
1
by: Digit24 | last post by:
I have got Visual c#.net but can't find the Add-in wizard that it talks about in various articles. All I have under 'Other Projects' is 'Database projects' Should there be a folder for...
4
by: Layne Meier | last post by:
I'm having a bit of a problem trying to install Python on a Solaris 10 system. I didn't have this kind of problem when trying to install it on Solaris 8. Has anyone else experienced this...
34
by: Ben Sizer | last post by:
I've installed several different versions of Python across several different versions of MS Windows, and not a single time was the Python directory or the Scripts subdirectory added to the PATH...
15
by: John Nagle | last post by:
I've been installing Python and its supporting packages on a dedicated server with Fedora Core 6 for about a day now. This is a standard dedicated rackmount server in a colocation facility,...
1
by: luca.ciciriello | last post by:
Hi All. I'm really new in the python world, so, sorry if my question is particulary stupid. I've just installed on my system (Mac OS X 10.4 PPC) the python version 2.5.2 and all works fine. My...
15
by: Kurda Yon | last post by:
Hi, I try to "build" and "install" pysqlite? After I type "python setup.py build" I get a lot of error messages? The first error is "src/ connection.h:33:21: error: sqlite3.h: No such file or...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.