keplerproject/luarocks — pull request #211 by Tieske (2013-12-26 08:43:38+00:00)
Title: Win defaults, /SELFCONTAINED option

Windows default rocktree location changed to inside 'Program Files' so it is protected by admin rights.

Changes;

- default system tree location is now in `program files` (on 64bit it will be `program files (x86)` if the Lua interpreter used is 32bit, or `program files` if the Lua interpreter used is 64bit)
- `/SELFCONTAINED` installer option to install everything in a single directory (simple install)
- Added exitcodes, so wrapper script can detect when permission was denied
- Wrapper script automatically elevates if permission was denied, so the user can still do a regular command and then will automatically be prompted to provide credentials (much like `sudo` on unix)