lua-users home
lua-l archive

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


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.