#
# Installation file for WINFBB
#
#
# Allowed commands are :
#
# MKDIR  : create directory
# MKDIR DirName
#
# COPY   : uncompress and copy a file into the specified directory
#          $DST is assumed as the base of the copy. If DirName is
#          ommitted, file will be copied in $DST
# COPY FileName DirName
#
# MCOPY  : Copy-command allowing wildcards, but which CANNOT decompress.
#          Syntax is the same as COPY.
#          MCOPY C:\FBB\*.* C:\FBB_OLD
#
#
# DEL    : Deletes a file
# DEL FileName
#
# DISK   : Prompts for changing disk
# DISK NumberOfDisk
# A file named DISK1.@@@ (1 for 1st disk, and so on) must exist in each
# disk as a label.
#
# EXEC   : executes a program and waits for completion
# EXEC Directory_of_execution program arguments ...
#
# GROUP  : create a group
# GROUP GroupName
#
# ITEM   : add an item to the previously created group
# ITEM FullFileName ItemName
#
# NAME   : Defines the name of the application (may hold spaces)
# NAME NameOfApplication
#
# VALUE  : creates of change a KeyWord=Value in a section of a system file
# VALUE SystemIniFile Section KeyWord=Value
#
# REBOOT : prompts the user to reboot WINDOWS or the whole SYSTEM
# REBOOT WINDOWS
# REBOOT SYSTEM
#
# TARGET : Defines the default target directory
# TARGET DefaultDirectory
#
# if a command is preceeded by a number, it updates the position of the gauge
# from 0 to 100%.
#
# TEST Statements :
# IF [NOT] OK Texte to be displayed in the OK/NO dialog window
#    commands ...  (If answer is [NOT] OK)
# ELSE
#    commands ...
# ENDIF
#
# IF [NOT] EXIST FileName
#    commands ...  (If FileName [NOT] EXISTS)
# ELSE
#    commands ...
# ENDIF
#
# All IF stement must be ended with a ENDIF statement
# ELSE section is not mandatory
#
#IF NOT OK "Continue installation"
#10 ABORT
#100 ENDIF
#
#
# Variables :
# $SRC : Origin directory given in the install window
# $DST : Destination directory given in the install window
# $WIN : Windows directory
#

NAME WinFBB 7.00d
TARGET C:\FBB

#
# ASK for 1st DISK (DISK must hold an empty file named DISK1.@@@)
#

# Optional if only 1 disk
DISK 1

#
# Prepare for installation, show README.1ST and ask if continue.
#

01 MKDIR   $DST
   MKDIR   BIN
  MCOPY README.1ST $DST
   COPY INSTALL.EXE BIN
02 EXEC $DST $WIN\NOTEPAD.EXE README.1ST

   IF NOT OK Go on installing FBB now ?
     DEL README.1ST
     DEL BIN\INSTALL.EXE
     ABORT
#   ELSE
   ENDIF

# 
# DIRECTORIES TO BE CREATED FROM DESTINATION PATH, except $DST and BIN,
# which have already been created.
#

03 MKDIR   DOC
   MKDIR   DOCS
   MKDIR   OLDMAIL
   MKDIR   PG
   MKDIR   STATS
   MKDIR   SYSTEM
   MKDIR   USERS
   MKDIR   USERS\YAPP
   MKDIR   UTIL
   MKDIR   SYSTEM\LANG
   MKDIR   SYSTEM\LOG
   MKDIR   SYSTEM\SAT
   MKDIR   SYSTEM\FWD
   MKDIR   SYSTEM\WP

05 MKDIR   MAIL
   MKDIR   MAIL\MAIL0
   MKDIR   MAIL\MAIL1
   MKDIR   MAIL\MAIL2
   MKDIR   MAIL\MAIL3
   MKDIR   MAIL\MAIL4
   MKDIR   MAIL\MAIL5
   MKDIR   MAIL\MAIL6
   MKDIR   MAIL\MAIL7
   MKDIR   MAIL\MAIL8
   MKDIR   MAIL\MAIL9

