The toolset available here aids the process to download, build and install Lua versions on Windows, downloading Lua source code directly from https://www.lua.org.
- Install the most recent MSVC (Microsoft Visual Studio for C/C++) Build Tools for x86/x64 native desktop development together with the most recent Windows SDK for your operating system:
- Step 1: On the latest Visual Studio installer, switch to individual components tab;
- Step 2: Search for "Windows SDK"; Step 3: Select the most recent;
- Step 4: Search for "MSVC Build Tools"; Step 5: Select the latest x86/x64 build tools; Step 6: Verify the "Individual Components" selection shows the latest Build Tools and Windows SDK; Step 7: Hit "Install" button and await the installation.
- Download and extract the latest
LuaInstaller.EndUsers-*.zip
from the Releases page anywhere on your computer;
- Run the app
LuaInstaller.exe
Important
If you want to install Lua on system-wide directories like C:\Program Files\Lua
or C:\Program Files(x86)\Lua
, close the program and open LuaInstaller.exe
again as administrator (Run as Administrator);
- If everything was configured correctly, you should see each drop down with at least one choice available;
- Hit
Install
; - Verify that you can find
lua.exe
atFOLDER > bin
, where FOLDER means the destination directory for Lua installation.
In the current stage, there are three projects:
-
LuaInstaller.Core
Includes the main functionality to install Lua completely on your computer and the other projects are built around this core project as an interface to the enduser. You can even embedded it on your own .NET projects to have a Lua installer feature available.
-
LuaInstaller.Console
This is a command line program meant to be used by CI servers like AppVeyor, GitHub Actions and others. It can also benefit those people who like to work from the command line.
-
LuaInstaller
An application aimed to endusers, delivering a Windows Presentation Foundation (WPF) Graphical User Interface (GUI) offering the core functionality to seamlessly download, build and install Lua on the target Windows machine.
We want to ease the process to have latest versions of Lua and LuaRocks installed in the system, so LuaRocks support is on top of our todo list.
The following features might come in next releases
- Logging
- LuaRocks installation
- Full rewrite of the project
Special thanks goes to warlockx for bug hunting and valuable suggestions that are going to be incorporated soon.