home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1996 May
/
PCW596.iso
/
demo
/
janbit
/
advisor
/
disk1
/
advisor.inf
< prev
next >
Wrap
INI File
|
1994-05-03
|
2KB
|
84 lines
Do Setup
Dialog
Welcome to the Analysis Advisor.
This package requires 8 MB of memory and VGA.
EndDialog
[Point MainDialog]
[Number1] := 0
[Number2] := 0
GetMenuChoice UseHeader "Analysis Advisor Installer"
Full Installation
;Use this choice to install Analysis Advisor
;and all the associated support files.
Quit
;Exit this Installer
EndGetMenuChoice
UnqueAllFiles
InCase Choice is
=1: Do FullInstallation
=3: Do Finished
EndInCase
Procedure FullInstallation
[Number1] := 1
[Number2] := 1
Do QueueFiles
Do BuildGroup
Do Finished
EndProcedure
Procedure QueueFiles
QueFileGroup 1
QueFileGroup 2
DetermineInstallationDrive QueSize RequireFixed BernoulliAsFixed
If QueSize <> 0
DetermineInstallationDirectory InstallationDrive:\advisor QueSize RequireFixed BernoulliAsFixed
;; Select a directory in which to install the files.
GetQuedFiles
EndIf
EndProcedure
Procedure BuildGroup
Dialog [YesOrNo1]
Would you like to place Analysis Advisor
in a Windows program group?
EndDialog
If [YesOrNo1] = Y
BuildProgramGroup "Analysis Advisor" NIDSPWIN.GRP
[InstallationDirectory]\advisor.exe "Advisor"
EndBuildProgramGroup
EndIf
EndProcedure
Procedure Finished
Dialog PressAKey WhiteOnBrown UseHeader "Installation Complete"
Thank you for using Analysis Advisor!
Press OK to continue.
EndDialog
SoLong
EndProcedure
Procedure Setup
SetTopLineTo Installing Analysis Advisor (Press Esc to exit)
;; While it is not documented anywhere else it is true that FreeSpaceOnDrive
;; considers only the first character of its first parameter (in this case
;; the drive letter of the temporary directory).
If FreeSpaceOnDrive ShadowDirectory < 25000
popup There is insufficient space on the TEMP drive for installation.
SoLong
EndIf
SetDefaultBitmap off
ShowWindow Maximized
SetReplacementInquiry off
EndProcedure
EndScript