06 MKDIR   BINMAIL
   MKDIR   BINMAIL\MAIL0
   MKDIR   BINMAIL\MAIL1
   MKDIR   BINMAIL\MAIL2
   MKDIR   BINMAIL\MAIL3
   MKDIR   BINMAIL\MAIL4
   MKDIR   BINMAIL\MAIL5
   MKDIR   BINMAIL\MAIL6
   MKDIR   BINMAIL\MAIL7
   MKDIR   BINMAIL\MAIL8
   MKDIR   BINMAIL\MAIL9

#
# Backup important files, if already exist...
#


07 IF EXIST $DST\INIT.SRV
     MKDIR C:\FBB_OLD
     MCOPY $DST\*.* C:\FBB_OLD
     MCOPY $DST\BIN\*.* C:\FBB_OLD
     MCOPY $DST\SYSTEM\*.* C:\FBB_OLD
     MCOPY $DST\SYSTEM\LANG\*.* C:\FBB_OLD
     MCOPY $DST\SYSTEM\SAT\*.* C:\FBB_OLD
     MCOPY $DST\DOC\*.* C:\FBB_OLD
     MCOPY $DST\STATS\*.* C:\FBB_OLD
   ENDIF


#
# Directory for example-files from this version, files that may already exist
#
 
   MKDIR   EXAMPLES.700
   COPY README.1ST EXAMPLES.700

#
# FILES TO BE COPIED (FILENAME -> DIRECTORY)
#

#
# BATCH FILES
#

08 COPY DSZ.BAT       BIN

   IF EXIST BIN\RUNFBB.BAT
     IF OK RUNFBB.BAT already exists. Replace it ?
       COPY RUNFBB.BAT      BIN
       CHANGE BIN\RUNFBB.BAT %fbb% $DST 
       DEL BIN\RUNFBB.FBB
     ENDIF
   ELSE
     COPY RUNFBB.BAT    BIN
     CHANGE BIN\RUNFBB.BAT %fbb% $DST 
     DEL BIN\RUNFBB.FBB
   ENDIF
   COPY RUNFBB.BAT    EXAMPLES.700
   CHANGE EXAMPLES.700\RUNFBB.BAT %fbb% $DST 
   DEL EXAMPLES.700\RUNFBB.FBB



#
# BINARY COM-FILES AND EXE-FILES
#

09 COPY CLEANUP.COM   BIN
   COPY CLR_USER.COM  BIN
   COPY CUT.COM       BIN
   COPY DSZ.COM       BIN
   COPY EPURMESS.COM  BIN
   COPY EPURWP.COM    BIN
   COPY FV.COM        BIN
   COPY ISDAY.COM     BIN
   COPY MAINTINF.COM  BIN
   COPY NEWDOC.COM    BIN
   COPY REQDIR.COM    BIN
   COPY REQFIL.COM    BIN
   COPY SETUSER.COM   BIN
   COPY SLEEP.COM     BIN
   COPY FBB_SVC.EXE   BIN
   COPY INSTWFBB.EXE  BIN
   COPY MULTI.EXE     BIN
   COPY RUNFBB.EXE    BIN
   COPY SATUPDAT.EXE  BIN
   COPY WFBB.EXE      BIN



#
# WAV SOUNDS
#

10 COPY CONNECT.WAV   BIN
   COPY SYSCALL.WAV   BIN

#
# WINDOWS DLLs
#

   COPY BC453RTL.DLL  BIN
   COPY BIDS47.DLL    BIN
   COPY OWL253A.DLL   BIN

#
# FBB COMMUNICATION DRIVER FOR WINDOWS
#

11 IF EXIST $WIN\SYSTEM\FBBCOMM.DRV
     IF OK FBBCOMM.DRV already exists. Replace it ?
       COPY FBBCOMM.DRV   $WIN\SYSTEM
     ENDIF
   ELSE
     COPY FBBCOMM.DRV   $WIN\SYSTEM
   ENDIF

#
# SATELLITE DATABASE
#

