Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Online Elixir Installer powered by Inno Setup

License

Notifications You must be signed in to change notification settings

elixir-lang/elixir-windows-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

elixir-windows-setup

From version v1.15, Elixir now provides pre-compiled and offline installers for Windows per Erlang/OTP version. See the official website for all up to date install instructions.

elixir-websetup

Features

  • Downloads and installs the latest Elixir version, or another version the user selects
  • Offers to install Erlang and add the Erlang directory to the system's Path variable
  • Adds Elixir to the system's Path variable
  • Creates Start Menu shortcuts

Structure

The offline installer (Elixir.iss) packages a specific Elixir release to install, and also can append the system's Path variable appropriately. This kind of installer is currently not distributed in binary form.

The web installer (ElixirWeb.iss) is what's currently distributed (see Releases). The web installer itself does not install Elixir. It packages the files necessary to download, compile, and run the offline installer for the selected Elixir release. It also handles installing Erlang and adding it to the system's Path variable.

Offline Installation

If you need to install Elixir on a system without internet access, follow these steps:

  1. Install Erlang on to the system.
  2. On another system with internet access, run elixir-websetup.exe.
  3. When prompted, check the box for "Defer installation (advanced)" and uncheck all other options.
  4. Proceed with the installation wizard. Once complete, elixir-vX.Y.Z-setup.exe will be placed in the same folder as elixir-websetup.exe.
  5. Use elixir-vX.Y.Z-setup.exe to install Elixir on to the system. (Note: You may wish to uninstall previous versions of Elixir before doing this.)

Build Instructions

First, download the Unicode version of Inno Setup (isetup-X.Y.Z-unicode.exe from jrsoftware.org) and install it, making sure to keep the "Install Inno Setup Preprocessor" checkbox checked when asked. Then, clone this repo (elixir-windows-setup) to your system.

To build the web installer, open elixir-windows-setup\ElixirWeb.iss in the Inno Setup Compiler and click "Compile" to build an installer in elixir-windows-setup\Output.

To build the offline installer follow these steps:

  1. Extract Precompiled.zip of the desired Elixir Release into elixir-windows-setup\elixir
  2. Open elixir-windows-setup\Elixir.iss in the Inno Setup Compiler.
  3. Click "Compile" to build an installer in elixir-windows-setup\Output.

Acknowledgements

Copyright (C) 1997-2013 Jordan Russell. All rights reserved. Portions Copyright (C) 2000-2013 Martijn Laan. All rights reserved.

Copyright (C) 1999-2010 Igor Pavlov

"Elixir" and the Elixir logo are copyright (c) 2012 Plataformatec.