tachyon has asked for the wisdom of the Perl Monks concerning the following question:
One of the good things about Windows based software is the ease of install. Click to install and it is done.
As I see it one of the things really holding back Open Source is the fact that it is not always easy to install widgets and get them to go vroom. OK so we are programmers so generally it does not seem like ./configure --PREFIX=/hide/it/here;make;make test;make install; etc is all that hard. But what if you are not a programmer? What if there is more to it than this example. What about uninstalling cleanly?
Non programmers, or know a little bit people want one thing - software that does stuff. In order to do that stuff you have to install it. To install the average perl script you will probably have to be familiar with tar +/- gzip *before you can even get to* the README README_FIRST INSTALL INSTALL.configure .....
I have just been packaging up a Webmail script that runs off the back of a pop3 server. It basically provides the full functionality of Outlook within an HTML browser interface - Outlook web access for *nix - not exchange server or M$ in sight. To do this it needs access to the filesystem for folders and database access for the address book, task list and calendar. It uses CGI, DBI, DBD::mysql/PgPP/Oracle, Net::SMTP, Crypt::CBC, Crypt::Blowfish; MIME::Lite; MIME::Base64, Mail::POP3Client and Text::Wrap. Most of these modules are not in the standard distro so may need to be installed. It needs a database setup. It has a range of config questions about SMTP and POP servers and other options that need to be answered.....etc
The config script to set this up runs to about 1000 lines but having run this and answered the requisite 20 questions everything required should be set up and it SHOULD just run....
The thing that struck me is the commonality of the sorts of task that the config script is doing (similar to the last one I wrote, etc):
It seems to me as though these tasks are common ones for many application installs. Is there an existing framework to do this. The goal would be to have and INSTALL file that reads
Short version for the impatient. Actually there is no long version. To install this widget type ./config.pl at the command line, and answer the questions... When you are finished reboot your machine (sorry just kidding ;-). When you are finished answer yes if you want to start your widget righ +t now. If you don't want to start it right now read the file MAKE_WIDGET_GO_N +OW If there are any problem use the ./support.pl widget to email the content of the install.log file automatically to the auth +or. Solutions to common *issues* can be found in the SUPPORT file if you want to help yourself.
Is there anthing out there that is providing this kind of framework? If there is not what other tasks would you like to see in an idiot resistant installer and I might just write one.....
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
Edit by tye: READMORE
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Is there a perl version of MSI
by dingus (Friar) on Dec 20, 2002 at 11:49 UTC | |
by tachyon (Chancellor) on Dec 20, 2002 at 12:34 UTC | |
|
Re: Is there a perl version of MSI
by Mr. Muskrat (Canon) on Dec 20, 2002 at 15:14 UTC | |
|
Re: Is there a perl version of MSI
by diotalevi (Canon) on Dec 20, 2002 at 14:51 UTC | |
by autarch (Hermit) on Jan 09, 2003 at 00:09 UTC |