12 COPY SATEL.DAT     SYSTEM\SAT
   COPY SAT.EXE       SYSTEM\SAT
   COPY SAT.EXE       EXAMPLES.700
   COPY SAT.PIF       SYSTEM\SAT
   COPY SAT.PIF       EXAMPLES.700
13 EXEC $DST\SYSTEM\SAT $DST\SYSTEM\SAT\SAT.PIF
14 EXEC $DST\EXAMPLES.700 $DST\EXAMPLES.700\SAT.PIF
   DEL $DST\SYSTEM\SAT\SAT.EXE
   DEL $DST\EXAMPLES.700\SAT.EXE
   DEL $DST\SYSTEM\SAT\SAT.PIF
   DEL $DST\EXAMPLES.700\SAT.PIF

#
# DOC FILES
#

15 COPY CHANGES.DOC   DOC
   COPY CHANGES.DOC   EXAMPLES.700
   COPY FBBMUX.DOC    DOC
   COPY FBBMUX.DOC    EXAMPLES.700
   COPY MULTI.DOC     DOC
   COPY MULTI.DOC     EXAMPLES.700
   COPY WA8DED21.DOC  DOC
   COPY WA8DED21.DOC  EXAMPLES.700
   COPY DSZ.DOC       DOC
   COPY DSZ.DOC       EXAMPLES.700


DISK 2

   COPY FV.DOC        DOC
   COPY FV.DOC        EXAMPLES.700
   COPY SATUPDAT.DOC  DOC
   COPY SATUPDAT.DOC  EXAMPLES.700


#
# PIF FILES FOR DOS APPLICATIONS
#

16 COPY DSZ.PIF       BIN
   COPY FBB_SVC.PIF   BIN
   COPY RUNFBB.PIF    BIN

#
# MAIN CONFIGURATION FILES
#
# INIT.SRV is the only file to be put in FBB directory
# WINFBB.INI will be put in the WINDOWS directory
#

17 IF EXIST INIT.SRV
     IF OK INIT.SRV already exists. Replace it (recommended) ?
       COPY INIT.SRV
       CHANGE INIT.SRV %fbb% $DST
       DEL INIT.FBB
     ENDIF
   ELSE
     COPY INIT.SRV
     CHANGE INIT.SRV %fbb% $DST
     DEL INIT.FBB
   ENDIF
   COPY INIT.SRV EXAMPLES.700
   CHANGE EXAMPLES.700\INIT.SRV %fbb% $DST 
   DEL EXAMPLES.700\INIT.FBB

18 IF EXIST EPURMESS.INI
     IF OK A previous version of EPURMESS.INI already exists. Replace it ?
       COPY EPURMESS.INI
       CHANGE EPURMESS.INI %fbb% $DST
       DEL EPURMESS.FBB
     ENDIF
   ELSE
     COPY EPURMESS.INI
     CHANGE EPURMESS.INI %fbb% $DST
     DEL EPURMESS.FBB
   ENDIF
   COPY EPURMESS.INI EXAMPLES.700
   CHANGE EXAMPLES.700\EPURMESS.INI %fbb% $DST
   DEL EXAMPLES.700\EPURMESS.FBB

19 IF EXIST $WIN\WINFBB.INI
     IF OK A previous version of WINFBB.INI already exists. Replace it ?
       COPY WINFBB.INI $WIN
     ENDIF
   ELSE
     COPY WINFBB.INI $WIN
   ENDIF
   VALUE WINFBB.INI MAIN Position=0;0;500;315
   COPY WINFBB.INI EXAMPLES.700

   IF NOT EXIST $WIN\SYSTEM\CTL3DV2.DLL
     COPY CTL3DV2.DLL $WIN\SYSTEM
   ENDIF

   COPY MODLABEL.EXE
   COPY MODLABEL.PIF

#
# SYSTEM FILES
#

