home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer 7
/
1995-06_Disc_7.iso
/
pg2
/
pgdemo35.inf
< prev
next >
Wrap
Text File
|
1995-03-14
|
3KB
|
90 lines
;; Install program for The Perfect General II DEMO from floppy
Do SetupINSTALIT
Dialog
.cWelcome to The Perfect General II DEMO
.cLet's do the installation!
EndDialog
:Point1
GoToXY @xy(1,3)
GetMenuChoice
Install The Perfect General II DEMO
; Installs The Perfect General II DEMO onto your hard drive.
; (Requires approximately 6Mb hard drive space.)
Quit
; Exit this installation process without installing TPG2DEMO.
EndGetMenuChoice
InCase Choice is
=1: Do InstallTPG2DEMO
=2: Do InstallCancel
EndInCase
GoTo [Point1]
Procedure InstallTPG2DEMO
;; Deterine space needed - leave room for sound configuration!
[Number1] := 200000 + SizeOfGroup 1 + SizeOfGroup 2 + SizeOfGroup 3
[Number1] := [Number1] + SizeOfGroup 4 + SizeOfGroup 5 + SizeOfGroup 6
DetermineInstallationDrive [Number1] RequireFixed
DetermineInstallationDirectory [Number1] RequireFixed
CreateDirectoryIfNecessary [InstallationDirectory]
CreateDirectoryIfNecessary [InstallationDirectory]\SOUND
CreateDirectoryIfNecessary [InstallationDirectory]\SCEN
CreateDirectoryIfNecessary [InstallationDirectory]\ICONS
CreateDirectoryIfNecessary [InstallationDirectory]\ICONS\1
CreateDirectoryIfNecessary [InstallationDirectory]\ICONS\2
QueFileGroup 1 to [InstallationDirectory] NoInquiry ;; Top directory stuff
QueFileGroup 2 to [InstallationDirectory]\SOUND NoInquiry ;; Sound directory stuff
QueFileGroup 3 to [InstallationDirectory]\SCEN NoInquiry ;; Scenarios
QueFileGroup 4 to [InstallationDirectory]\ICONS NoInquiry ;; Main graphics dir
QueFileGroup 5 to [InstallationDirectory]\ICONS\1 NoInquiry ;; Graphics set 1
QueFileGroup 6 to [InstallationDirectory]\ICONS\2 NoInquiry ;; Graphics set 2
GetQuedFiles
ChangeDirectoryTo [InstallationDirectory]
Run PGDSETUP.EXE SwapOut
ClearScreen
Dialog PressAKey WhiteOnBrown
.cThe Perfect General II DEMO is now installed.
To start the game, type TPG2DEMO while in the TPG2DEMO directory
on your hard drive. If you need to change sound card drivers, or
other game configuration options, please run PGDSETUP in your demo
directory.
.cPlease read the online help for further information about the game.
EndDialog
SoLong
EndProcedure
Procedure InstallCancel
Dialog PressAKey WhiteOnRed
The Perfect General II DEMO has not been installed. To run the
demo, this installation program will need to be run again.
EndDialog
SoLong
EndProcedure
Procedure SetupINSTALIT
SetBackgroundCharTo B0
SetShadowAttrTo BlackOnBlack
SetScreenAttrTo WhiteOnBlue
SetTopLineAttrTo WhiteOnBrown
SetTopLineTo " INSTALLING THE PERFECT GENERAL II DEMO "
SetBottomLineAttrTo WhiteOnLightGray
SetBottomLineTo " Call (908)788-2799 for assistance. Use <Ctrl+X> to quit. "
SetExitMessageTo Thanks again!
EndProcedure
EndScript