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
3939OutputBaseFilename = elixir-v{#ElixirVersion}-setup
4040AllowNoIcons = yes
4141
42- ; Web installer: the user sees the welcome page as part of the web installer
4342#ifdef SkipWelcome
4443DisableWelcomePage = yes
44+ #else
45+ DisableWelcomePage = no
4546#endif
4647
4748; 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
7272; Extract the downloaded Precompiled.zip archive
7373Filename : " {tmp} \7za.exe" ; Parameters : " x -oelixir Precompiled.zip" ; WorkingDir : " {tmp} " ; StatusMsg : " Extracting Precompiled.zip archive..."
7474; 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
7678; 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
7882
7983[Tasks]
8084Name : " unins_previous" ; Description : " Uninstall previous version at {code:GetScriptString|ElixirPreviousPath} (Recommended)" ; Check : CheckPreviousVersionExists
8185Name : " erlang" ; Description : " Install Erlang" ; Check : CheckToInstallErlang
8286Name : " erlang\32" ; Description : " {code:GetScriptString|ErlangName32}" ; Flags : exclusive
8387Name : " erlang\64" ; Description : " {code:GetScriptString|ErlangName64}" ; Flags : exclusive ; Check : IsWin64
88+ Name : " gen_offline" ; Description : " Defer installation (advanced)" ; Flags : unchecked
8489
8590[Code]
8691#include " src\U til.iss"
You can’t perform that action at this time.
0 commit comments