This tool is meant to be used from the command prompt cmd.exe or in CI servers by people that need to test Lua libraries on Windows. Thus, this tool frees the developer from the hassle to create scripts to perform Lua installation.
- Get Informations
- Display the help message
- Display the version of the installer
- Display the website of the installer
- List Lua versions installable by these tools
- List MSVC versions installed in the system for x86 compilation
- List MSVC versions installed in the system for x64 compilation
- List MSVC versions installed in the system for arm64 compilation
- List Windows SDK versions installed in the system for x86 compilation
- List Windows SDK versions installed in the system for x64 compilation
- List Windows SDK versions installed in the system for arm64 compilation
- Installation
LuaInstaller.Console.exe [ /? | help | -h | --help ]
Displays this help message
LuaInstaller.Console.exe [ -v | --version ]
Displays the version of the installer
LuaInstaller.Console.exe help-website
Displays the website of the installer
LuaInstaller.Console.exe list-lua
Lists all Lua versions that this tool
is able to build
LuaInstaller.Console.exe list-vs
Lists all MSVC compilers found
matching the architecture
(x86, x64 or ARM64) of the
Operating System
LuaInstaller.Console.exe list-vs-x86
Lists all MSVC x86 toolset
compilers found
LuaInstaller.Console.exe list-vs-x64
Lists all MSVC x64 toolset
compilers found
LuaInstaller.Console.exe list-vs-arm64
Lists all MSVC ARM64 toolset
compilers found
LuaInstaller.Console.exe list-win-sdk
Lists all Windows SDK found
matching the architecture
(x86, x64 or ARM64) of the
Operating System
LuaInstaller.Console.exe list-win-sdk-x86
Lists all Windows SDK x86 found
LuaInstaller.Console.exe list-win-sdk-x64
Lists all Windows SDK x64 found
LuaInstaller.Console.exe list-win-sdk-arm64
Lists all Windows SDK ARM64 foundLuaInstaller.Console.exe helpLuaInstaller.Console.exe --versionLuaInstaller.Console.exe help-websiteLuaInstaller.Console.exe list-luaLuaInstaller.Console.exe list-vs-x86LuaInstaller.Console.exe list-vs-x64LuaInstaller.Console.exe list-vs-arm64LuaInstaller.Console.exe list-win-sdk-x86LuaInstaller.Console.exe list-win-sdk-x64LuaInstaller.Console.exe list-win-sdk-arm64LuaInstaller.Console.exe install { OPTION=VALUE }
dest-dir=C:\test
Destination directory to install
e.g.: installs Lua on C:\test
Defaults to the current directory.
version=5.1.5
Lua version to install
e.g.: installs Lua 5.1.5
arch=[ x86 | X86 | x64 | X64 | arm64 | ARM64 ]
Generates machine code for the
specified platform
Defaults to the architecture
(x86, x64 or ARM64) of the
Operating System.
vs=14.0
Uses a specific version of the
Microsoft Visual Studio toolset
to build Lua
e.g.: Uses VS 14.0 (VS 2015)
win-sdk=10.0
Uses a specific version of the
Windows SDK
e.g.: Uses Win SDK for Windows 10
env-var=[ process | user | machine ]
Sets environment variables
for the specified target.
Remark: if this switch is not
specified, environment variables
are not set at all.LuaInstaller.Console.exe installDescription: Installs the latest version of Lua, using the latest version of MSVC and Windows SDK, and building the source code matching the architecture (x86, x64 or ARM64) of the Operating System.
LuaInstaller.Console.exe install "dest-dir=C:\Lua-5.2.4" "version=5.2.4"Description: Installs Lua 5.2.4, using the latest version of MSVC and Windows SDK, and building the source code matching the architecture (x86, x64 or ARM64) of the Operating System.
LuaInstaller.Console.exe install "dest-dir=C:\Program Files (x86)\Lua" "version=5.1.5" "env-var=machine"Description: Installs Lua 5.1.5 in the C:\Program Files (x86)\Lua folder and also sets environment variables
machine-wide.