Hello,

I'm thinking about writing an installer for Cascade. I'm looking for prior art of application installers before I re-invent another wheel.

Anyone have a recommendation for modules that are useful to write installers with? I want to query the user with a few questions, including some path names and some yes/no questions. Then various files will be copied into those locations. I'm thinking of writing for the command line environment now, but I may want to write a web-based installer later.

In my brief poking around, I found the Template::Toolkit has the kind of functionality I want, in its Makefile.PL: http://search.cpan.org/src/ABW/Template-Toolkit-2.10/Makefile.PL

It seems like there should be a slicker way, though. I looked to see what Module::Build could do for me, but it seems very focused on installing perl modules and not made to copy around arbitrary collections of files, as I'd like to.

Mark


In reply to toolkits for Perl project installers? by markjugg

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.