20 IF NOT EXIST SYSTEM\BBS.SYS
     COPY BBS.SYS       SYSTEM
   ENDIF
   COPY BBS.SYS EXAMPLES.700

   IF NOT EXIST SYSTEM\BEACON1.SYS
     COPY BEACON1.SYS   SYSTEM
   ENDIF
   COPY BEACON1.SYS EXAMPLES.700

   IF NOT EXIST SYSTEM\CRON.SYS
     COPY CRON.SYS      SYSTEM
   ENDIF
   COPY CRON.SYS EXAMPLES.700

   IF NOT EXIST SYSTEM\FORWARD.SYS
     COPY FORWARD.SYS   SYSTEM
   ENDIF
   COPY FORWARD.SYS EXAMPLES.700

   IF NOT EXIST SYSTEM\INITTNC1.SYS
     COPY INITTNC1.SYS  SYSTEM
   ENDIF
   COPY INITTNC1.SYS EXAMPLES.700

   COPY INITTNC.DED SYSTEM
   COPY INITTNC.PK SYSTEM
   COPY INITTNC.DED EXAMPLES.700
   COPY INITTNC.PK EXAMPLES.700

21 IF NOT EXIST SYSTEM\LANGUE.SYS
     COPY LANGUE.SYS    SYSTEM
   ENDIF
   COPY LANGUE.SYS EXAMPLES.700

   IF NOT EXIST SYSTEM\MAINT1.SYS
     COPY MAINT1.SYS    SYSTEM
   ENDIF
   COPY MAINT1.SYS EXAMPLES.700

   IF NOT EXIST SYSTEM\MEMO.SYS
     COPY MEMO.SYS      SYSTEM
   ENDIF
   COPY MEMO.SYS EXAMPLES.700

   IF NOT EXIST SYSTEM\PASSWD.SYS
     COPY PASSWD.SYS    SYSTEM
   ENDIF
   COPY PASSWD.SYS EXAMPLES.700

22 IF EXIST SYSTEM\PORT.SYS
     IF OK PORT.SYS already exists. Replace it (recommended) ?
       COPY PORT.SYS SYSTEM
     ENDIF
   ELSE
     COPY PORT.SYS SYSTEM
   ENDIF
   COPY PORT.SYS EXAMPLES.700

   IF NOT EXIST SYSTEM\PROTECT.SYS
     COPY PROTECT.SYS   SYSTEM
   ENDIF
   COPY PROTECT.SYS EXAMPLES.700

   IF NOT EXIST SYSTEM\REJECT.SYS
     COPY REJECT.SYS    SYSTEM
   ENDIF
   COPY REJECT.SYS EXAMPLES.700

   IF NOT EXIST SYSTEM\SWAPP.SYS
     COPY SWAPP.SYS     SYSTEM
   ENDIF
   COPY SWAPP.SYS EXAMPLES.700

   IF NOT EXIST SYSTEM\THEMES.SYS
     COPY THEMES.SYS    SYSTEM
   ENDIF
   COPY THEMES.SYS EXAMPLES.700

   IF NOT EXIST SYSTEM\MULTI.TXT
     COPY MULTI.TXT     SYSTEM
   ENDIF
   COPY MULTI.TXT EXAMPLES.700

   IF NOT EXIST SYSTEM\FWD\LA1B
     COPY LA1B          SYSTEM\FWD
   ENDIF
   COPY LA1B EXAMPLES.700

   IF NOT EXIST SYSTEM\FWD\F6ABJ
     COPY F6ABJ         SYSTEM\FWD
   ENDIF
   COPY F6ABJ EXAMPLES.700

   IF NOT EXIST SYSTEM\FWD\AMSAT
     COPY AMSAT         SYSTEM\FWD
   ENDIF
   COPY AMSAT EXAMPLES.700

   IF NOT EXIST SYSTEM\REDIST.SYS
     COPY REDIST.SYS    SYSTEM
   ENDIF
23 COPY REDIST.SYS EXAMPLES.700

#
# HELP FILES
#

