home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer 14
/
1996-01_Disc_14.iso
/
tbdemo
/
sierra.inf
< prev
Wrap
INI File
|
1995-10-12
|
7KB
|
285 lines
[Setup]
SetupSize=840
BillboardSize=0
CanInstallDOS=No
[Requirements]
SetupVer=2.2.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=86881
[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
1, InstallTypePrompt4
3, Small, (), FLAG10
3, Medium, (), FLAG11
3, Large, (), FLAG12
10, OKText
END
BEGIN 9, CDCache
CDCacheTitle
1, CDCacheText1
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 Small install
; FLAG11 - TRUE if user wants a Medium install
; FLAG12 - TRUE if user wants a Large install
;
; FLAG13 - TRUE if CD cache is not optimized
;
; GROUP10 - Boot Disk Maker
; GROUP20 - Small Install
; GROUP30 - Medium Install
; GROUP40 - Large Install
;
;
; Determine if running on NT or Win95
NOTWINNT FLAG0
FLAG0 TOGGLEGROUPON 10
;
;
; 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
;
; 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.
FLAG1 FLAG3 FLAG5 DIALOG NotifyInstallSystem
;
;
; Install Win32S via Microsoft Setup
;FLAG0 WIN32CHECK SILENT 1.30.152.0, ,FLAG5
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
;FLAG10 TOGGLEGROUPON 20
;FLAG11 TOGGLEGROUPON 30
;FLAG12 TOGGLEGROUPON 40
;
;
; Pick destination directory.
PICKDEST End
;
;
; Copy all of the files to hard drive.
COPY
;
;
; Setup default configuration for fishing.
ADDTOINI *WINDOWSDIR\SIERRA.INI, TBassDmo, InstallPath, *DESTDIR
ADDTOINI *WINDOWSDIR\SIERRA.INI, TBassDmo, CDPath, *SOURCEDIR\SIM
;FLAG?? ADDTOINI *DESTDIR\AUTORUN.INF, English, ProgramEXE, TBASS.EXE
;
;
; Create "Sierra" group and add program icons
GOTO AddGroups
ADDPROGMANGROUP Sierra
ADDPROGMANITEM *SIERRADIR\SETUP.EXE, SetupTitle, ,*SIERRADIR
ADDPROGMANITEM *DESTDIR\AUTORUN.EXE, ProgManTitle, *DESTDIR\AUTORUN.EXE, *DESTDIR
;ADDPROGMANITEM *SOURCEDIR\SIM\TBASSHLP.EXE, HelpTitle, , *SOURCEDIR\SIM
ADDPROGMANITEM *DESTDIR\BOOTDISK.EXE -s1024 -c -w -rwin/n, BootDiskTitle, *DESTDIR\BOOTDISK.ICO, *DESTDIR
:AddGroups
ADDTOINI *DESTDIR\AUTORUN.INF, ProgramEntries, Item1, [CreateGroup(Sierra)]
ADDTOINI *DESTDIR\AUTORUN.INF, ProgramEntries, Item2, [ShowGroup(Sierra,2)]
ADDTOINI *DESTDIR\AUTORUN.INF, ProgramEntries, Item3, [ShowGroup(Sierra,1)]
ADDTOINI *DESTDIR\AUTORUN.INF, ProgramEntries, Item4, [ReplaceItem(Setup & Uninstall)]
ADDTOINI *DESTDIR\AUTORUN.INF, ProgramEntries, Item5, [AddItem(*SIERRADIR\SETUP.EXE,Setup & Uninstall)]
ADDTOINI *DESTDIR\AUTORUN.INF, ProgramEntries, Item6, [ReplaceItem(Trophy Bass Demo)]
ADDTOINI *DESTDIR\AUTORUN.INF, ProgramEntries, Item7, [AddItem(*DESTDIR\AUTORUN.EXE,Trophy Bass Demo)]
;ADDTOINI *DESTDIR\AUTORUN.INF, ProgramEntries, Item8, [ReplaceItem(Trophy Bass Demo Help)]
;ADDTOINI *DESTDIR\AUTORUN.INF, ProgramEntries, Item9, [AddItem(*SOURCEDIR\SIM\TBASSHLP.EXE,Trophy Bass Demo Help)]
FLAG0 ADDTOINI *DESTDIR\AUTORUN.INF, ProgramEntries, Item8, [ReplaceItem(Trophy Bass Demo Boot Disk Maker)]
FLAG0 ADDTOINI *DESTDIR\AUTORUN.INF, ProgramEntries, Item9, [AddItem(*DESTDIR\BOOTDISK.EXE -s1024 -c -w -rwin/n,Trophy Bass Demo Boot Disk Maker,*DESTDIR\BOOTDISK.ICO)]
RUN 1 *SOURCEDIR\AUTORUN.EXE *SOURCEDIR\AUTORUN.EXE &*DESTDIR\AUTORUN.INF
;
;
; See if the CD cache is correctly set up
FLAG0 GOTO SkipCache
WIN95CD_NOTOPTIMAL FLAG13
FLAG13 DIALOG CDCache
:SkipCache
;
; Does User want to register?
;
;DIALOG Register
;FLAG8 REGISTER
;
;
; 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]
[Files]
;
; Fishing
;
*DESTDIR\AUTORUN.INF,NOARCHIVE,1,727,1
*DESTDIR\AUTORUN.EXE,NOARCHIVE,1,48128,1
*DESTDIR\BOOTDISK.EXE,NOARCHIVE,1,36848,0,10
*DESTDIR\BOOTDISK.ICO,NOARCHIVE,1,766,0,10