Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Strawberry Perl - installing an older versionby kcott (Archbishop) |
on Mar 10, 2020 at 00:40 UTC ( [id://11114054]=perlquestion: print w/replies, xml ) | Need Help?? |
kcott has asked for the wisdom of the Perl Monks concerning the following question: This is for a $work project. I'm testing the viability of packaging a current application with various versions of Perl on Win10. I've already worked with ActivePerl 5.16.3 and Strawberry Perl (SP) 5.30.0 (both successfully installed). I'm now attempting to install SP 5.26.3 — that's where I've run into a problem and is the focus of this question. For the SP installations, I have these directories set up:
SP 5.30.0 is installed in the 5_030_000 path; I was planning to install SP 5.26.3 in the 5_026_003 path. When I try to run the SP 5.26.3 MSI, a panel pops up with this warning:
After clicking "OK" (the only option) a setup wizard panel appears saying it ended prematurely due to an error and that the system has not been modified. The "Finish" button is the only option at this point. The PATH environment variable has these SP 5.30.0 paths at the start:
I can remove these — in fact, I half suspect that will be necessary — but I'd prefer not to uninstall the whole SP 5.30.0. I've already installed modules for that and some of the compilations took a long time. I note there is a "Portable edition"; however, _"perl on USB stick"_ is not really what I'm after. Perhaps that can be tweaked to run under C:\...\5_026_003\... instead of F:\... (F: is typically automatically assigned for USB sticks). I'm aware there are some applications like Perlbrew (Homebrew? Berrybrew? Other?) but have never used any of these and know almost nothing about them. If any of these can exactly mirror a direct C: drive installation (such as I currently have with SP 5.30.0) they may be worth investigating. Although, if these would be required for the final packaging of the application, I suspect they will be unsuitable; but I'd be happy to look at them as (secondary) options. Ultimately, I'm after a way to install the SP 5.26.3 (preferably) without losing the SP 5.30.0. Any help with this would be much appreciated. [As I said, this is for a $work project. For my personal use on Win10, I use Cygwin and Perlbrew. I'm certainly no expert with either Win10 or SP: please bear that in mind in any replies.] — Ken
Back to
Seekers of Perl Wisdom
|
|