31 COPY WFBB.HLP      BIN

   IF EXIST SYSTEM\LANG\ENGLISH.HLP
     IF OK ENGLISH.HLP already exists. Replace it (recommended) ?
        COPY ENGLISH.HLP  SYSTEM\LANG
     ENDIF
   ELSE
     COPY ENGLISH.HLP  SYSTEM\LANG
   ENDIF
   COPY ENGLISH.HLP EXAMPLES.700

32 IF EXIST SYSTEM\LANG\FRANCAIS.HLP
     IF OK FRANCAIS.HLP already exists. Replace it (recommended) ?
        COPY FRANCAIS.HLP  SYSTEM\LANG
     ENDIF
   ELSE
     COPY FRANCAIS.HLP  SYSTEM\LANG
   ENDIF
   COPY FRANCAIS.HLP EXAMPLES.700

33 IF EXIST SYSTEM\LANG\NORSK8.HLP
     IF OK NORSK8.HLP already exists. Replace it (recommended) ?
        COPY NORSK8.HLP  SYSTEM\LANG
     ENDIF
   ELSE
     COPY NORSK8.HLP  SYSTEM\LANG
   ENDIF
   COPY NORSK8.HLP EXAMPLES.700

34 IF EXIST SYSTEM\LANG\NORSK.HLP
     IF OK NORSK.HLP already exists. Replace it (recommended) ?
        COPY NORSK.HLP  SYSTEM\LANG
     ENDIF
   ELSE
     COPY NORSK.HLP  SYSTEM\LANG
   ENDIF
   COPY NORSK.HLP EXAMPLES.700

35 IF EXIST SYSTEM\LANG\CATALA.HLP
     IF OK CATALA.HLP already exists. Replace it (recommended) ?
        COPY CATALA.HLP  SYSTEM\LANG
     ENDIF
   ELSE
     COPY CATALA.HLP  SYSTEM\LANG
   ENDIF
   COPY CATALA.HLP EXAMPLES.700

36 IF EXIST SYSTEM\LANG\DANSK.HLP
     IF OK DANSK.HLP already exists. Replace it (recommended) ?
        COPY DANSK.HLP  SYSTEM\LANG
     ENDIF
   ELSE
     COPY DANSK.HLP  SYSTEM\LANG
   ENDIF
   COPY DANSK.HLP EXAMPLES.700

36 IF EXIST SYSTEM\LANG\DEUTSCH.HLP
     IF OK DEUTSCH.HLP already exists. Replace it (recommended) ?
        COPY DEUTSCH.HLP  SYSTEM\LANG
     ENDIF
   ELSE
     COPY DEUTSCH.HLP  SYSTEM\LANG
   ENDIF
   COPY DEUTSCH.HLP EXAMPLES.700

38 IF EXIST SYSTEM\LANG\ESPAGNOL.HLP
     IF OK ESPAGNOL.HLP already exists. Replace it (recommended) ?
        COPY ESPAGNOL.HLP  SYSTEM\LANG
     ENDIF
   ELSE
     COPY ESPAGNOL.HLP  SYSTEM\LANG
   ENDIF
   COPY ESPAGNOL.HLP EXAMPLES.700

39 IF EXIST SYSTEM\LANG\HRVATSKI.HLP
     IF OK HRVATSKI.HLP already exists. Replace it (recommended) ?
        COPY HRVATSKI.HLP  SYSTEM\LANG
     ENDIF
   ELSE
     COPY HRVATSKI.HLP  SYSTEM\LANG
   ENDIF
   COPY HRVATSKI.HLP EXAMPLES.700

40 IF EXIST SYSTEM\LANG\ITALIANO.HLP
     IF OK ITALIANO.HLP already exists. Replace it (recommended) ?
        COPY ITALIANO.HLP  SYSTEM\LANG
     ENDIF
   ELSE
     COPY ITALIANO.HLP  SYSTEM\LANG
   ENDIF
   COPY ITALIANO.HLP EXAMPLES.700

