home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip: Special Sound & MIDI
/
Chip-Special_Sound-und-Midi-auf-dem-PC.bin
/
dostools
/
gravis
/
gussdk.inf
< prev
next >
Wrap
INI File
|
1993-05-25
|
11KB
|
376 lines
;;===========================================================================
;; Title: Gravis UltraSound SDK Install
;; Version: 2.01
;; Date: 05/20/93
;;
;; Revision History
;; 05/20/93 - First Install - Use the same script as the V2.06 disks but
;; strip out all the unnecessary stuff.
;;
;;===========================================================================
;; -----------------
;; What Variables Are Used For
;; -----------------
;; [Dir1] <UNUSED>
;; [Dir2] Install From Drive Letter
;; [Dir3] Where README is Located
;; [Dir4] <UNUSED>
;; [Dir5] <UNUSED>
;; [Dir6] <UNUSED>
;; [Dir7] <UNUSED>
;; [Dir8] <UNUSED>
;; [Dir9] <UNUSED>
;; [Number1] <UNUSED>
;; [Number2] <UNUSED>
;; [Number3] Actual byte size of users install
;; [Number4] <UNUSED>
;; [Number5] <UNUSED>
;; [Number6] <UNUSED>
;; [Number7] <UNUSED>
;; [Number8] <UNUSED>
;; [Number9] <UNUSED>
;; [String1] File name to restore
;; [String2] <UNUSED>
;; [String3] <UNUSED>
;; [String4] <UNUSED>
;; [String5] <UNUSED>
;; [String6] <UNUSED>
;; [String7] <UNUSED>
;; [String8] <UNUSED>
;; [String9] <UNUSED>
;; [YesorNo1] <UNUSED>
;; [YesorNo2] Hide function keys
;; [YesorNo3] <UNUSED>
;; [YesorNo4] Overwrite files?
;; [YesorNo5] <UNUSED>
;; [YesorNo6] <UNUSED>
;; [YesorNo7] <UNUSED>
;; [YesorNo8] <UNUSED>
;; [YesorNo9] <UNUSED>
;; [Point1] <UNUSED>
;; [Point2] <UNUSED>
;; [Point3] <UNUSED>
;; [Point4] Ask where to install again?
;; [Point5] <UNUSED>
;; [Point6] File not there
;; [Point7] <UNUSED>
;; [Point8] <UNUSED>
;; [Point9] <UNUSED>
;;======================================
;; Author: John Smith
;; Date: 04/06/93
;; Purpose: Define Variables
;;======================================
[Dir1] := [WindowsDirectory]
[Dir2] := [InstallFromDrive]:
[Dir3] := InstalitDirectory
;;======================================
;; Author: Forte
;; Date: 03/xx/93
;; Rev: 05/20/93 - Make a mention of the GRAVNODE list
;; Purpose: What to Show user if they have a bad disk
;;======================================
SetSupportInformation
You may have a corrupted disk. Please try installing again. If
unsuccessful, please call Advanced Gravis Tech Support for a
replacement disk or download the disk from one of the BBS nodes
listed in GRAVNODE.TXT.
.cTechnical Support (9am-4pm PST)......1-604-431-1807
.cBulletin Board System (V32bis N81)...1-604-431-5927
EndSetSupportInformation
;;======================================
;; Author: John Smith
;; Date: 04/06/93
;; Purpose: Show Title Screen
;;======================================
Do OpeningScreen ;; Call the Opening Screen
ClearScreen
SetBackgroundCharTo B0 ;; Set Bkgrd to Blue/White
ChangeDirectoryTo [Dir2] ;; Goto Install From Drive
LetButton <F1> Do ShowHelp
LetButton <F2> Do GetReadme
:MAIN
[YesorNo2] := YesCharacter ;; Show Function Keys
Do TitleScreen
QueAllFiles ;; Determine Total Size
[Number3] := QueSize ;; of Install. Handy cause
UnQueAllFiles ;; independate of version
TextBox WhiteOnBlue @xy(Center,3)
A complete install requires [Number3] bytes of hard disk space
"NOTE: Programs such as STACKER, and DOUBLE SPACE may not"
" accurately report the true drive space remaining."
EndTextBox
GetMenuChoice WhiteOnLightBlue @xy(Center,9) Highlight 1 UseHeader "Installation Main Menu"
Install All UltraSound SDK Software
Restore File(s)
; Restore a single or group of files
Exit
; Exit the Install and return to DOS
EndGetMenuChoice
[YesorNo2] := NoCharacter ;; Hide Function Keys
InCase Choice is
=1: UnQueAllFiles
QueAllFiles
=2: Do GetUserFile
Goto MAIN
=3: UnQueAllFiles
Do Bye
EndInCase
ClearScreen
Do TitleScreen
Do CopyQueFiles ;; Copy Requested File Groups
Goto MAIN ;; Goto Main Menu
;;===========================================================================
;;
;; Start of Procedures
;;
;;===========================================================================
;;======================================
;; Author: John Smith
;; Date: 04/20/93
;; Rev: 05/20/93 - Strip out stuff from V2.06 Install Disk
;; Purpose: Determine Where to Copy Files then do It
;;======================================
Procedure CopyQueFiles
;;-----------------
;; Now that we know what we are to copy, lets figure out where to put it all
;;-----------------
[Number3] := QueSize ;; How Much to Copy?
If [Number3] > 0
Do DetermineWhere ;; Where to Copy Files
SetReplacementInquiry off
;;-----------------
;; Copy README Stuff if Not already there
;;-----------------
If FileExists [InstallationDirectory]\README
Else
CopyFiles From [InstallFromDrive]:\ To [InstallationDirectory] Quietly
GV.EXE
README
EndCopyFiles
EndIf
[Dir3] := [InstallationDirectory]
;;-----------------
;; Copy QUED Files
;;-----------------
GetQuedFiles
Do TitleScreen
EndIf
EndProcedure
;;======================================
;; Author: John Smith
;; Date: 04/09/93
;; Purpose: Figure Out Destination
;;======================================
Procedure DetermineWhere
DetermineInstallationDrive [Number3] RequireFixed ConfirmRAM AllowNetwork
ClearScreen
Do TitleScreen
TextBox WhiteOnBlue @xy(Center,19)
NOTE: The default directory is recommended so
that future upgrades are easier to perform.
EndTextBox
[Point4]
SetBottomLineAttrTo YellowOnRed
SetBottomLineTo " Press RETURN to Accept and Proceed with Installation "
DetermineInstallationDirectory [String3] [Number3] NoCreate
[String3] := [InstallationDirectory]
ClearScreen
DO TitleScreen
;; If directory exists inform user files will be overwritten
If DirectoryExists [InstallationDirectory]
Dialog [YesOrNo4] WhiteOnRed @xy(Center,Center)
This directory already exists. If you continue files may
be overwritten. Would you like to continue?
EndDialog
If [YesOrNo4] = N
GoTo [Point4]
EndIf
EndIf
EndProcedure
;;======================================
;; Author: John Smith
;; Date: 04/07/93
;; Purpose: Restore a Single File
;;======================================
Procedure GetUserFile
Dialog [String1] YellowOnRed @xy(5,7) 12
Which file(s) do you wish to restore? (Wild Cards are accepted)
EndDialog
If [String1] = BlankString
Goto [Point6]
Endif
If [String1] Contains \
PopUp Please enter the file name with no path.
Goto [Point6]
EndIf
If FileIsInLibrary [String1]
else
PopUp That file name is not available. Please try again.
Goto [Point6]
EndIf
QueFiles
[String1]
EndQueFiles
[Number3] := QueSize
Do DetermineWhere
GetQuedFiles
[Point6]
EndProcedure
;;======================================
;; Author: John Smith
;; Date: 04/09/93
;; Purpose: What to Show User if they Select HELP
;;======================================
Procedure ShowHelp
If [YesorNo2] = YesCharacter
Dialog PressAnyKey YellowOnRed @xy(Center,Center)
Should you experience any difficulties with the UltraSound
SDK Install you may contact Gravis customer service at:
Advanced Gravis
3750 North Fraser Way, #101
Burnaby, BC, Canada
V5J 5E9
Technical Support (9am-4pm PST)......1-604-431-1807
Bulletin Board System (V32bis N81)...1-604-431-5927
Fax..................................1-604-451-9358
NOTE: These calls are to Canada!! We strongly recommend
you read the README file and the MANUAL before calling
to save time and money.
EndDialog
EndIf
EndProcedure
;;======================================
;; Author: John Smith
;; Date: 04/07/93
;; Purpose: View README file
;;======================================
Procedure GetReadme ;; To read the Readme file for latest updated info
If [YesorNo2] = YesCharacter
[Dir6] := CurrentDirectory
ChangeDirectoryTo [Dir3]
Run GV README NoPrompt
ChangeDirectoryTo [Dir6]
EndIf
EndProcedure
;;======================================
;; Author: John Smith
;; Date: 04/09/93
;; Purpose: Display Exit Message
;;======================================
Procedure Bye
SoLong
EndProcedure
;;======================================
;; Author: John Smith
;; Date: 04/27/93
;; Purpose: Put Title Bars on the Screen
;;======================================
Procedure TitleScreen
SetTopLineAttrTo YellowOnRed
SetTopLineTo " Gravis UltraSound SDK (GUS) Installation - V2.01 "
TextBox WhiteOnRed @xy(Center,19)
.cUltraSound by
.cAdvanced Gravis Computer Technology Ltd.
.cBurnaby, BC, Canada
EndTextBox
SetBottomLineAttrTo WhiteOnRed
If [YesorNo2] = NoCharacter
SetBottomLineTo " CTRL+X=Exit "
Else
SetBottomLineTo " F1=Help F2=View ReadMe CTRL+X=Exit "
EndIf
EndProcedure
;;======================================
;; Author: John Smith
;; Date: 05/05/93
;; Purpose: Throw up a dialog box welcoming user to Install
;;======================================
Procedure OpeningScreen
ClearScreen
SetTopLineAttrTo YellowOnRed
SetTopLineTo " Gravis UltraSound SDK (GUS) Installation - V2.01 "
TextBox WhiteOnRed @xy(7,4)
.cManufactured by
.cA d v a n c e d
" ▄▄▄ ▄▄▄▄ ▄▄▄ ▄▄ ▄▄ ▄ ▄▄▄▄ "
"▐ ▄▄ ▐ ▌ ▐█ █▌ ▐█ █▌ █ ▐▄▄▄▄ "
"▐ ▌▐▀█▀ ▐█ █▌ ▐█ █▌ █ ▌"
" ▀▀▀ ▀ ▀ ▀ ▀ ▀▀▀ ▀ ▀▀▀▀ "
.cBurnaby, BC, Canada
EndTextBox
TextBox WhiteOnRed @xy(42,15)
.cDesigned by
.cFORTE Technologies Inc.
.cRochester, NY, USA
EndTextBox
TextBox WhiteOnRed @xy(5,20)
________________________
EndTextBox
GoToXY @xy(7,21)
PressAnyKey
EndProcedure
EndScript