[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Creating .exe from .net program using LuaInterface
- From: Michael Gerbracht <smartmails@...>
- Date: Wed, 20 Nov 2013 10:08:20 +0100
donovan <email@example.com> wrote:
> On Fri, Nov 1, 2013 at 11:33 AM, Michael Gerbracht <firstname.lastname@example.org>
> > standard lua program into an .exe file so that it runs standalone. But
> > how can you do this if the lua script is called from LuaInterface?
> The actual scripts can be glued together - for Windows exes they can saved
> as a resource, rather than the generic srlua approach. One would write a
> custom loader that would lead to require() ending up loading a script from
> those resources. But some components will have to be DLLs and a reasonably
> intelligent installer can handle that issue.
Thanks for your answer and sorry for my late reply. I am not sure I do want
to go this way as it seems to be quite complicated, but I will keep it in
mind as an option.
My main concern was that other people who would like to use my program would
need to install lua on their system. This can be a problem if they already
have installed another version of lua on their system. But maybe my
understanding of LuaInterface is wrong: I thought that you need LuaInterface
plus lua itself as interpreter. Is this correct or does LuaInterface include
its own lua interpreter? So if I have a .net program + LuaInterface + lua
scripts, do I actually need to install lua on the target system as well?