home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hoog Spel 50
/
Hoogspel50CDROM.iso
/
PINBALL2
/
SIERRA.INF
< prev
next >
Wrap
INI File
|
1996-08-20
|
6KB
|
248 lines
[Setup]
SetupSize=900
BillboardSize=0
CanInstallDOS=No
Win95Logo=1
RegProductKey=CREEPNIGHT
RegKey0=InstallDir
RegValue0=*DESTDIR
[Requirements]
SetupVer=3.1.0.0
Colors=256
MemKB=7168
PhysicalMem=7168
SwapFile=7168
VideoSpeed=300
Wave=2
MIDI=1
CPU=486-33
WinVer=310
ScreenWidth=640
ScreenHeight=480
Joystick=1
Printer=0
CDROM=2
[Ident]
Version=1000
ProductID=83696
[Dialogs]
BEGIN 0,NotifyInstallSystem
InstallSystem
1, NotifySysText
10, OKText
END
BEGIN 2, Restart
Installation Complete
1, RestartPrompt1
1, RestartPrompt2
10, RestartNow, (), FLAG9
13, RestartLater
END
BEGIN 3, Done
AllDone
1, AllDoneText
10, OKText
END
BEGIN 4, FailedWin32s
FailTitleWin32s
1, FailTextWin32s
1, FailTextWin32sShare
1, FailTextWin32sShare1
1, FailTextWin32sShare2
1, FailTextWin32sShare3
1, FailTextWin32sShare4
1, FailTextWin32sShare5
10, OKText
END
BEGIN 5, FailedWinG
FailTitleWinG
1, FailTextWinG
10, OKText
END
BEGIN 6, FailedVFW
FailTitleVFW
1, FailTextVFW
10, OKText
END
BEGIN 7, FailedWinSpace
FailTitleWinSpace
1, FailTextWinSpace
1, FailTextWinSpace2
10, OKText
END
BEGIN 0,InstalledPinball2
INSTALLEDTITLE
1, INSTALLED1
1, INSTALLED2
1, INSTALLED3
1, INSTALLED4
1, INSTALLED5
10, OKText
END
BEGIN 0, Demos
INSTALL_DEMOS
1, DEMO_TEXT1
1, DEMO_TEXT2
2, DEMO1, (), FLAG17
10, OKText
11, CANCELText
END
BEGIN 0,InstalledDemos
INSTALLEDDEMOS
1, INSTALLEDDEMOS1
1, INSTALLEDDEMOS2
1, INSTALLEDDEMOS3
10, OKText
END
[Script]
:Begin
;
; FLAG usage:
; FLAG0 - TRUE if not running NT or Win95
; FLAG1 - TRUE if Video for Windows needs to be installed
; FLAG2 - TRUE if Video for Windows failed to install
; FLAG3 - TRUE if WinG needs to be installed
; FLAG4 - TRUE if WinG failed to install
; FLAG5 - TRUE if Win32s needs to be installed
; FLAG6 - TRUE if Win32s failed to install
; FLAG7 - TRUE if user does not have enough disk space
; FLAG9 - TRUE if user wants to restart computer
;
; FLAG12 - TRUE if user is running WIN95
; FLAG13 - TRUE if user has an older version of DirectX
; FLAG15 - TRUE if user wants to install the demos
; FLAG17 - TRUE if user wants to Install Pinball Demo
;
; Determine if running on NT or Win95
NOTWINNT FLAG0
ONWIN95ONLY FLAG12
;
;
; Determine which system components will be installed
FLAG0 VERSIONCHECK *SYSTEMDIR\WIN32S16.DLL 1.30.159.0 FLAG5
FLAG0 VERSIONCHECK *SYSTEMDIR\WING.DLL 1.0.0.37 FLAG3
FLAG0 VERSIONCHECK *SYSTEMDIR\AVIFILE.DLL 1.10.0.179 FLAG1
FLAG12 VERSIONCHECK *SYSTEMDIR\DSOUND.DLL 4.02.0.0095 FLAG13
;
; Determine if there is enough space on system drive
FLAG3 WinDiskSpace_LT 500 FLAG7
FLAG7 goto NoWinSpace
FLAG1 WinDiskSpace_LT 1500 FLAG7
FLAG7 goto NoWinSpace
FLAG5 WinDiskSpace_LT 2000 FLAG7
FLAG7 goto NoWinSpace
FLAG3 FLAG1 WinDiskSpace_LT 2000 FLAG7
FLAG7 goto NoWinSpace
FLAG3 FLAG5 WinDiskSpace_LT 2500 FLAG7
FLAG7 goto NoWinSpace
FLAG5 FLAG1 WinDiskSpace_LT 3500 FLAG7
FLAG7 goto NoWinSpace
FLAG3 FLAG5 FLAG1 WinDiskSpace_LT 4000 FLAG7
FLAG7 goto NoWinSpace
;
;
; Notify player system stuff is going to be installed.
FLAG13 FLAG1 FLAG3 FLAG5 DIALOG NotifyInstallSystem
;
;
; Install Win32S via Microsoft Setup
FLAG0 VERSIONCHECK *SYSTEMDIR\WIN32S16.DLL 1.30.159.0 FLAG5
FLAG0 FLAG5 RUN 1 WIN32S\DISK1\MSSETUP.EXE *SOURCEDIR\WIN32S\DISK1\MSSETUP.EXE
FLAG0 VERSIONCHECK *SYSTEMDIR\WIN32S16.DLL 1.30.159.0 FLAG6
FLAG0 FLAG6 GOTO FailWin32s
;
;
; Install WinG via Microsoft Setup
FLAG0 VERSIONCHECK *SYSTEMDIR\WING.DLL 1.0.0.37 FLAG3
FLAG0 FLAG3 RUN 1 WING\MSSETUP.EXE *SOURCEDIR\WING\MSSETUP.EXE
FLAG0 VERSIONCHECK *SYSTEMDIR\WING.DLL 1.0.0.37 FLAG4
FLAG0 FLAG4 GOTO FailWinG
;
;
; Install Video for Windows via Microsoft Setup
FLAG0 VERSIONCHECK *SYSTEMDIR\AVIFILE.DLL 1.10.0.179 FLAG1
FLAG0 FLAG1 RUN 1 VFW11E\MSSETUP.EXE *SOURCEDIR\VFW11E\MSSETUP.EXE
FLAG0 VERSIONCHECK *SYSTEMDIR\AVIFILE.DLL 1.10.0.179 FLAG2
FLAG0 FLAG2 GOTO FailVFW
;
;
; Install DirectX for Windows95
FLAG12 VERSIONCHECK *SYSTEMDIR\DSOUND.DLL 4.02.0.0095 FLAG13
FLAG12 FLAG13 INSTALLDIRECTX
;
; Install Demos
;
:InstallDemos
DIALOG Demos
FLAG17 GOTO DOIT
End
:DOIT
;
; Complete Demo Installation
;
ADDPROGMANGROUP GROUP
;
:DemoPinball
FLAG17 GOTO DemoPinball2
GOTO DemosDone
:DemoPinball2
ADDTOINI *WINDOWSDIR\SIERRA.INI, UPB2Demo, InstallPath, *SOURCEDIR\DEMOS\UPB2DEMO
ADDTOINI *WINDOWSDIR\SIERRA.INI, UPB2Demo, CDPath, *SOURCEDIR\DEMOS\UPB2DEMO
ADDPROGMANITEM *SOURCEDIR\UPB2DEMO\PB2DEMO.EXE,DEMO1_NAME,*SOURCEDIR\UPB2DEMO\PB2DEMO.EXE,*SOURCEDIR\UPB2DEMO\
:DemosDone
DIALOG InstalledDemos
;
; Finished with Demos
;
; If any system files were installed, user MUST restart their system.
:SkipDemos
FLAG1 GOTO AskRestart
FLAG3 GOTO AskRestart
FLAG5 GOTO AskRestart
FLAG12 FLAG13 GOTO AskRestart
GOTO End
;
;
; Prompt user that their system needs to be restarted.
:AskRestart
DIALOG Restart
FLAG9 RESTARTWINDOWS
;
;
; If user did not restart, remind them again.
DIALOG Done
GOTO End
;
;
; Display Win32s failed to install
:FailWin32s
DIALOG FailedWin32s
GOTO End
;
;
; Display WinG failed to install
:FailWinG
DIALOG FailedWinG
GOTO End
;
;
; Display Video for Windows failed to install
:FailVFW
DIALOG FailedVFW
GOTO End
;
;
; Display Not Enough space in Windows directory
;
:NoWinSpace
DIALOG FailedWinSpace
GOTO End
;
;
:End
END