You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 1, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+10-5Lines changed: 10 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,24 +6,29 @@ Part of the Elixir on Windows Google Summer of Code 2014 project, this installer
6
6
7
7
## Features
8
8
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
10
10
* 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)
12
11
* Adds Elixir to the system's Path variable
13
12
* Creates shortcuts to IEx and the uninstaller
14
13
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
+
15
20
## Build Instructions
16
21
17
22
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.
18
23
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:
20
25
21
26
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.
23
28
3. Open `elixir-windows-setup\ElixirWeb.iss` in the Inno Setup Compiler.
24
29
4. Click "Compile" to build an installer in `elixir-windows-setup/Output`.
25
30
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:
27
32
28
33
1. Extract Precompiled.zip of the desired [Elixir Release](https://github.com/elixir-lang/elixir/releases/) into `elixir-windows-setup\elixir`
29
34
2. Open `elixir-windows-setup\Elixir.iss` in the Inno Setup Compiler.
0 commit comments