~~~~~~~~~~SCRIPT WITH CHANGES~~~~~~~~~~~

;TOPIC 01-01-01

;------------------------------------------------------------------------------
;PART  1 - GLOBAL DEFAULTS

;Title
Name "01-01-01"

;File Name
OutFile "01-01-01.exe"

;Initial Defaults
Function .onInit
    InitPluginsDir
    File /oname=$PLUGINSDIR\01-01-01a.ini 01-01-01a.ini
    File /oname=$PLUGINSDIR\01-01-01b.ini 01-01-01b.ini
    File /oname=$PLUGINSDIR\01-01-01c.ini 01-01-01c.ini
    File /oname=$PLUGINSDIR\audio.wav audio.wav
    File /oname=$PLUGINSDIR\banner.bmp banner.bmp
FunctionEnd

;------------------------------------------------------------------------------
;PART 2 - LAYOUT ATTRIBUTES

;Icon
Icon "01-01-01.ico"

;Standard Button Texts
MiscButtonText Previous	Continue Exit Continue

;------------------------------------------------------------------------------
;PART 3 - PAGE DEFINITIONS

;Custom Page 01
Page Custom pre01 leave01

;Custom Page 02
page Custom pre02 leave02

;Custom Page 03
page Custom pre03 leave03

;Progress Page
page Instfiles

;------------------------------------------------------------------------------
;PART 4 - INSTALLER ACTIONS

;Callback Function "pre01"

Function pre01
  InstallOptionsEx::Dialog $PLUGINSDIR\01-01-01a.ini
  ebanner::play /NOUNLOAD '$PLUGINSDIR\audio.wav'
  ebanner::show /NOUNLOAD '$PLUGINSDIR\banner.bmp'
FunctionEnd

;Callback Function "leave01"

Function leave01
  ebanner::stop
FUnctionEnd

;Callback Function "pre02"

Function pre02
  InstallOptionsEx::Dialog $PLUGINSDIR\01-01-01b.ini
  ebanner::show /NOUNLOAD '$PLUGINSDIR\banner.bmp' 
FunctionEnd

;Callback Function "leave02"

Function leave02
  ebanner::stop
FUnctionEnd

;Callback Function "pre03"

Function pre03
  InstallOptionsEx::Dialog $PLUGINSDIR\01-01-01c.ini
  ebanner::show /NOUNLOAD '$PLUGINSDIR\banner.bmp'
FunctionEnd

;Callback Function "leave03"

Function leave03
ebanner::stop
ReadINIStr $3 01-01-01c.ini "Settings" "Notify"
  /*${If} $3 == "ONNEXT"
    Exec "02-01-01.exe"
  ${EndIf}*/
  /*${If} $3 == "ONBACK"
    Exec "learnwiz.exe"
  ${EndIf}*/
  /*${If} $3 == "ONEXIT"
    Quit
  ${EndIf}*/
FunctionEnd

Section ""

SectionEnd

;-----------------------------------------------------------------------------