home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Total Meltdown
/
dukenukemtotalmeltdown.img
/
demos
/
upinball
/
sierra.inf
< prev
next >
Wrap
INI File
|
1996-01-31
|
5KB
|
229 lines
[Setup]
SetupSize=380
BillboardSize=0
CanInstallDOS=No
[Requirements]
SetupVer=2.1.0.0
Colors=256
MemKB=7168
PhysicalMem=7168
SwapFile=7168
VideoSpeed=300
Wave=2
MIDI=2
CPU=486
WinVer=310
ScreenWidth=640
ScreenHeight=480
Joystick=0
Printer=0
CDROM=2
[Ident]
Version=100
ProductID=86883
[Dialogs]
BEGIN 0,NotifyInstallSystem
InstallSystem
1, NotifySysText
10, OKText
END
BEGIN 1,Register
Register
1, RegisterText1
12, YESText, (), FLAG8
13, NOText
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 8, InstallType
InstallTypeTitle
1, InstallTypePrompt1
1, InstallTypePrompt2
1, InstallTypePrompt3
3, Small, (), FLAG11
3, Large, (), FLAG10
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
; FLAG8 - TRUE if user wants to register product
; FLAG9 - TRUE if user wants to restart computer
;
; FLAG10 - TRUE if user wants a Large install
; FLAG11 - TRUE if user wants a Small install
;
;
; Determine if running on NT or Win95
NOTWINNT FLAG0
FLAG0 TOGGLEGROUPON 20
;
;
; Determine which system components will be installed
FLAG0 VERSIONCHECK *SYSTEMDIR\WIN32S16.DLL 1.25.142.0 FLAG5
FLAG0 VERSIONCHECK *SYSTEMDIR\WING.DLL 1.0.0.37 FLAG3
FLAG0 VERSIONCHECK *SYSTEMDIR\AVIFILE.DLL 1.10.0.179 FLAG1
;
;
; Notify player system stuff is going to be installed.
FLAG1 FLAG3 FLAG5 DIALOG NotifyInstallSystem
;
;
; Install Win32S via Microsoft Setup
FLAG0 VERSIONCHECK *SYSTEMDIR\WIN32S16.DLL 1.25.142.0 FLAG5
FLAG0 FLAG5 RUN 1 WIN32S\DISK1\MSSETUP.EXE *SOURCEDIR\WIN32S\DISK1\MSSETUP.EXE
FLAG0 VERSIONCHECK *SYSTEMDIR\WIN32S16.DLL 1.25.142.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
;
;
; Get type of install (large or small)
;DIALOG InstallType
TOGGLEGROUPON 10
;
;
; Pick destination directory.
PICKDEST End
;
;
; Copy all of the files to hard drive.
COPY
;
;
; Setup default configuration for Ultra Pinball.
ADDTOINI *WINDOWSDIR\SIERRA.INI, UPBDemo, InstallPath, *DESTDIR
ADDTOINI *WINDOWSDIR\SIERRA.INI, UPBDemo, CDPath, *SOURCEDIR\UPINBALL
;
;
; Create "Sierra" group and add program icons
ADDPROGMANGROUP Sierra
ADDPROGMANITEM *SIERRADIR\SETUP.EXE, SetupTitle
ADDPROGMANITEM *DESTDIR\UPINBALL\PINBALL.EXE,PinballTitle
; If any system files were installed, user MUST restart their system.
FLAG1 GOTO AskRestart
FLAG3 GOTO AskRestart
FLAG5 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
[Archives]
UPINBALL\,1,0,0
[Files]
RESOURCE.001,UPINBALL\,1,3061483,0,10
RESOURCE.002,UPINBALL\,1,3986769,0,10
DRUM.BNK,UPINBALL\,1,5404,0,10
MELODIC.BNK,UPINBALL\,1,5404,0,10
CTL3D.DLL,UPINBALL\,1,14416,0,10
SOS32S02.DLL,UPINBALL\,1,23040,0,10
SOS9502.DLL,UPINBALL\,1,82944,0,10
SOSLIBS2.DLL,UPINBALL\,1,73703,0,10
PINBALL.EXE,UPINBALL\,1,385024,0,10
SOSLIB.INI,UPINBALL\,1,3960,0,10
RESOURCE.MAP,UPINBALL\,1,1156,0,10
RESOURCE.RME,UPINBALL\,1,1830,0,10
HMIDRV.WIN,UPINBALL\,1,46473,0,10
HMIMDRV.WIN,UPINBALL\,1,21142,0,10