lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Or just have single user versus all users install.  AGRW

On Mon, May 19, 2008 at 10:01 AM, Andrew Wilson <agrwagrw@gmail.com> wrote:
Yes, there is no reason you need to be administrator to use Lua, optional non-administrator install should be possible, and maybe have setup.bat batch file to setup environment variables for use on non-administrator/power user accounts.
Andrew


On Sat, May 17, 2008 at 6:41 PM, David Manura <dm.lua@math2.org> wrote:
RJP Computing writes:
> This is another major release moving towards the first release candidate.

I think a useful property for it to have is for it to be able to install and run
from a non-privileged user account, while avoiding modification of global state
as much as possible (e.g. environment variables, registry, Windows directory,
etc.).  I wouldn't underestimate the convenience of simple deployment and the
ability to deploy multiple isolated instances simultaneously, as often provided
by "configure --prefix" in *nix.  Some Inno Setup notes on this are here:

 http://www.innosetup.com/isfaq.php#ntsecur

For example, as a start, the LUA_PATH/LUA_CPATH could be hardcoded in the binary
via luaconf.h (use '!' to denote the path of lua.exe as noted in the comments),
avoiding creating the environment variables.  Some things (e.g. file
associations) may require an admin privileges, but I've seen other installers
provide such tasks only as an option in case the user can't or doesn't want to
make global changes.