CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Advanced:
tough one...cgi install package??

 



yapp
User

Nov 11, 2001, 11:16 PM

Post #1 of 6 (1806 views)
tough one...cgi install package?? Can't Post

Well, this is a tough one...

I don't know if it's such a good idea, but i'll give it a try...

Anyone who programmed a large CGI script, knows how many files needs to be uploaded, chmod-ed, and put in the right directory...

Is It a good idea to make an installer-program, using a compressed package?

Is that a good idea, is that possible..

I don't think I would start on making it, but the idea spooks in my mind sometimes.

Yet an Other Perl Programmer

_________________________________
Find out more about programming
http://www.cool-programming.f2s.com


PerlKid
stranger

Nov 12, 2001, 2:45 PM

Post #2 of 6 (1803 views)
Re: tough one...cgi install package?? [In reply to] Can't Post

It's certainly possible to do. Gossamer Threads is now doing this for their newer software. You run their install program from command line, it asks you set up questions, then extracts files, creates directories, and chmod's everything for you. It might be worth sending Alex Krohn an email and maybe he'll give you some pointers.

--Drew
http://www.camelsoup.com

Code
s;[\d\$&(\^)];;g+s;\.; ;g+s;(.)(..);$2$1;g+print,if$_='&61k4I.)l6il.edn7(K2e^ny$';



thodi
stranger

Nov 12, 2001, 11:32 PM

Post #3 of 6 (1800 views)
Re: tough one...cgi install package?? [In reply to] Can't Post

Hmm, are you talking about something like shar(1)?

Code
      The shar command bundles the named files and directories into a single 
distribution package suitable for mailing or moving. The files can
contain any data, including executables. The resulting package,
written to standard output, is a shell script file that can be edited
(to add messages at the beginning, etc.).

I wrote something like that in my early Perl days. It lacks compression, but that part should not be too hard to implement. http://www.thojens.de/sw/sh_ar.pl.txt



yapp
User

Nov 13, 2001, 2:25 AM

Post #4 of 6 (1796 views)
Re: tough one...cgi install package?? [In reply to] Can't Post


In Reply To
Hmm, are you talking about something like shar(1)?

I want to make a simple CGI program, named install.cgi.
In the same directory there should be a compressed data file. The cgi prgoram extracts the data, installs and chmods evrything. Later, It should ask the user (webmaster/installer) about some variables set in the CGI program.

This would be a lot easier to other people using a complex cgi program.

I ll certainly look at your link, Ihaven't dont that.

Yet an Other Perl Programmer

_________________________________
Find out more about programming
http://www.cool-programming.f2s.com


yapp
User

Nov 13, 2001, 2:26 AM

Post #5 of 6 (1796 views)
Re: tough one...cgi install package?? [In reply to] Can't Post


In Reply To
Gossamer Threads ... It might be worth sending Alex Krohn an email and maybe he'll give you some pointers.

Do you have that link/email address??

Yet an Other Perl Programmer

_________________________________
Find out more about programming
http://www.cool-programming.f2s.com


PerlKid
stranger

Nov 13, 2001, 2:39 PM

Post #6 of 6 (1790 views)
Re: tough one...cgi install package?? [In reply to] Can't Post

Thought everyone has heard of Gossamer Threads by now :-) Their web site is at http://www.gossamer-threads.com and Alex's email is alex@gossamer-threads.com.

--Drew
http://www.camelsoup.com

Code
s;[\d\$&(\^)];;g+s;\.; ;g+s;(.)(..);$2$1;g+print,if$_='&61k4I.)l6il.edn7(K2e^ny$';


 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives