Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Runtime only Perl for Win32

by Lotus1 (Vicar)
on Feb 02, 2019 at 22:54 UTC ( [id://1229301]=note: print w/replies, xml ) Need Help??


in reply to Runtime only Perl for Win32

The portable version of Strawberry Perl doesn't need to be installed and includes all the needed modules. It could be setup next to Python in the Inkscape\lib folder and added to the Inkscape configuration.

Write an install script to do these steps:

  • Download the Portable Strawberry Perl zip file.
  • Unzip it to the Inkscape\lib folder next to Python.
  • Remove the C and CPAN folders and whatever else you don't want
  • Configure the user's Inkscape preferences file to run the Perl Inkscape extensions by passing the Perl scripts to portableshell.bat.

Replies are listed 'Best First'.
Re^2: Runtime only Perl for Win32
by fdesar (Beadle) on Feb 02, 2019 at 23:34 UTC
    Only one minor problem : there is no Inkscape preference file on Win32.

      As I mentioned before the Windows install of Inkscape does have the preference file. Mine is located at C:\Users\xxUsernamexx\AppData\Roaming\inkscape\preferences.xml. I posted a link to the directions for how to find this location. There should be an easy way to find it in a Perl script.

      Update: You can find that location in your script with $ENV{APPDATA} which equals C:\Users\xxUsernamexx\AppData\Roaming.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1229301]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2024-04-26 05:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found