home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Welcome to Africa
/
Welcome_to_Africa_CD-ROM_Walnut_Creek_September_1994.iso
/
africa.inf
< prev
next >
Wrap
Text File
|
1994-05-02
|
2KB
|
60 lines
;; This script does six things:
;; 1/ It copies the True Type font AFRICA.TTF into the Windows System directory.
;; 2/ It copies AFRICA.ICO into the Windows directory.
;; 3/ It updates WIN.INI so that TBKMM.SBK is a system book.
;; 4/ It saves the Windows directory in WIN.INI.
;; 5/ It installs the Africa font in Windows.
;; 6/ It creates a program group in Windows, with three elements in it:
;; - Tbook intro.tbk
;; - Tbook yourbook.tbk
;; - Readme.txt
;; It leaves all the files on the CD ROM.
Dialog 3000
Installing "Welcome to Africa".
This should only take a moment.
EndDialog
CopyFiles from [InstallFromDirectory] to [WindowsSystemDirectory]
africa.ttf
EndCopyFiles
CopyFiles from [InstallFromDirectory] to [WindowsDirectory]
africa.ico
africa2.ico
EndCopyFiles
[Array2][1] := Toolbook
[Array2][2] := startupSysBooks
[Array2][3] := TBKMM.SBK
WriteProfileString using [Array2]
[Array2][1] := Toolbook
[Array2][2] := windowsDirectory
[Array2][3] := [WindowsDirectory]
WriteProfileString using [Array2]
Dialog 2000
Installing the Africa Font into Windows.
EndDialog
;; Run [InstallFromDirectory]\tbook.exe [InstallFromDirectory]\instfont.tbk
[Array1][1] := fonts
[Array1][2] := Southern (TrueType)
[Array1][3] := africa.fot
WriteProfileString Using [Array1]
[Number1] := AddFontResource [WindowsSystemDirectory]\africa.fot
BuildProgramGroup "Welcome to Africa" weltoafr.grp
[InstallFromDirectory]\tbook.exe [InstallFromDirectory]\images\intro.tbk "Welcome to Africa" africa.ico
[InstallFromDirectory]\tbook.exe [InstallFromDirectory]\yourbook.tbk "Your own Africa book" africa2.ico
notepad.exe [InstallFromDirectory]\readme.txt "Read Me First"
EndBuildProgramGroup
Dialog
Installation complete. Have fun.
EndDialog
SoLong
EndScript