41 IF EXIST SYSTEM\LANG\NEDERLAN.HLP
     IF OK NEDERLAN.HLP already exists. Replace it (recommended) ?
        COPY NEDERLAN.HLP  SYSTEM\LANG
     ENDIF
   ELSE
     COPY NEDERLAN.HLP  SYSTEM\LANG
   ENDIF
   COPY NEDERLAN.HLP EXAMPLES.700
   
42 IF EXIST SYSTEM\LANG\SVENSKA.HLP
     IF OK SVENSKA.HLP already exists. Replace it (recommended) ?
        COPY SVENSKA.HLP  SYSTEM\LANG
     ENDIF
   ELSE
     COPY SVENSKA.HLP  SYSTEM\LANG
   ENDIF
   COPY SVENSKA.HLP EXAMPLES.700

42 IF EXIST SYSTEM\LANG\PORTUGUE.HLP
     IF OK PORTUGUE.HLP already exists. Replace it (recommended) ?
        COPY PORTUGUE.HLP  SYSTEM\LANG
     ENDIF
   ELSE
     COPY PORTUGUE.HLP  SYSTEM\LANG
   ENDIF
   COPY PORTUGUE.HLP EXAMPLES.700


#
# TEXT FILES
#

43 IF EXIST SYSTEM\LANG\ENGLISH.TXT
     IF OK ENGLISH.TXT already exists. Replace it (recommended) ?
        COPY ENGLISH.TXT  SYSTEM\LANG
     ENDIF
   ELSE
     COPY ENGLISH.TXT  SYSTEM\LANG
   ENDIF
   COPY ENGLISH.TXT EXAMPLES.700

44 IF EXIST SYSTEM\LANG\FRANCAIS.TXT
     IF OK FRANCAIS.TXT already exists. Replace it (recommended) ?
        COPY FRANCAIS.TXT  SYSTEM\LANG
     ENDIF
   ELSE
     COPY FRANCAIS.TXT  SYSTEM\LANG
   ENDIF
   COPY FRANCAIS.TXT EXAMPLES.700

45 IF EXIST SYSTEM\LANG\NORSK8.TXT
     IF OK NORSK8.TXT already exists. Replace it (recommended) ?
        COPY NORSK8.TXT  SYSTEM\LANG
     ENDIF
   ELSE
     COPY NORSK8.TXT  SYSTEM\LANG
   ENDIF
   COPY NORSK8.TXT EXAMPLES.700

46 IF EXIST SYSTEM\LANG\NORSK.TXT
     IF OK NORSK.TXT already exists. Replace it (recommended) ?
        COPY NORSK.TXT  SYSTEM\LANG
     ENDIF
   ELSE
     COPY NORSK.TXT  SYSTEM\LANG
   ENDIF
   COPY NORSK.TXT EXAMPLES.700

47 IF EXIST SYSTEM\LANG\CATALA.TXT
     IF OK CATALA.TXT already exists. Replace it (recommended) ?
        COPY CATALA.TXT  SYSTEM\LANG
     ENDIF
   ELSE
     COPY CATALA.TXT  SYSTEM\LANG
   ENDIF
   COPY CATALA.TXT EXAMPLES.700

48 IF EXIST SYSTEM\LANG\DANSK.TXT
     IF OK DANSK.TXT already exists. Replace it (recommended) ?
        COPY DANSK.TXT  SYSTEM\LANG
     ENDIF
   ELSE
     COPY DANSK.TXT  SYSTEM\LANG
   ENDIF
   COPY DANSK.TXT EXAMPLES.700

49 IF EXIST SYSTEM\LANG\DEUTSCH.TXT
     IF OK DEUTSCH.TXT already exists. Replace it (recommended) ?
        COPY DEUTSCH.TXT  SYSTEM\LANG
     ENDIF
   ELSE
     COPY DEUTSCH.TXT  SYSTEM\LANG
   ENDIF
   COPY DEUTSCH.TXT EXAMPLES.700

50 IF EXIST SYSTEM\LANG\ESPAGNOL.TXT
     IF OK ESPAGNOL.TXT already exists. Replace it (recommended) ?
        COPY ESPAGNOL.TXT  SYSTEM\LANG
     ENDIF
   ELSE
     COPY ESPAGNOL.TXT  SYSTEM\LANG
   ENDIF
   COPY ESPAGNOL.TXT EXAMPLES.700

