home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC/CD Gamer UK 44
/
PCGAMER44.bin
/
games
/
minigolf
/
sierra.inf
< prev
Wrap
INI File
|
1997-03-19
|
7KB
|
273 lines
[Setup]
SetupSize=900
BillboardSize=0
CanInstallDOS=No
Win95Logo=1
RegProductKey=MINIGOLFDEMO
RegKey0=InstallDir
RegValue0=*DESTDIR
ForceLanguage=ENGLISH
[Requirements]
SetupVer=3.2.2.1
Colors=256
MemKB=12288
PhysicalMem=8192
SwapFile=12288
VideoSpeed=300
Wave=2
MIDI=1
CPU=486-66
WinVer=310
ScreenWidth=640
ScreenHeight=480
Joystick=1
Printer=0
CDROM=2
[Ident]
Version=1000
ProductID=32609
[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 7, FailedWinSpace
FailTitleWinSpace
1, FailTextWinSpace
1, FailTextWinSpace2
10, OKText
END
BEGIN 8, InstallType
InstallTypeTitle
1, InstallTypePrompt1
1, InstallTypePrompt2
1, InstallTypePrompt3
3, Large, (), FLAG14
3, Small, (), FLAG15
10, OKText
END
BEGIN 9, DXInstallType
DXInstallTitle
1, DXInstallPrompt1
1, DXInstallPrompt2
3, NODXInstall, (), FLAG16
3, YESDXInstall, (), FLAG17
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
;
; FLAG12 - TRUE if user is running WIN95
; FLAG13 - TRUE if user has an older version of DirectX
; FLAG14 - TRUE if user wants a large install
; FLAG15 - TRUE if user wants a small install
; FLAG16 - TRUE if user does NOT want DX3a Installed
; FLAG17 - TRUE if user does want DX3a Installed
;
; Determine if running on NT or Win95
NOTWINNT FLAG0
FLAG0 TOGGLEGROUPON 30
ONWIN95ONLY FLAG12
;
;
; Determine which system components will be installed
FLAG0 VERSIONCHECK *SYSTEMDIR\WIN32S16.DLL 1.30.172.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.04.00.0068 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 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 DirectX for Windows95
FLAG12 VERSIONCHECK *SYSTEMDIR\DSOUND.DLL 4.04.00.0068 FLAG13
FLAG12 FLAG13 DIALOG DXInstallType
FLAG17 FLAG12 FLAG13 INSTALLDIRECTX
;
;
; Get the Install Type - demo always install the entire game
;DIALOG InstallType
;FLAG14 TOGGLEGROUPON 20
;
;
; Pick destination directory.
PICKDEST End
;
;
; Copy all of the files to hard drive.
COPY
;
; Complete Demo Installation
;
ADDPROGMANGROUP GROUP
ADDPROGMANITEM *DESTDIR\MINIGOLF.EXE,INSTALLEDTITLE,*DESTDIR\MINIGOLF.ICO,*DESTDIR\
ADDPROGMANITEM *SOURCEDIR\MINIGOLF\MGHELP.HLP, MINIGOLFHELPTITLE, ,*SOURCEDIR\MINIGOLF
;
; Setup default configuration for Ultra Minigolf.
ADDTOINI *WINDOWSDIR\SIERRA.INI, MINIGOLF, InstallPath, *DESTDIR
ADDTOINI *WINDOWSDIR\SIERRA.INI, MINIGOLF, CDPath, *SOURCEDIR\MINIGOLF
;
; Setup Win95 Registry
FLAG12 DOWIN95REGISTRY
;
; Does User want to register?
;
DIALOG Register
FLAG8 REGISTER
;
; Install Win32S via Microsoft Setup // Do this last as this will reset the system
FLAG0 VERSIONCHECK *SYSTEMDIR\WIN32S16.DLL 1.30.172.0 FLAG5
FLAG0 FLAG5 RUN 1 WIN32S\DISK1\MYSETUP.EXE *SOURCEDIR\WIN32S\DISK1\MYSETUP.EXE
FLAG0 VERSIONCHECK *SYSTEMDIR\WIN32S16.DLL 1.30.172.0 FLAG6
FLAG0 FLAG6 GOTO FailWin32s
;
;
; If any system files were installed, user MUST restart their system.
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 Not Enough space in Windows directory
;
:NoWinSpace
DIALOG FailedWinSpace
GOTO End
;
;
:End
END
[Archives]
Minigolf\,1,0,0
Minigolf\MID\,1,0,0
Minigolf\DATA\,1,0,0
WIN31\,1,0,0
[Files]
;
; 3D Ultra Mini Golf Files
;
*DESTDIR\MINIGOLF.exe,Minigolf\,1,372274,1
*DESTDIR\MINIGOLF.ICO,NOARCHIVE,1,10000,1
*DESTDIR\BOOTDISK.EXE,NOARCHIVE,1,36848,0,30
*DESTDIR\BOOTDISK.ICO,NOARCHIVE,1,766,0,30
*DESTDIR\DSOUND.DLL,WIN31\,1,141900,0,30
*DESTDIR\DSOUND.INI,WIN31\,1,2552,0,30
*DESTDIR\SPLASH6.BMP,Minigolf\,1,308278,1
*DESTDIR\MGTile.BMP,Minigolf\,1,30278,1
*DESTDIR\MENGLISH.dlx,Minigolf\,1,18432,1
*DESTDIR\MENGDIBS.dlx,Minigolf\,1,1267952,1
*DESTDIR\MID\lostmine.MID,Minigolf\MID\,1,11841,1
*DESTDIR\MID\THEME.MID,Minigolf\MID\,1,11841,1
*DESTDIR\MID\WACKYTIM.MID,Minigolf\MID\,1,11841,1
*DESTDIR\MID\WINDMILL.MID,Minigolf\MID\,1,11841,1
*DESTDIR\MGFONT1.TTF,Minigolf\,1,51320,1
*DESTDIR\MGFONT2.TTF,Minigolf\,1,26320,1
*DESTDIR\MGFONT3.TTF,Minigolf\,1,54320,1
*DESTDIR\DATA\MAIN.rbx,Minigolf\DATA\,1,1187316,1
*DESTDIR\DATA\lostmine.rbx,Minigolf\DATA\,1,9502551,1
*DESTDIR\DATA\wackytim.rbx,Minigolf\DATA\,1,11814624,1
*DESTDIR\DATA\windmill.rbx,Minigolf\DATA\,1,7572362,1