There would be no perl script to install but just the running Perl environment...

The executable created by tools like Win32::Packer and PAR:Packer don't install anything.

BUT, the script you package with a tool like those CAN install what you need.

First, write a script - let's call it "setup_InkPerl.pl" - that copies your framework and customized Perl distribution to the places they need to be.

Then, run Win32::Packer or PAR:Packer (or other) to create "setup_InkPerl.exe"

When the end user runs setup_InkPerl.exe, setup_InkPerl.pl, your framework and your Perl mini-distribution will be extracted, then setup_InkPerl.pl will be run.

In setup_InkPerl.pl, you need to copy your framework to wherever it needs to be for Inkscape to run extension made for your framework. And you need to copy your Perl distribution to somewhere Inkscape can find it.

There are some scripts in the portable Strawberry Perl distribution that might be helpful, including one that can add entries to the registry.

I hope this helps


In reply to Re^3: Runtime only Perl for Win32 by RonW
in thread Runtime only Perl for Win32 by fdesar

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.