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

Commit eca6df4

Browse files
committed
Update README.md
1 parent d3b6d0f commit eca6df4

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,29 @@ Part of the Elixir on Windows Google Summer of Code 2014 project, this installer
66

77
## Features
88

9-
* Installs the latest Elixir version, or another version the user selects
9+
* Downloads and installs the latest Elixir version, or another version the user selects
1010
* Offers to installer Erlang and add the Erlang directory to the system's Path variable
11-
* Downloads and extracts the selected Elixir package to your favorite directory (or mine)
1211
* Adds Elixir to the system's Path variable
1312
* Creates shortcuts to IEx and the uninstaller
1413

14+
## Structure
15+
16+
The **offline installer** ([Elixir.iss](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.
17+
18+
The **web installer** ([ElixirWeb.iss](ElixirWeb.iss)) is what's currently distributed (see [Releases](https://github.com/chyndman/elixir-windows-setup/releases)). The **web installer** itself does not install Elixir. It packages the files necessary to download an Elixir release of the users choosing, build an **offline installer** against this release, and run the resulting **ofline installer** that performs the actual Elixir installation. It also handles installing Erlang and adding it to the system's Path variable.
19+
1520
## Build Instructions
1621

1722
First, download the Unicode version of Inno Setup (`isetup-X.Y.Z-unicode.exe` from [jrsoftware.org](http://www.jrsoftware.org/isdl.php#stable)) 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.
1823

19-
To build the web installer (which offers to install any release of Elixir as well as install Erlang), follow these steps:
24+
To build the **web installer**, follow these steps:
2025

2126
1. Download and install the [Inno Download Plugin](https://code.google.com/p/inno-download-plugin/).
22-
2. Download the [7-Zip Command Line Version](http://www.7-zip.org/download.html) and extract it to `7za920` in your Documents folder (i.e. `C:\Users\YourUserName\Documents\7za920`).
27+
2. Download the [7-Zip Command Line Version](http://www.7-zip.org/download.html) and extract it to `7za920` in your Documents folder (i.e. `C:\Users\YourUserName\Documents\7za920`). You can redefine the `PATH_TO_7ZA` macro if you have this extracted elsewhere.
2328
3. Open `elixir-windows-setup\ElixirWeb.iss` in the Inno Setup Compiler.
2429
4. Click "Compile" to build an installer in `elixir-windows-setup/Output`.
2530

26-
To build the offline installer (which installs a specific release of Elixir and nothing else), follow these steps:
31+
To build the **offline installer** follow these steps:
2732

2833
1. Extract Precompiled.zip of the desired [Elixir Release](https://github.com/elixir-lang/elixir/releases/) into `elixir-windows-setup\elixir`
2934
2. Open `elixir-windows-setup\Elixir.iss` in the Inno Setup Compiler.

0 commit comments

Comments
 (0)