home *** CD-ROM | disk | FTP | other *** search
INI File | 1991-03-09 | 2.4 KB | 99 lines |
- ;; This is the installation script INSTALIT uses to install itself,
- ;; MediaBuilder and related utilities.
-
- Do SetupINSTALIT
-
- Dialog
- .cThanks for purchasing INSTALIT and MediaBuilder.
- .cLet's do the installation!
-
- .cIf you purchased a non-English installer, note
- .cthat the installer's innate text is in the
- .clanguage you specified, while the script text
- .cis in English. See your Multilingual documentation
- .cfor further information.
- EndDialog
-
- [Point1]
-
- GoToXY @xy(1,3)
-
- GetMenuChoice
- Install INSTALIT and MediaBuilder
- ; Use this choice initially for a
- ; complete installation.
- Get another copy of EXAMPLE.PVD
- ; Use this choice if your copy
- ; of EXAMPLE.PVD is changed or
- ; damaged.
- Finished
- ; Exit this installation process
- EndGetMenuChoice
-
- InCase Choice is
- =1: Do Install
- =2: QueFiles
- EXAMPLE.PVD
- EndQueFiles
- GetQuedFiles
- =3: Do ByeBye
- EndInCase
-
- GoTo [Point1]
-
-
- Procedure Install
- QueAllFiles
- [AdditionalSpaceRequired] := 95000
- DetermineInstallationDrive QueSize
- DetermineInstallationDirectory QueSize
- GetQuedFiles
- OpenCopyWindow
- CopyFiles
- INSTALIT.EXE
- I210.INF
- NEWSTUFF.DOC
- EndCopyFiles
- CloseCopyWindow
- ChangeDirectoryTo [InstallationDirectory]
- ;; Set up MediaBuilder's configuration files for the chosen directories,
- ;; etc.
-
- ClearScreen
- TextBox
- .cSetting up your default configuration file
- .cfor MediaBuilder. One moment, please.
- EndTextBox
-
- Delay 1000
-
- ModifyTextFile [InstallationDirectory]\MEDIA.CFG Quietly
- AddOrChangeLineWith (WorkingDirectory,=,) As "WorkingDirectory=[InstallationDirectory]" at End
- AddOrChangeLineWith (OutputDrive,=,) As "OutputDrive=A" at End
- EndModifyTextFile
-
- ClearScreen
- EndProcedure
-
- Procedure ByeBye
- Dialog PressAKey WhiteOnBrown
- Thanks again and best wishes. You'll find new
- information in file NEWSTUFF.DOC.
- EndDialog
- SoLong
- EndProcedure
-
-
- Procedure SetupINSTALIT
- SetBackgroundCharTo B0
- SetShadowAttrTo BlackOnBlack
- SetScreenAttrTo WhiteOnBlue
- SetTopLineAttrTo WhiteOnBrown
- SetTopLineTo " INSTALLING INSTALIT AND MEDIABUILDER "
- SetBottomLineAttrTo WhiteOnLightGray
- SetBottomLineTo " Call (800)448-4154 for assistance. Use <Ctrl+X> to quit. "
- SetExitMessageTo Thanks again!
- EndProcedure
-
- EndScript