lua-users home
lua-l archive

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


Hello

In order to know specifically what files/directories I need to run the
Xavante launcher wsapi.exe, I tried using the SysInternals Process
Monitor utility to watch what this program does when I run "wsapi
-p9999".

I'm surprised by two things:

1. Process Monitor shows no access to the Registry, although the
environment variables only include the following Lua-related entries:

LUA_DEV=C:\Program Files\Lua\5.1
LUA_PATH=;;C:\Program Files\Lua\5.1\lua\?.luac
Path=[...]C:\Program Files\Lua\5.1;C:\Program Files\Lua\5.1\clibs
PATHEXT=[...];.wlua;.lexe

Does wsapi and its dependencies really only use the LUA_DEV variable
to locate what it needs?

2. Using the following filter...

"Process Name contains wsapi"
"Command line contains wsapi"
"Path contains C:\Program Files\Lua\5.1\rocks\wsapi\1.3.4-1\samples"

... Process Monitor shows that wsapi seems to try creating files,
which are not found, but wsapi still manages to run succesfully and
wait for queries:

==========
CreateFile
C:\Program Files\Lua\5.1\rocks\wsapi\1.3.4-1\samples\lfs.lua
NAME NOT FOUND

CreateFile
C:\Program Files\Lua\5.1\rocks\wsapi\1.3.4-1\samples\lfs.lua
NAME NOT FOUND

CreateFile
C:\Program Files\Lua\5.1\rocks\wsapi\1.3.4-1\samples\rings.lua
NAME NOT FOUND

CreateFile
C:\Program Files\Lua\5.1\rocks\wsapi\1.3.4-1\samples\rings.lua
NAME NOT FOUND

CreateFile
C:\Program Files\Lua\5.1\rocks\wsapi\1.3.4-1\samples\socket\core.lua
PATH NOT FOUND

C:\Program Files\Lua\5.1\rocks\wsapi\1.3.4-1\samples\socket\core.lua
PATH NOT FOUND
==========

So using the above, I still have no idea what files/directories I need
to extract from the LuaForWindows/Rocks thingie to run Xavante.

Does someone know of a good Windows application that can completely
monitor what a program does?

Thank you.