This repository was archived by the owner on May 1, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -39,9 +39,10 @@ DefaultGroupName=Elixir
39
39
OutputBaseFilename = elixir-v{#ElixirVersion}-setup
40
40
AllowNoIcons = yes
41
41
42
- ; Web installer: the user sees the welcome page as part of the web installer
43
42
#ifdef SkipWelcome
44
43
DisableWelcomePage = yes
44
+ #else
45
+ DisableWelcomePage = no
45
46
#endif
46
47
47
48
; Web installer: no need to compress, since the installer is built directly on the machine
Original file line number Diff line number Diff line change @@ -72,15 +72,20 @@ Filename: "{tmp}\{code:GetScriptString|ErlangExe64}"; Flags: hidewizard; StatusM
72
72
; Extract the downloaded Precompiled.zip archive
73
73
Filename : " {tmp} \7za.exe" ; Parameters : " x -oelixir Precompiled.zip" ; WorkingDir : " {tmp} " ; StatusMsg : " Extracting Precompiled.zip archive..."
74
74
; Compile the offline installer
75
- Filename : " {tmp} \ISCC.exe" ; Parameters : " /dSkipWelcome /dNoCompression Elixir.iss" ; WorkingDir : " {tmp} " ; StatusMsg : " Compiling Elixir installer..."
75
+ Filename : " {tmp} \ISCC.exe" ; Parameters : " /dSkipWelcome /dNoCompression Elixir.iss" ; WorkingDir : " {tmp} " ; StatusMsg : " Compiling Elixir installer..." ; Tasks: not gen_offline
76
+ ; Use standard options for deferred install
77
+ Filename : " {tmp} \ISCC.exe" ; Parameters : " Elixir.iss" ; WorkingDir : " {tmp} " ; StatusMsg : " Compiling Elixir installer..." ; Tasks: gen_offline
76
78
; Run the offline installer
77
- Filename : " {tmp} \Output\elixir-v{code:GetScriptString|ElixirVersion}-setup.exe" ; Flags : nowait postinstall ; StatusMsg : " Starting Elixir installer..."
79
+ Filename : " {tmp} \Output\elixir-v{code:GetScriptString|ElixirVersion}-setup.exe" ; Flags : nowait postinstall ; StatusMsg : " Starting Elixir installer..." ; Tasks: not gen_offline
80
+ ; Or copy offline installer to same folder as web installer
81
+ Filename : " Robocopy.exe" ; Parameters : " {tmp} \Output {src} elixir-v{code:GetScriptString|ElixirVersion}-setup.exe /IS" ; Tasks: gen_offline
78
82
79
83
[Tasks]
80
84
Name : " unins_previous" ; Description : " Uninstall previous version at {code:GetScriptString|ElixirPreviousPath} (Recommended)" ; Check : CheckPreviousVersionExists
81
85
Name : " erlang" ; Description : " Install Erlang" ; Check : CheckToInstallErlang
82
86
Name : " erlang\32" ; Description : " {code:GetScriptString|ErlangName32}" ; Flags : exclusive
83
87
Name : " erlang\64" ; Description : " {code:GetScriptString|ErlangName64}" ; Flags : exclusive ; Check : IsWin64
88
+ Name : " gen_offline" ; Description : " Defer installation (advanced)" ; Flags : unchecked
84
89
85
90
[Code]
86
91
#include " src\U til.iss"
You can’t perform that action at this time.
0 commit comments