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

installer question

Target audience is little or no programming experience.

I have a win32 only library I need to write an installer for. As part of the
installation it must:
1.. find where a program is installed
2.. copy a file to the directory
3.. add the directory to the pythonpath and change a ini file.
4.. add a example directory at a user selected path.As well as add this to
pythonpath.
5.. Add the main library to site packages.

There is also a package of examples which need to be independently upgradable
and located in the main directory.

Suggestions?
I'm thinking disutils would make for the easiest method but as far as I can see
you can't run a script on finishing the installation or get the user to select
from a directory. Nor does it seem contain methods to find windows programs
without downloading pythonwin32 as well.

For the examples, NSIS or equivalent looks to be what I need but overly
complicated. Can you combine NSIS and disutils? Or should I just use NSIS
without disutils.

Advice appreciated. The first time I've released software before ;-)

Guy
Dec 9 '05 #1
1 1059
Take a look at Inno Installer. You should be able to
do everything you list. You may also want to consider
using py2exe to package up your python program into
..exe prior to creating installer file. That way you
eliminate the requirement of having python, pythonwin32
installed and you don't have to do anything to pythonpath
or to site packages.

-Larry

Guy Robinson wrote:
Target audience is little or no programming experience.

I have a win32 only library I need to write an installer for. As part of
the installation it must:
1.. find where a program is installed
2.. copy a file to the directory
3.. add the directory to the pythonpath and change a ini file.
4.. add a example directory at a user selected path.As well as add this
to pythonpath.
5.. Add the main library to site packages.

There is also a package of examples which need to be independently
upgradable and located in the main directory.

Suggestions?
I'm thinking disutils would make for the easiest method but as far as I
can see you can't run a script on finishing the installation or get the
user to select from a directory. Nor does it seem contain methods to
find windows programs without downloading pythonwin32 as well.

For the examples, NSIS or equivalent looks to be what I need but overly
complicated. Can you combine NSIS and disutils? Or should I just use
NSIS without disutils.

Advice appreciated. The first time I've released software before ;-)

Guy

Dec 9 '05 #2

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

Similar topics

5
by: krisk | last post by:
Could not find ansewr: in ProjectInstaller, RunInstallerAttribute: ..... this.serviceInstaller1.ServiceName = MyServiceName; in the code: public class MyService :...
7
by: sidd | last post by:
Hi All, i have some doubts on .net windows services.. please see if some one could help me understand this.. 1)is it possible to install a windows service which does not have a installer added...
1
by: HyperX | last post by:
Hey guys, How can I see the code of the installer class? I know that I have to right click on my object class, -> Add Item -> Code -> installer class... The actual question is, I cannot see...
2
by: MENTAT | last post by:
Hi, I am trying to create an installer for my web application. So I added a web setup project to my solution (I am using VS.NET 2003). Been playing around with it since then and it basically...
3
by: Brian Henry | last post by:
This has worked perfectly for the past year now all the sudden it will not compile the installer project correctly. All our source code is in a Source Safe database so every system we do this on...
1
by: Henry Stock | last post by:
I am not really sure what news group this should be posted to. It has to do with a visual studio install project for a c# application. We have noticed that if any of the files installed by the...
1
by: Eric Fleet | last post by:
This may qualify as a stupid question -- or as Chris Berman said, "There are no stupid questions. Only stupid people who ask questions. I finally have my windows installer where I want it. It...
4
by: Shiraz | last post by:
Hi I'm using Visual Studio Installer to make my installer, and have not as yet figured out a straightforward way to use it to set environmental variables. Amongst the various things I tried, I'm...
0
by: stevebarker | last post by:
Hi guys, I've got a quick question about installers in .NET. Any advice would be gratefully received! I'm writing a .NET Windows application that needs an installer. I'd really like the set...
3
by: mistral | last post by:
Not sure is this correct place for my question (i am not a programmer): I have some sofware packed into installer, file version: 2.11.15.0, in file properties shown "SFX CAB archive", name...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.