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

Commit 7626b56

Browse files
committed
Restore [Run] section with non-PowerShell calls
1 parent 1349c09 commit 7626b56

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

ElixirWeb.iss

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
; "Elixir" and the Elixir logo are copyright (c) 2012 Plataformatec.
1717

1818
#define COMPAT_MASK 1
19+
#define PATH_TO_7ZA "C:\Users\Chris\Documents\7za920"
1920
#include <idp.iss>
2021

2122
[Setup]
@@ -34,9 +35,10 @@ Uninstallable=no
3435
NameAndVersion=%1
3536

3637
[Files]
38+
; 7-zip portable extractor
39+
Source: "{#PATH_TO_7ZA}\7za.exe"; DestDir: "{tmp}"; Flags: deleteafterinstall
3740
; Offline installer files
3841
Source: "Elixir.iss"; DestDir: "{tmp}"; Flags: deleteafterinstall
39-
Source: "scripts\*"; DestDir: "{tmp}\scripts"; Flags: deleteafterinstall
4042
Source: "assets\*"; DestDir: "{tmp}\assets"; Flags: deleteafterinstall
4143
; Compiler files
4244
Source: "compiler:Default.isl"; DestDir: "{tmp}"; Flags: deleteafterinstall
@@ -49,8 +51,9 @@ Source: "compiler:Setup.e32"; DestDir: "{tmp}"; Flags: deleteafterinstall
4951
Source: "compiler:SetupLdr.e32"; DestDir: "{tmp}"; Flags: deleteafterinstall
5052

5153
[Run]
52-
Filename: "{tmp}\_offlineinstaller\ISCC.exe"; Parameters: "/dElixirVersion={code:ConstGetSelectedReleaseVersion} /dSkipWelcome /dNoCompression Elixir.iss"; WorkingDir: "{tmp}\_offlineinstaller"; Flags: waituntilterminated runhidden; StatusMsg: "Preparing Elixir installer..."
53-
Filename: "{tmp}\_offlineinstaller\Output\elixir-v{code:ConstGetSelectedReleaseVersion}-setup.exe"; Flags: nowait; StatusMsg: "Running Elixir installer..."
54+
Filename: "{tmp}\7za.exe"; Parameters: "x -oelixir Precompiled.zip"; WorkingDir: "{tmp}"; StatusMsg: "Extracting Precompiled.zip archive..."
55+
Filename: "{tmp}\ISCC.exe"; Parameters: "/dElixirVersion={code:ConstGetSelectedReleaseVersion} /dSkipWelcome /dNoCompression Elixir.iss"; WorkingDir: "{tmp}"; StatusMsg: "Compiling Elixir installer..."
56+
Filename: "{tmp}\Output\elixir-v{code:ConstGetSelectedReleaseVersion}-setup.exe"; Flags: nowait; StatusMsg: "Starting Elixir installer..."
5457

5558
[Code]
5659
type

0 commit comments

Comments
 (0)