item: Set Variable
  Variable=MAINDIR
  Value=%MAINDIR%
  Flags=00010100
end
item: Include Script
  Pathname=c:\Program Files\WISE\INCLUDE\uninstal.wse
end
item: Check Configuration
  Flags=10111011
end
item: Get Registry Key Value
  Variable=GROUPDIR
  Key=Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
  Default=%WIN%\Start Menu\Programs
  Value Name=Programs
  Flags=00000010
end
item: Set Variable
  Variable=GROUP
  Value=%GROUPDIR%\%GROUP%
end
item: Create Shortcut
  Source=%MAINDIR%\Docs\htmlhelp\Wx.chm
  Destination=%GROUP%\wxWindows Manual.lnk
  Working Directory=%MAINDIR%
end
item: Create Shortcut
  Source=%MAINDIR%\Docs\Readme.txt
  Destination=%GROUP%\ReadMe.lnk
  Working Directory=%MAINDIR%
end
item: Create Shortcut
  Source=%MAINDIR%\docs\htmlhelp\dialoged.chm
  Destination=%GROUP%\Dialog Editor Help.lnk
  Working Directory=%MAINDIR%
end
item: Create Shortcut
  Source=%MAINDIR%\contrib\docs\htmlhelp\ogl.chm
  Destination=%GROUP%\Object Graphics Library Help.lnk
  Working Directory=%MAINDIR%
end
item: Create Shortcut
  Source=%MAINDIR%\docs\htmlhelp\tex2rtf.chm
  Destination=%GROUP%\Tex2RTF Help.lnk
  Working Directory=%MAINDIR%
end
item: Create Shortcut
  Source=%MAINDIR%\docs\html\index.htm
  Destination=%GROUP%\HTML Docs Index.lnk
  Working Directory=%MAINDIR%
end
item: Create Shortcut
  Source=%MAINDIR%\docs\msw\install.txt
  Destination=%GROUP%\Compiling wxWindows.lnk
  Working Directory=%MAINDIR%
end
item: Create Shortcut
  Source=%MAINDIR%\docs\changes.txt
  Destination=%GROUP%\Change Log.lnk
  Working Directory=%MAINDIR%
end
item: Create Shortcut
  Source=%MAINDIR%\bin\dialoged.exe
  Destination=%GROUP%\Dialog Editor.lnk
  Working Directory=%MAINDIR%\bin
end
item: Create Shortcut
  Source=%MAINDIR%\bin\tex2rtf.exe
  Destination=%GROUP%\Tex2RTF.lnk
  Working Directory=%MAINDIR%\bin
end
item: Create Shortcut
  Source=%MAINDIR%\bin\dbgview.exe
  Destination=%GROUP%\DebugView.lnk
  Working Directory=%MAINDIR%\bin
end
item: Create Shortcut
  Source=%MAINDIR%\bin\life.exe
  Destination=%GROUP%\Life! Demo.lnk
  Working Directory=%MAINDIR%\bin
end
item: Else Statement
end
item: Add ProgMan Icon
  Group=%GROUP%
  Icon Name=Change Log
  Command Line=%MAINDIR%\docs\changes.txt
  Default Directory=%MAINDIR%
end
item: Add ProgMan Icon
  Group=%GROUP%
  Icon Name=wxWindows Manual
  Command Line=%MAINDIR%\Docs\htmlhelp\wx.chm
  Default Directory=%MAINDIR%
end
item: Add ProgMan Icon
  Group=%GROUP%
  Icon Name=Compiling wxWindows
  Command Line=%MAINDIR%\docs\msw\install.txt
  Default Directory=%MAINDIR%
end
item: Add ProgMan Icon
  Group=%GROUP%
  Icon Name=ReadMe
  Command Line=%MAINDIR%\Docs\Readme.txt
  Default Directory=%MAINDIR%
end
item: Add ProgMan Icon
  Group=%GROUP%
  Icon Name=HTML Docs Index
  Command Line=%MAINDIR%\docs\html\index.htm
  Default Directory=%MAINDIR%
end
item: Add ProgMan Icon
  Group=%GROUP%
  Icon Name=Dialog Editor Help
  Command Line=%MAINDIR%\docs\htmlhelp\dialoged.chm
  Default Directory=%MAINDIR%
end
item: Add ProgMan Icon
  Group=%GROUP%
  Icon Name=Object Graphics Library Help
  Command Line=%MAINDIR%\contrib\docs\htmlhelp\ogl.chm
  Default Directory=%MAINDIR%
end
item: Add ProgMan Icon
  Group=%GROUP%
  Icon Name=Tex2RTF Help
  Command Line=%MAINDIR%\docs\htmlhelp\tex2rtf.chm
  Default Directory=%MAINDIR%
