home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Guinness Multimedia Disc of Records 1993
/
GrolierEP-1993GuinnessMultimediaDiscOfRecords-MSDOS-Eng.iso
/
ggndos.inf
< prev
next >
Wrap
INI File
|
1993-05-19
|
17KB
|
561 lines
;; This is the installation script for DOS
DefineVariables
Text [Title] := The 1993 Guinness Multimedia Disc of Records
Text [AppName] := GGN
Text [InitFile] := GGN.CFG
Text [AppExe] := GGN.EXE
;;Text [AppHelp] := GGN.HLP
Text [Video] := tmmvid.EXE
Text [Idx1] := topindex.lst
Text [Idx2] := super.lst
Text [Idx3] := picindex.lst
Text [Idx4] := alpha.lst
Text [Idx5] := rrp.lst
Text [Idx6] := topindex.idx
Text [Idx7] := picindex.idx
Text [Idx8] := vidindex.idx
Text [Idx9] := super.idx
;;Text [Icon1] := LOGO
;;Text [Icon2] := TOPIC
;;Text [Icon3] := SRCH
;;Text [Icon4] := SPRL
;;Text [Icon5] := BRWS
;;Text [Icon6] := RND
;;Text [Icon7] := PICT
;;Text [Icon8] := MOVIE
;;Text [Bmp1] := header.bmp
;;Text [BGBitmap] := splash.bmp
Text [BckGndPic] := VidBG.pcx
Text [CPL1] := dblist.cpl
Text [CPL2] := defaults.cpl
Text [CPL3] := err_msgs.cpl
Text [CPL4] := stopword.cpl
Text [HD] := InstalitDirectoryharddisk
Text [UserVersion]
Text [NewVersion]
Text [TextVar]
Text [TempDir] := \tmp
EndDefineVariables
[Number8] := 0
Do SetupGro
Dialog
.cThanks for purchasing [Title].
EndDialog
[Point1]
GetMenuChoice
Install [Title]
; Use this choice initially for a
; complete installation. It will
; use approximately 4MB of your
; hard disk.
;; Install smallest version of [Title]
;; ; Use this choice initially for a
;; ; complete installation. It will
;; ; use approximately 2.5 MB of your
;; ; hard disk but performance will
;; ; be slower.
Finished
; Exit this installation process
EndGetMenuChoice
InCase Choice is
=1: Do Install
=2: Do ByeBye
;; =2: Do SmInstall
;; =3: Do ByeBye
EndInCase
Procedure Install
;; Install procedure that INCLUDES indexes
[InstallationDirectory] := C:\GGN
Dialog [InstallationDirectory] 44
Please indicate the drive and directory where
[Title] should be installed.
EndDialog
CreateDirectoryIfNecessary [InstallationDirectory]
ChangeDirectoryTo [InstallationDirectory]
CreateDirectoryIfNecessary [InstallationDirectory][TempDir]
CopyFiles from [HD] to [InstallationDirectory]
*.*
EndCopyFiles
SetFileAttrTo 00 for [InstallationDirectory]\[AppExe]
SetFileAttrTo 00 for [InstallationDirectory]\[InitFile]
;; SetFileAttrTo 00 for [InstallationDirectory]\[AppHelp]
SetFileAttrTo 00 for [InstallationDirectory]\[Idx1]
SetFileAttrTo 00 for [InstallationDirectory]\[Idx2]
SetFileAttrTo 00 for [InstallationDirectory]\[Idx3]
SetFileAttrTo 00 for [InstallationDirectory]\[Idx4]
SetFileAttrTo 00 for [InstallationDirectory]\[Idx5]
SetFileAttrTo 00 for [InstallationDirectory]\[Idx6]
SetFileAttrTo 00 for [InstallationDirectory]\[Idx7]
SetFileAttrTo 00 for [InstallationDirectory]\[Idx8]
SetFileAttrTo 00 for [InstallationDirectory]\[Idx9]
SetFileAttrTo 00 for [InstallationDirectory]\[BckGndPic]
SetFileAttrTo 00 for [InstallationDirectory]\[CPL1]
SetFileAttrTo 00 for [InstallationDirectory]\[CPL2]
SetFileAttrTo 00 for [InstallationDirectory]\[CPL3]
SetFileAttrTo 00 for [InstallationDirectory]\[CPL4]
SetFileAttrTo 00 for [InstallationDirectory]\[Video]
;; SetFileAttrTo 00 for [InstallationDirectory]\[Icon1]
;; SetFileAttrTo 00 for [InstallationDirectory]\[Icon2]
;; SetFileAttrTo 00 for [InstallationDirectory]\[Icon3]
;; SetFileAttrTo 00 for [InstallationDirectory]\[Icon4]
;; SetFileAttrTo 00 for [InstallationDirectory]\[Icon5]
;; SetFileAttrTo 00 for [InstallationDirectory]\[Icon6]
;; SetFileAttrTo 00 for [InstallationDirectory]\[Icon7]
;; SetFileAttrTo 00 for [InstallationDirectory]\[Icon8]
;; SetFileAttrTo 00 for [InstallationDirectory]\[Bmp1]
;; SetFileAttrTo 00 for [InstallationDirectory]\[BGBitmap]
;; ModifyTextFile [InstallationDirectory]\[Initfile] Quietly NoBackup
;; InSection [GGN]
;; AddOrChangeLineWith (Indexes,=,) as "Indexes=[InstallationDirectory]" at end
;; EndModifyTextFile
DeleteFiles
[CPL1]
[InitFile]
EndDeleteFiles
ClearScreen
Do SetCfg
;; fixup dblist (note remove [InstallFromDrive]:\ if dbase on hd)
ModifyTextFile [InstallationDirectory]\[CPL1] Quietly NoBackup
AddOrChangeLineWith (GGN,GGN) as "GGN [InstallFromDrive]:\GGN" At Beginning
EndModifyTextFile
Do ByeBye
EndProcedure ;; end Install procedure
Procedure SmInstall
;; Install procedure without copying indexes to hard disk
[InstallationDirectory] := C:\GGN
Dialog [InstallationDirectory] 44
Please indicate the drive and directory where
[Title] should be installed.
EndDialog
CreateDirectoryIfNecessary [InstallationDirectory]
ChangeDirectoryTo [InstallationDirectory]
CreateDirectoryIfNecessary [InstallationDirectory][TempDir]
CopyFiles from [HD] to [InstallationDirectory]
;; [InitFile]
[AppExe]
;; [AppHelp]
[Video]
;; [Icon1]
;; [Icon2]
;; [Icon3]
;; [Icon4]
;; [Icon5]
;; [Icon6]
;; [Icon7]
;; [Icon8]
;; [Bmp1]
;; [BGBitmap]
[CPL1]
[CPL2]
[CPL3]
[CPL4]
EndCopyFiles
SetFileAttrTo 00 for [InstallationDirectory]\[AppExe]
SetFileAttrTo 00 for [InstallationDirectory]\[InitFile]
;; SetFileAttrTo 00 for [InstallationDirectory]\[AppHelp]
SetFileAttrTo 00 for [InstallationDirectory]\[Video]
;; SetFileAttrTo 00 for [InstallationDirectory]\[Icon1]
:: SetFileAttrTo 00 for [InstallationDirectory]\[Icon2]
;; SetFileAttrTo 00 for [InstallationDirectory]\[Icon3]
;; SetFileAttrTo 00 for [InstallationDirectory]\[Icon4]
;; SetFileAttrTo 00 for [InstallationDirectory]\[Icon5]
;; SetFileAttrTo 00 for [InstallationDirectory]\[Icon6]
;; SetFileAttrTo 00 for [InstallationDirectory]\[Icon7]
;; SetFileAttrTo 00 for [InstallationDirectory]\[Icon8]
;; SetFileAttrTo 00 for [InstallationDirectory]\[Bmp1]
;; SetFileAttrTo 00 for [InstallationDirectory]\[BGBitmap]
;; ModifyTextFile [InstallationDirectory]\[Initfile] Quietly NoBackup
;; InSection [GGN]
;; AddOrChangeLineWith (Indexes,=,) as "Indexes=[HD]" at end
;; EndModifyTextFile
Do SetCfg
;; fixup dblist.cpl
ModifyTextFile [InstallationDirectory]\[CPL1] Quietly NoBackup
AddOrChangeLineWith (GGN,GGN) as "GGN [InstallFromDrive]:\GGN" At Beginning
EndModifyTextFile
Do ByeBye
EndProcedure ;; End small install procedure
Procedure SetCfg
Dialog [InstallFromDrive] 1
Please indicate the drive letter of the CD-ROM
drive where Guinness will be located.
EndDialog
;; Setup disk to get database from
ModifyTextFile [InstallationDirectory]\[Initfile] Quietly NoBackup
InSection [GGN]
AddOrChangeLineWith (Disk,=,) as "Disk=[InstallFromDrive]" at end
EndModifyTextFile
;; ModifyTextFile [InstallationDirectory]\[Initfile] Quietly NoBackup
;; InSection [GGN]
;; AddOrChangeLineWith (DB,=,) as "DB=[InstallFromDrive]:\GGN" at end
;; EndModifyTextFile
GetMenuChoice Highlight 2
SVGA
; This application works with VGA and most SVGA display boards.
; Select SVGA if you have an SVGA board installed in your computer.
; If you encounter display problems, reinstall with VGA selected.
;
VGA
; This application works with VGA and most SVGA display boards.
; Select SVGA if you have an SVGA board installed in your computer.
; If you encounter display problems, reinstall with VGA selected.
;
EndGetMenuChoice
InCase Choice is
=1: [TextVar] := "VGA8"
=2: [TextVar] := "VGA4"
EndInCase
ModifyTextFile [InstallationDirectory]\[Initfile] Quietly NoBackup
;; InSection [VIDEO]
AddOrChangeLineWith (VGA,=) as "[TextVar]=TRUE" at end
EndModifyTextFile
GetMenuChoice
Mediavision Sound Board
; To get sound with your movies,
; select the type of sound board
; you have installed.
;
Windows Sound System
; To get sound with your movies,
; select the type of sound board
; you have installed.
;
Sound Blaster Series
; To get sound with your movies,
; select the type of sound board
; you have installed.
;
Adlib Gold Series
; To get sound with your movies,
; select the type of sound board
; you have installed.
;
None
; Select this if you don't have
; a sound board installed.
;
EndGetMenuChoice
InCase Choice is
=1: Do SetMediaVSnd
=2: Do SetWinSnd
=3: Do SetSound
=4: Do SetAdLib
=5: Do AutoSnd
EndInCase
[Number8] := 1
EndProcedure ;; end procedure SetCfg
Procedure AutoSnd
ModifyTextFile [InstallationDirectory]\[Initfile] Quietly NoBackup
InSection [SOUND]
AddOrChangeLineWith (SndBrd,=,) as "SndBrd=0" at end
EndModifyTextFile
EndProcedure
Procedure SetMediaVSnd
ModifyTextFile [InstallationDirectory]\[Initfile] Quietly NoBackup
InSection [SOUND]
AddOrChangeLineWith (SndBrd,=,) as "SndBrd=0" at end
EndModifyTextFile
EndProcedure
Procedure SetWinSnd
ModifyTextFile [InstallationDirectory]\[Initfile] Quietly NoBackup
InSection [SOUND]
AddOrChangeLineWith (SndBrd,=,) as "SndBrd=0" at end
EndModifyTextFile
EndProcedure
Procedure SetSound
ModifyTextFile [InstallationDirectory]\[Initfile] Quietly NoBackup
InSection [SOUND]
AddOrChangeLineWith (SndBrd,=,) as "SndBrd=2" at end
EndModifyTextFile
GetMenuChoice Highlight 1
220
; Select the Port that your Sound Blaster Board uses.
; The default is 220. If you don't know this information
; you should be able to find it by looking at your
; autoexec.bat or config.sys.
;
240
; Select the Port that your Sound Blaster Board uses.
; The default is 220. If you don't know this information
; you should be able to find it by looking at your
; autoexec.bat or config.sys.
;
EndGetMenuChoice
InCase Choice is
=1: [TextVar] := "220"
=2: [TextVar] := "240"
EndInCase
ModifyTextFile [InstallationDirectory]\[Initfile] Quietly NoBackup
InSection [SOUND]
AddOrChangeLineWith (SndPort,=,) as "SndPort=[TextVar]" at end
EndModifyTextFile
GetMenuChoice Highlight 4
2
; Select the IRQ that your Sound Blaster Board uses.
; The default is 7. If you don't know this information
; you should be able to find it by looking at your
; autoexec.bat or config.sys.
;
3
; Select the IRQ that your Sound Blaster Board uses.
; The default is 7. If you don't know this information
; you should be able to find it by looking at your
; autoexec.bat or config.sys.
;
5
; Select the IRQ that your Sound Blaster Board uses.
; The default is 7. If you don't know this information
; you should be able to find it by looking at your
; autoexec.bat or config.sys.
;
7
; Select the IRQ that your Sound Blaster Board uses.
; The default is 7. If you don't know this information
; you should be able to find it by looking at your
; autoexec.bat or config.sys.
;
EndGetMenuChoice
InCase Choice is
=1: [TextVar] := "2"
=2: [TextVar] := "3"
=3: [TextVar] := "5"
=4: [TextVar] := "7"
EndInCase
ModifyTextFile [InstallationDirectory]\[Initfile] Quietly NoBackup
InSection [SOUND]
AddOrChangeLineWith (SndIrq,=,) as "SndIrq=[TextVar]" at end
EndModifyTextFile
GetMenuChoice Highlight 2
0
; Select the DMA that your Sound Blaster Board uses.
; The default is 1. If you don't know this information
; you should be able to find it by looking at your
; autoexec.bat or config.sys.
;
1
; Select the DMA that your Sound Blaster Board uses.
; The default is 1. If you don't know this information
; you should be able to find it by looking at your
; autoexec.bat or config.sys.
;
3
; Select the DMA that your Sound Blaster Board uses.
; The default is 1. If you don't know this information
; you should be able to find it by looking at your
; autoexec.bat or config.sys.
;
EndGetMenuChoice
InCase Choice is
=1: [TextVar] := "0"
=2: [TextVar] := "1"
=3: [TextVar] := "3"
EndInCase
ModifyTextFile [InstallationDirectory]\[Initfile] Quietly NoBackup
InSection [SOUND]
AddOrChangeLineWith (SndDma,=,) as "SndDma=[TextVar]" at end
EndModifyTextFile
EndProcedure
Procedure SetAdLib
ModifyTextFile [InstallationDirectory]\[Initfile] Quietly NoBackup
InSection [SOUND]
AddOrChangeLineWith (SndBrd,=,) as "SndBrd=3" at end
EndModifyTextFile
GetMenuChoice Highlight 3
220
; Select the Port that your Adlib Gold Series Board uses.
; The default is 388. If you don't know this information
; you should be able to find it by looking at your
; autoexec.bat or config.sys.
;
240
; Select the Port that your Adlib Gold Series Board uses.
; The default is 388. If you don't know this information
; you should be able to find it by looking at your
; autoexec.bat or config.sys.
;
388
; Select the Port that your Adlib Gold Series Board uses.
; The default is 388. If you don't know this information
; you should be able to find it by looking at your
; autoexec.bat or config.sys.
;
EndGetMenuChoice
InCase Choice is
=1: [TextVar] := "220"
=2: [TextVar] := "240"
=3: [TextVar] := "388"
EndInCase
ModifyTextFile [InstallationDirectory]\[Initfile] Quietly NoBackup
InSection [SOUND]
AddOrChangeLineWith (SndPort,=,) as "SndPort=[TextVar]" at end
EndModifyTextFile
;; ModifyTextFile [InstallationDirectory]\[Initfile] Quietly NoBackup
;; InSection [SOUND]
;; AddOrChangeLineWith (SndPort,=,) as "SndPort=388" at end
;; EndModifyTextFile
GetMenuChoice Highlight 3
3
; Select the IRQ that your AdLib Gold Sound Board uses.
; The default is 5. If you don't know this information
; you should be able to find it by looking at your
; autoexec.bat or config.sys.
;
4
; Select the IRQ that your AdLib Gold Sound Board uses.
; The default is 5. If you don't know this information
; you should be able to find it by looking at your
; autoexec.bat or config.sys.
;
5
; Select the IRQ that your AdLib Gold Sound Board uses.
; The default is 5. If you don't know this information
; you should be able to find it by looking at your
; autoexec.bat or config.sys.
;
7
; Select the IRQ that your AdLib Gold Sound Board uses.
; The default is 5. If you don't know this information
; you should be able to find it by looking at your
; autoexec.bat or config.sys.
;
EndGetMenuChoice
InCase Choice is
=1: [TextVar] := "3"
=2: [TextVar] := "4"
=3: [TextVar] := "5"
=4: [TextVar] := "7"
EndInCase
ModifyTextFile [InstallationDirectory]\[Initfile] Quietly NoBackup
InSection [SOUND]
AddOrChangeLineWith (SndIrq,=,) as "SndIrq=[TextVar]" at end
EndModifyTextFile
GetMenuChoice Highlight 1
1
; Select the DMA that your AdLib Gold Sound Board uses.
; The default is 1 If you don't know this information
; you should be able to find it by looking at your
; autoexec.bat or config.sys.
;
2
; Select the DMA that your AdLib Gold Sound Board uses.
; The default is 1 If you don't know this information
; you should be able to find it by looking at your
; autoexec.bat or config.sys.
;
3
; Select the DMA that your AdLib Gold Sound Board uses.
; The default is 1 If you don't know this information
; you should be able to find it by looking at your
; autoexec.bat or config.sys.
;
EndGetMenuChoice
InCase Choice is
=1: [TextVar] := "1"
=2: [TextVar] := "2"
=3: [TextVar] := "3"
EndInCase
ModifyTextFile [InstallationDirectory]\[Initfile] Quietly NoBackup
InSection [SOUND]
AddOrChangeLineWith (SndDma,=,) as "SndDma=[TextVar]" at end
EndModifyTextFile
EndProcedure
Procedure ByeBye
if [Number8] = 1
else
Popup [Title] was not successfully installed.
Endif
Dialog PressAKey WhiteOnBrown
Thanks for purchasing [Title].
EndDialog
SoLong
EndProcedure
Procedure SetupGro
SetTopLineTo Installing [Title] (Press Esc to exit)
EndProcedure
EndScript