51 IF EXIST SYSTEM\LANG\HRVATSKI.TXT
     IF OK HRVATSKI.TXT already exists. Replace it (recommended) ?
        COPY HRVATSKI.TXT  SYSTEM\LANG
     ENDIF
   ELSE
     COPY HRVATSKI.TXT  SYSTEM\LANG
   ENDIF
   COPY HRVATSKI.TXT EXAMPLES.700

52 IF EXIST SYSTEM\LANG\ITALIANO.TXT
     IF OK ITALIANO.TXT already exists. Replace it (recommended) ?
        COPY ITALIANO.TXT  SYSTEM\LANG
     ENDIF
   ELSE
     COPY ITALIANO.TXT  SYSTEM\LANG
   ENDIF
   COPY ITALIANO.TXT EXAMPLES.700

53 IF EXIST SYSTEM\LANG\NEDERLAN.TXT
     IF OK NEDERLAN.TXT already exists. Replace it (recommended) ?
        COPY NEDERLAN.TXT  SYSTEM\LANG
     ENDIF
   ELSE
     COPY NEDERLAN.TXT  SYSTEM\LANG
   ENDIF
   COPY NEDERLAN.TXT EXAMPLES.700

54 IF EXIST SYSTEM\LANG\SVENSKA.TXT
     IF OK SVENSKA.TXT already exists. Replace it (recommended) ?
        COPY SVENSKA.TXT  SYSTEM\LANG
     ENDIF
   ELSE
     COPY SVENSKA.TXT  SYSTEM\LANG
   ENDIF
   COPY SVENSKA.TXT EXAMPLES.700

55 IF EXIST SYSTEM\LANG\PORTUGUE.TXT
     IF OK PORTUGUE.TXT already exists. Replace it (recommended) ?
        COPY PORTUGUE.TXT  SYSTEM\LANG
     ENDIF
   ELSE
     COPY PORTUGUE.TXT  SYSTEM\LANG
   ENDIF
   COPY PORTUGUE.TXT EXAMPLES.700


#
# Firmware-files
#
55 COPY PK87U16K.ROM
   COPY PK87U32K.ROM
56 COPY PK88U16K.ROM
   COPY PK88U32K.ROM
57 COPY TF18.ROM
   COPY TF24.ROM
58 COPY TF4.ROM
   COPY TF8.ROM
59 COPY TFPK.ROM
   COPY TFPKM.ROM
60 COPY TFPK27.ZIP
   COPY TF27AB.ZIP
   COPY TF27_CMD.ENG


#
# UTIL-files
#

61 COPY ICOM.DLL      UTIL
   COPY ICOM.COM      UTIL
62 COPY M_FILTER.DLL  UTIL
   COPY PROGTX.DLL    UTIL
63 COPY C_FILTER.DLL  UTIL
   COPY CON_FILT.TXT  UTIL
64 COPY CON_FILT.PSW  UTIL
   COPY F_FILTER.DLL  UTIL
65 COPY F_FILTER.TXT  UTIL

66 COPY LISEZMOI.DOC STATS
   COPY LISEZMOI.DOC EXAMPLES.700
67 COPY LOG.DOC STATS
   COPY LOG.DOC EXAMPLES.700
68 COPY LOGCALL.EXE STATS
   COPY LOGFBB.CNF STATS
69 COPY LOGFBB.CNF EXAMPLES.700
   COPY LOGSTATF.EXE STATS
70 COPY LOGSTATU.EXE STATS

#
# Main FBB-docs
#

71 COPY FBB700.DOC DOC
   COPY FBB700.DOC EXAMPLES.700


72 IF NOT EXIST SYSTEM\LANG\MODEM.ENT
      COPY MODEM.ENT     SYSTEM\LANG
   ENDIF
   COPY MODEM.ENT EXAMPLES.700



