Roy Ivy III 4cc5500a2b FIX portable perl to allow normal access to user's home directory
* disable the File::HomeDir override performed by Portable.pm
  - achieved by removing the HomeDir section from "portable.perl" via post_install
  - ref: https://rt.cpan.org/Ticket/Display.html?id=105395 @@ https://archive.is/q7BYq

.# DISCUSSION

Strawberry Portable Perl is written to be usable from a non-privileged
storage location, such as a plug-in USB drive. So, it is designed to be
usable without access to the host filesystem beyond it's own directory.

As part of the machinations making this possible, Portable.pm overrides
File::HomeDir to return resultant paths which are within the perl installation
directory (specifically, "<INSTALL_DIR>/data"). Obviously, this obscures the
user's true home directory and can be very inconvenient for common perl
scripts which depend on access to data within the user's home directory
(i.e., reading ".netrc").

This override/redirection is unnecessary for an installation by the user
into the usual host filesystem (such as is done via `scoop`).  Such an
install has user level privileges and will be able to access any
user-accessible portion of the file system.
2015-06-25 20:02:45 -05:00
2013-07-18 09:36:08 +10:00
2015-04-09 18:25:00 +10:00

Scoop Build status

Scoop is a command-line installer for Windows.

Requirements:

  • PowerShell 3
  • PowerShell must be enabled for your user account e.g. set-executionpolicy unrestricted -s cu

To install:

iex (new-object net.webclient).downloadstring('https://get.scoop.sh')

Once installed, run scoop help for instructions.

What does Scoop do?

Scoop installs programs from the command line with a minimal amount of friction. It tries to eliminate things like:

  • Permission popup windows
  • GUI wizard-style installers
  • Path pollution from installing lots of programs
  • Unexpected side-effects from installing and uninstalling programs
  • The need to find and install dependencies
  • The need to perform extra setup steps to get a working program

Scoop is very scriptable, so you can run repeatable setups to get your environment just the way you like, e.g.:

scoop install sudo
sudo scoop install 7zip git openssh --global
scoop install curl grep sed less tail touch
scoop install python ruby go perl

If you've built software that you'd like others to use, Scoop is an alternative to building an installer (e.g. MSI or InnoSetup)—you just need to zip your program and provide a JSON manifest that describes how to install it.

Documentation

Inspiration

What sort of apps can Scoop install?

The apps that install best with Scoop are commonly called "portable" apps: i.e. compressed program files that run stand-alone when extracted and don't have side-effects like changing the registry or putting files outside the program directory.

Since installers are common, Scoop supports them too (and their uninstallers).

Scoop is also great at handling single-file programs and Powershell scripts. These don't even need to be compressed. See the runat package for an example: it's really just a GitHub gist.

S
Description
A command-line installer for Windows.
Readme Multiple Licenses
29 MiB
Languages
PowerShell 98.2%
C# 1.8%