slloyd has asked for the wisdom of the Perl Monks concerning the following question:

I currently use nullsoft for my installer and like it but find myself always wishing I could use Perl as the scripting language. Wouldn't it be nice to build a windows installer that uses Perl as it's scripting language? Or am I the only one that dreams such things?

-------------------------------
Need a good Perl friendly Host Provider?
http://www.dreamhost.com

  • Comment on A windows installer that uses Perl as its scripting language

Replies are listed 'Best First'.
Re: A windows installer that uses Perl as its scripting language
by MidLifeXis (Monsignor) on Jan 22, 2008 at 17:58 UTC

    Like this?

    Update:I realized that my original post could have sounded a little bit snarky. That being said, the first result from a google search for "NSIS" and "perl" gives the location of a NSIS plugin for perl. I have not used this personnaly, so I cannot recommend it, but it would be a good place to start.

    --MidLifeXis

      Thanks. Just what I needed. I would have never guessed that someone would have written a NSIS pluggin for Perl. Steve

      -------------------------------
      Need a good Perl friendly Host Provider?
      http://www.dreamhost.com

Re: A windows installer that uses Perl as its scripting language
by GrandFather (Saint) on Jan 22, 2008 at 20:16 UTC

    It ain't at all the same thing, but some time real soon now I intend to contribute a CPAN module that wraps up the Windows installer API. The module facilitates generating .msi files, but at a pretty low level, and at that level it ain't pretty! If you are interested, keep an eye out for Win::MSI::Highlevel arriving some time over the next few weeks.

    Installers for "interesting" applications are very hard to get right. The Windows Installer (.msi) technology tries to make it easier to generate a fully transacted "correct" installer, but it's pretty hard work and free for all scripting is simply not a part of the plan.


    Perl is environmentally friendly - it saves trees
Re: A windows installer that uses Perl as its scripting language
by jettero (Monsignor) on Jan 22, 2008 at 17:40 UTC
    I would definitely like that. I think active state might even have something like it. Perhaps someone should write a cool PARx::WxInstaller or something. I'd click their donate button.

    -Paul