Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

perl,win, installing on portable usb flash drive

Posted on 2005-03-14
3
Medium Priority
?
649 Views
Last Modified: 2010-05-19
perl on windows (2k xp)

Installing active perl on portable usb flash drive.
Assume all I need to do is update the path
to "DRIVE:\perl\bin" on any new box I visit.

Notice that registry has a bunch of entries.
Do I have to mess with that?  Damn registry!

Thanks
0
Comment
Question by:hank1
  • 2
3 Comments
 
LVL 19

Accepted Solution

by:
Kim Ryan earned 200 total points
ID: 13540189
there are afew setting, on my box you can see them with regedit at
HKEY_LOCAL_MACHINE\SOFTWARE\ActiveStatePerl
You may be able to get by without setting these and just updatring the PATH variable. Give it a go and see what happens.

If you use the installer package it will do all the registry and path setting for you anyhow. Is the problem when you want to move the USB to another computer?

Workarounds could be to compile your perl app to an execuatble wiht ActiveStates PerlApp.
A bit way out, but perhaps you could install Linux and Perl onto your USB and use it as a boot device. (From my reading, you can't install windows onto a USB)
0
 
LVL 1

Author Comment

by:hank1
ID: 13544407
Seems to work just fine.  I just would like to know
if this is an illusion :-).  Sure enough it will fail
when I'm on the road.

Aside.  You can install Linux on a usb flash drive?  Does it reconfigure
itself for new hardware then at each boot?  Most boxes
aren't that different these days but the video, drive, nic and
sound can be unique and require 'special' stuff.  Interesting.

(would it even use the hard drive?)

Thanks
0
 
LVL 19

Expert Comment

by:Kim Ryan
ID: 13549920
Great. From what I could gather the registry settings will only affect things like using windows services, uninstalling. If you just run stand-alone programs I think you should be OK. You could raise the question with ActiveState technical suppoert perhaps.

Not sure about Linix on USB, you could try the Newsgroups or the relevant EE forum.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Six Sigma Control Plans
Suggested Courses

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question