end
item: Add ProgMan Icon
  Group=%GROUP%
  Icon Name=Dialog Editor
  Command Line=%MAINDIR%\bin\dialoged.exe
  Default Directory=%MAINDIR%\bin
end
item: Add ProgMan Icon
  Group=%GROUP%
  Icon Name=Tex2RTF
  Command Line=%MAINDIR%\bin\tex2rtf.exe
  Default Directory=%MAINDIR%\bin
end
item: Add ProgMan Icon
  Group=%GROUP%
  Icon Name=DebugView
  Command Line=%MAINDIR%\bin\dbgview.exe
  Default Directory=%MAINDIR%\bin
end
item: Add ProgMan Icon
  Group=%GROUP%
  Icon Name=Life! Demo
  Command Line=%MAINDIR%\bin\life.exe
  Default Directory=%MAINDIR%\bin
end
item: End Block
end
item: Self-Register OCXs/DLLs
  Description=Updating System Configuration, Please Wait...
end
item: Execute Program
  Pathname=explorer.exe
  Command Line=%GROUP%
end
item: Add to AUTOEXEC.BAT
  New Text=SET WXWIN=%MAINDIR%
  Search Text=SET WXWIN
  Line Number=0
  Flags=00010110
end
item: Wizard Block
  Direction Variable=DIRECTION
  Display Variable=DISPLAY
  Bitmap Pathname=c:\Program Files\WISE\DIALOGS\TEMPLATE\WIZARD.BMP
  X Position=9
  Y Position=10
  Filler Color=8421440
  Flags=00000011
end
item: Custom Dialog Set
  Name=Finished
  Display Variable=DISPLAY
  item: Dialog
    Title=%APPTITLE% Installation
    Title French=Installation de %APPTITLE%
    Title German=Installation von %APPTITLE%
    Title Spanish=Instalación de %APPTITLE%
    Title Italian=Installazione di %APPTITLE%
    Width=271
    Height=224
    Font Name=Helv
    Font Size=8
    item: Push Button
      Rectangle=150 187 195 202
      Variable=DIRECTION
      Value=N
      Create Flags=01010000000000010000000000000001
      Text=&Finish
      Text French=&Fin
      Text German=&Weiter
      Text Spanish=&Terminar
      Text Italian=&Fine
    end
    item: Push Button
      Rectangle=105 187 150 202
      Variable=DISABLED
      Value=!
      Create Flags=01010000000000010000000000000000
      Text=< &Back
      Text French=< &Retour
      Text German=< &Zurück
      Text Spanish=< &Atrás
      Text Italian=< &Indietro
    end
    item: Push Button
      Rectangle=211 187 256 202
      Variable=DISABLED
      Value=!
      Action=3
      Create Flags=01010000000000010000000000000000
      Text=&Cancel
      Text French=&Annuler
      Text German=&Abbrechen
      Text Spanish=&Cancelar
      Text Italian=&Annulla
    end
    item: Static
      Rectangle=8 180 256 181
      Action=3
      Create Flags=01010000000000000000000000000111
    end
    item: Static
      Rectangle=86 8 258 42
      Create Flags=01010000000000000000000000000000
      Flags=0000000000000001
      Name=Times New Roman
      Font Style=-24 0 0 0 700 255 0 0 0 3 2 1 18
      Text=Installation Completed!
      Text French=Installation terminée !
      Text German=Die Installation ist abgeschlossen!
      Text Spanish=ˇInstalación terminada!
      Text Italian=Installazione completata!
    end
    item: Static
      Rectangle=86 42 256 124
      Create Flags=01010000000000000000000000000000
      Text=The %APPTITLE% source files have been successfully installed, with some convenient shortcuts in the "wxWindows 2" program group.
      Text=
      Text=You will need to compile the library and any demo files you wish to run: please see docs\msw\install.txt for details.
      Text=
      Text=Press the Finish button to exit this installation.
      Text French=%APPTITLE% est maintenant installé.
      Text French=
      Text French=Cliquez sur le bouton Fin pour quitter l'installation.
      Text German=%APPTITLE% wurde erfolgreich installiert.
      Text German=
      Text German=Klicken Sie auf "Weiter", um die Installation zu beenden.
      Text Spanish=%APPTITLE% se ha instalado con éxito.
      Text Spanish=
      Text Spanish=Presione el botón Terminar para salir de esta instalación.
      Text Italian=L'installazione %APPTITLE% č stata portata a termine con successo.
      Text Italian=
      Text Italian=Premere il pulsante Fine per uscire dall'installazione.
    end
  end
end
item: End Block
end
