Skip to content

Easy way to download, build and install Lua on Windows

License

Notifications You must be signed in to change notification settings

luau-project/LuaInstaller

Repository files navigation

CI

Overview

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.

Table of Contents

For Endusers

Setup

  1. 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 1: Switch to "Individual Components"
    • Step 2: Search for "Windows SDK"; Step 3: Select the most recent; 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. 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.
  2. Download and extract the latest LuaInstaller.EndUsers-*.zip from the Releases page anywhere on your computer;

Running

  1. 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);

  1. If everything was configured correctly, you should see each drop down with at least one choice available;
  2. Hit Install;
  3. Verify that you can find lua.exe at FOLDER > bin, where FOLDER means the destination directory for Lua installation.

For Developers

In the current stage, there are three projects:

  1. 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.

  2. 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.

  3. 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.

Future Work

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

Contributors

Special thanks goes to warlockx for bug hunting and valuable suggestions that are going to be incorporated soon.

About

Easy way to download, build and install Lua on Windows

Resources

License

Stars

Watchers

Forks

Packages

No packages published