1515;
1616; "Elixir" and the Elixir logo are copyright (c) 2012 Plataformatec.
1717
18+ ; Determine version of Elixir from elixir\VERSION
1819#ifndef ElixirVersion
1920 #if FileExists(' elixir\VERSION' )
2021 #define VersionFileHandle = FileOpen(' elixir\VERSION' )
@@ -32,18 +33,24 @@ ChangesEnvironment=yes
3233DefaultDirName = {pf} \Elixir
3334DefaultGroupName = Elixir
3435OutputBaseFilename = elixir-v{#ElixirVersion}-setup
35- SetupIconFile = assets\drop.ico
36- UninstallDisplayIcon = {app} \drop.ico
36+
37+ ; Web installer: the user sees the welcome page as part of the web installer
3738#ifdef SkipWelcome
3839DisableWelcomePage = yes
3940#endif
40- WizardImageFile = assets\drop_banner.bmp
41- WizardSmallImageFile = assets\null.bmp
42- WizardImageBackColor = clWhite
41+
42+ ; Web installer: no need to compress, since the installer is built directly on the machine
4343#ifdef NoCompression
4444Compression = none
4545#endif
4646
47+ ; Visual
48+ SetupIconFile = assets\drop.ico
49+ WizardImageBackColor = clWhite
50+ WizardImageFile = assets\drop_banner.bmp
51+ WizardSmallImageFile = assets\null.bmp
52+ UninstallDisplayIcon = {app} \drop.ico
53+
4754[Files]
4855Source : " assets\drop.ico" ; DestDir : " {app} "
4956Source : " assets\drop_gs.ico" ; DestDir : " {app} "
@@ -57,6 +64,7 @@ Name: "{group}\Uninstall Elixir"; Filename: "{uninstallexe}"; IconFilename: "{ap
5764Name : modifypath; Description : " Append {app} \bin to Path environment variable"
5865
5966[Code]
67+ // All of this code is used by modpath.iss to determine which path(s) to add and the corresponding task
6068const
6169 ModPathName = ' modifypath' ;
6270 ModPathType = ' system' ;
0 commit comments