73 IF EXIST SYSTEM\YAPPLBL.SYS
      EXEC $DST MODLABEL.PIF
      DEL SYSTEM\YAPPLBL.SYS 
   ENDIF
   DEL MODLABEL.PIF



DISK 3

74 IF OK Do you also want to install 32bit WinFBB (for Win95/NT) ?
     COPY INST32.EXE   BIN
75   COPY INSTWF32.EXE BIN
     COPY RUNFBB32.EXE BIN
76   COPY WFBB32.EXE   BIN
     COPY CW3215.DLL   BIN
77   COPY BIDS47F.DLL  BIN
     COPY OWL253AF.DLL BIN
78   COPY M_FILT32.DLL UTIL
     COPY C_FILT32.DLL UTIL
79   COPY TFWIN32.DLL  BIN
     COPY TFWIN.INI    $WIN

     IF NOT EXIST $WIN\SYSTEM\CTL3D32.DLL
       COPY CTL3D32.DLL $WIN\SYSTEM
     ENDIF


     GROUP FBB for Windows
80   ITEM BIN\RUNFBB32.EXE WinFBB32
     ITEM BIN\INSTWF32.EXE WinFBB32 configuration
     ITEM BIN\INST32.EXE   WinFBB32 installation

   ENDIF


#
# UPDATE THE GROUP AND ITEMS OF WINDOWS
#

81 GROUP FBB for Windows
   ITEM BIN\RUNFBB.EXE   WinFBB
   ITEM BIN\INSTWFBB.EXE WinFBB configuration
   ITEM BIN\INSTALL.EXE  WinFBB installation

#
# UPDATE THE SYSTEM.INI AND THE PATH IN AUTOEXEC.BAT
#

82 IF OK SYSTEM.INI will be modified to replace the COMM.DRV driver
     VALUE SYSTEM.INI boot comm.drv=fbbcomm.drv
   ENDIF

83 IF OK SYSTEM.INI will be modified to increase the environment size to 2KB
     VALUE SYSTEM.INI NonWindowsApp CommandEnvSize=2048
   ENDIF

84 IF OK AUTOEXEC.BAT will be modified to add the PATH
     PATH $DST\BIN
     IF OK Your AUTOEXEC.BAT has been modified. AUTOEXEC.BAT has been saved in AUTOEXEC.FBB
     ENDIF
   ENDIF

#
# RUN THE CONFIGURATION PROGRAM IN $DST DIRECTORY
#

85 IF OK The configuration-program will start.  Do you run Win95/NT now ?
     EXEC $DST $DST\BIN\INSTWF32.EXE
   ELSE
     EXEC $DST $DST\BIN\INSTWFBB.EXE
   ENDIF

#
# Extra language-files will be installed.
#

DISK 4

86 IF OK Do you want to install the extra language-files (in LANG\MORE) ? 
     MKDIR SYSTEM\LANG\MORE
     COPY LANG700X.EXE SYSTEM\LANG\MORE
     COPY LANG700X.PIF SYSTEM\LANG\MORE
87   EXEC $DST\SYSTEM\LANG\MORE $DST\SYSTEM\LANG\MORE\LANG700X.PIF
     DEL SYSTEM\LANG\MORE\LANG700X.PIF
     DEL SYSTEM\LANG\MORE\LANG700X.EXE
   ENDIF
88 COPY LANG700X.EXE EXAMPLES.700
   COPY LANG700X.PIF EXAMPLES.700
89 EXEC $DST\EXAMPLES.700 $DST\EXAMPLES.700\LANG700X.PIF
   DEL $DST\EXAMPLES.700\LANG700X.PIF
   DEL $DST\EXAMPLES.700\LANG700X.EXE


#
# THE INSTALLATION IS FINISHED. THE SYSTEM WILL BE REBOOTED TO GET THE PATH
#



100 IF OK Installation is complete.  The system will now be rebooted to update the parameters.
      REBOOT SYSTEM
    ENDIF

#
# END OF NORMAL INSTALLATION
#

