Skip to content

Latest commit

 

History

History
200 lines (145 loc) · 6.15 KB

File metadata and controls

200 lines (145 loc) · 6.15 KB

LuaInstaller.Console

Overview

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.

Table of Contents

Get Informations

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 found

Display the help message

LuaInstaller.Console.exe help

Display the version of the installer

LuaInstaller.Console.exe --version

Display the website of the installer

LuaInstaller.Console.exe help-website

List Lua versions installable by these tools

LuaInstaller.Console.exe list-lua

List MSVC versions installed in the system for x86 compilation

LuaInstaller.Console.exe list-vs-x86

List MSVC versions installed in the system for x64 compilation

LuaInstaller.Console.exe list-vs-x64

List MSVC versions installed in the system for arm64 compilation

LuaInstaller.Console.exe list-vs-arm64

List Windows SDK versions installed in the system for x86 compilation

LuaInstaller.Console.exe list-win-sdk-x86

List Windows SDK versions installed in the system for x64 compilation

LuaInstaller.Console.exe list-win-sdk-x64

List Windows SDK versions installed in the system for arm64 compilation

LuaInstaller.Console.exe list-win-sdk-arm64

Installation

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

Install the latest Lua using the most recent tools

LuaInstaller.Console.exe install

Description: 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.

Install a specific Lua version on a directory employing the most recent tools

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.

Machine-wide installation (Run As Admin - required)

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.

Back to the Docs