home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1997 April (Special)
/
Chip-Special_1997-04_cd.bin
/
spea
/
fire_gl
/
ntfgl326
/
ntfgl326.exe
/
rar
/
OEMSETUP.INF
< prev
next >
Wrap
INI File
|
1996-03-26
|
16KB
|
364 lines
[Identification]
OptionType = VIDEO
[LanguagesSupported]
ENG
GER
[Options]
"BIGWIN NT 640x480" = bignts3, 8, 640, 480, 0, 0
[MiniportDrivers]
bignts3 = !SERVICE_KERNEL_DRIVER, Video, !SERVICE_ERROR_NORMAL, 12, {bignts3}, 0 , "%SystemRoot%\System32\IoLogMsg.dll;%SystemRoot%\System32\Drivers\bignts3.sys" , 7
[OptionsTextENG]
"BIGWIN NT 640x480" = "BIGWIN NT 640x480 256 colors"
[OptionsTextGER]
"BIGWIN NT 640x480" = "BIGWIN NT 640x480 256 Farben"
[Identify]
read-syms Identification
set Status = STATUS_SUCCESSFUL
set Identifier = $(OptionType)
set Media = #("Source Media Descriptions", 1, 1)
Return $(Status) $(Identifier) $(Media)
[ReturnOptions]
set Status = STATUS_FAILED
set OptionList = {}
set OptionTextList = {}
set LanguageList = ^(LanguagesSupported, 1)
Ifcontains(i) $($0) in $(LanguageList)
goto returnoptions
else
set Status = STATUS_NOLANGUAGE
goto finish_ReturnOptions
endif
returnoptions = +
set OptionList = ^(Options, 0)
set OptionTextList = ^(OptionsText$($0), 1)
set Status = STATUS_SUCCESSFUL
finish_ReturnOptions = +
Return $(Status) $(OptionList) $(OptionTextList)
;[MapToSupportedOption]
; set MappedOption = "VGA"
; set Status = STATUS_SUCCESSFUL
; Return $(Status) $(MappedOption)
[ServicesEntry]
CurrentEntry = "" ? $(!LIBHANDLE) GetDevicemapValue Video \Device\Video0
[InstallOption]
set Status = STATUS_FAILED
set DrivesToFree = {}
set Option = $($1)
set SrcDir = $($2)
set AddCopy = $($3)
set DoCopy = $($4)
set DoConfig = $($5)
set LanguageList = ^(LanguagesSupported, 1)
Ifcontains(i) $($0) in $(LanguageList)
else
set Status = STATUS_NOLANGUAGE
goto finish_InstallOption
endif
read-syms Strings$($0)
set OptionList = ^(Options, 0)
ifcontains $(Option) in $(OptionList)
else
goto finish_InstallOption
endif
set OptionList = ""
set MiniportDriver = #(Options, $(Option), 1)
set BitsPerPel = #(Options, $(Option), 2)
set XResolution = #(Options, $(Option), 3)
set YResolution = #(Options, $(Option), 4)
set VRefresh = #(Options, $(Option), 5)
set Interlaced = #(Options, $(Option), 6)
set DevDescription = "BIGWIN NT 640x480 256 colors"
set Type = $(#(MiniportDrivers, $(MiniportDriver), 1))
set Group = #(MiniportDrivers, $(MiniportDriver), 2)
set ErrorControl = $(#(MiniportDrivers, $(MiniportDriver), 3))
set Tag = #(MiniportDrivers, $(MiniportDriver), 4)
set InstalledDisplays = #(MiniportDrivers, $(MiniportDriver), 5)
set VgaCompatible = #(MiniportDrivers, $(MiniportDriver), 6)
set EventMessageFile = #(MiniportDrivers, $(MiniportDriver), 7)
set TypesSupported = #(MiniportDrivers, $(MiniportDriver), 8)
read-syms ServicesEntry
detect ServicesEntry
installtheoption = +
ifstr(i) $(AddCopy) == "YES"
set DoActualCopy = NO
set FileToCheck = #(Files-DisplayMiniportDrivers, $(MiniportDriver), 2)
LibraryProcedure STATUS,$(!LIBHANDLE),CheckFileExistance $(!STF_WINDOWSSYSPATH)"\drivers\"$(FileToCheck)
ifstr(i) $(STATUS) == NO
set DoActualCopy = YES
goto addfiles
endif
ForListDo $(InstalledDisplays)
set FileToCheck = #(Files-DisplayDLLs, $($), 2)
LibraryProcedure STATUS,$(!LIBHANDLE),CheckFileExistance $(!STF_WINDOWSSYSPATH)"\"$(FileToCheck)
ifstr(i) $(STATUS) == NO
set DoActualCopy = YES
endif
EndForListDo
LibraryProcedure STATUS,$(!LIBHANDLE),CheckFileExistance $(!STF_WINDOWSSYSPATH)"\"3dogldrv.dll
ifstr(i) $(STATUS) == NO
set DoActualCopy = YES
goto addfiles
endif
addfiles = +
ifstr(i) $(DoActualCopy) == NO
shell "subroutn.inf" DriversExist $($0) $(String1)
ifint $($ShellCode) != $(!SHELL_CODE_OK)
Debug-Output "VIDEO.INF: shelling DriversExist failed"
goto finish_InstallOption
endif
ifstr(i) $($R0) == STATUS_CURRENT
else-ifstr(i) $($R0) == STATUS_NEW
set DoActualCopy = YES
else-ifstr(i) $($R0) == STATUS_USERCANCEL
Debug-Output "VIDEO.INF: User cancelled video installation"
goto finish_InstallOption
else
Debug-Output "VIDEO.INF: Error reported in DriversExist routine in SUBROUTN.INF"
goto finish_InstallOption
endif
endif
ifstr(i) $(DoActualCopy) == YES
shell "subroutn.inf" DoAskSourceEx $(SrcDir) $(String2)
ifint $($ShellCode) != $(!SHELL_CODE_OK)
Debug-Output "VIDEO.INF: shelling DoAskSourceEx failed"
goto finish_InstallOption
endif
ifstr(i) $($R0) == STATUS_SUCCESSFUL
set SrcDir = $($R1)
ifstr(i) $($R2) != ""
set DrivesToFree = >($(DrivesToFree), $($R2))
endif
else
Debug-Output "VIDEO.INF: User cancelled asking source."
goto finish_InstallOption
endif
install Install-AddCopyOption
ifstr(i) $(STF_INSTALL_OUTCOME) != "STF_SUCCESS"
Debug-Output "VIDEO.INF: Adding video files to copy list failed"
goto finish_InstallOption
endif
else
set DoCopy = NO
endif
endif
ifstr(i) $(DoCopy) == "YES"
read-syms ProgressCopy$($0)
install Install-DoCopyOption
ifstr(i) $(STF_INSTALL_OUTCOME) == "STF_FAILURE"
Debug-Output "Copying files failed"
goto finish_InstallOption
else-ifstr(i) $(STF_INSTALL_OUTCOME) == "STF_USERQUIT"
set Status = STATUS_USERCANCEL
goto finish_InstallOption
endif
endif
ifstr(i) $(DoConfig) == "YES"
shell "registry.inf" CheckSetupModify
ifint $($ShellCode) != $(!SHELL_CODE_OK)
goto finish_InstallOption
endif
ifstr(i) $($R0) != STATUS_SUCCESSFUL
goto finish_InstallOption
endif
set ServiceNode = $(MiniportDriver)
set ServiceBinary = %SystemRoot%\System32\drivers\#(Files-DisplayMiniportDrivers, $(MiniportDriver), 2)
set ServicesValues = { +
{Type, 0, $(!REG_VT_DWORD), $(Type) }, +
{Start, 0, $(!REG_VT_DWORD), $(!SERVICE_SYSTEM_START) }, +
{Group, 0, $(!REG_VT_SZ), $(Group) }, +
{ErrorControl, 0, $(!REG_VT_DWORD), $(ErrorControl) }, +
{Tag, 0, $(!REG_VT_DWORD), $(Tag) }, +
{BinaryPathName, 0, $(!REG_VT_EXPAND_SZ), $(ServiceBinary) } +
}
set ParametersValues = { +
{InstalledDisplayDrivers, 0, $(!REG_VT_MULTI_SZ), $(InstalledDisplays) }, +
{"Device Description", 0, $(!REG_VT_SZ), $(DevDescription) }, +
{VgaCompatible, 0, $(!REG_VT_DWORD), $(VgaCompatible) }, +
{DefaultSettings.BitsPerPel, 0, $(!REG_VT_DWORD), $(BitsPerPel) }, +
{DefaultSettings.XResolution, 0, $(!REG_VT_DWORD), $(XResolution) }, +
{DefaultSettings.YResolution, 0, $(!REG_VT_DWORD), $(YResolution) }, +
{GlintClockSpeed, 0, $(!REG_VT_DWORD), 0 }, +
{GlintDMA.SizeOfBuffer, 0, $(!REG_VT_DWORD), 65536 }, +
{GlintDMA.NumberOfBuffers, 0, $(!REG_VT_DWORD), 4 }, +
{GlintDMA.NumberOfSubBuffers, 0, $(!REG_VT_DWORD), 5 }, +
{GlintDMA.LatencyTimer, 0, $(!REG_VT_DWORD), 0 }, +
{3DInterfaceBuffer.SizeLongs, 0, $(!REG_VT_DWORD), 8192 }, +
{3DExtensions.SupportGDIsingle, 0, $(!REG_VT_DWORD), 1 }, +
{3DExtensions.SupportGDIdouble, 0, $(!REG_VT_DWORD), 0 }, +
{DisableGlintInterrupts, 0, $(!REG_VT_DWORD), 0 }, +
{DoubleBuffer.NumberOfBuffers, 0, $(!REG_VT_DWORD), 2 }, +
{DoubleBuffer.SP_DBMode, 0, $(!REG_VT_DWORD), 1 }, +
{DoubleBuffer.FullScnTopBoarder,0, $(!REG_VT_DWORD), 64 }, +
{DoubleBuffer.MultiColorSpace, 0, $(!REG_VT_DWORD), 0 } +
}
set KeyPath = { +
{SOFTWARE, 0, $(MaskAllAccess)}, +
{Microsoft, 0, $(MaskAllAccess)}, +
{"Windows NT", 0, $(MaskAllAccess)}, +
{CurrentVersion, 0, $(MaskAllAccess)}, +
{OpenGLDrivers, 0, $(MaskAllAccess)} +
}
set KeyValue = { +
{"3DLabs GLINT driver", 0, $(!REG_VT_SZ), 3DOGLDRV } +
}
ifstr(i) $(VRefresh) != ""
set VRefreshValue = {DefaultSettings.VRefresh, 0, $(!REG_VT_DWORD), $(VRefresh)}
set ParametersValues = >($(ParametersValues), $(VRefreshValue))
endif
ifstr(i) $(Interlaced) != ""
set InterlacedValue = {DefaultSettings.Interlaced, 0, $(!REG_VT_DWORD), $(Interlaced)}
set ParametersValues = >($(ParametersValues), $(InterlacedValue))
endif
set DeviceValues = {}
set EventLogValues = { +
{EventMessageFile, 0, $(!REG_VT_EXPAND_SZ), $(EventMessageFile) }, +
{TypesSupported, 0, $(!REG_VT_DWORD), $(TypesSupported) } +
}
shell "registry.inf" MakeServicesEntry $(ServiceNode) +
$(ServicesValues) +
$(ParametersValues) +
$(DeviceValues) +
$(EventLogValues) +
Device0
ifint $($ShellCode) != $(!SHELL_CODE_OK)
Debug-Output "Couldn't execute MakeServicesEntry in registry.inf"
goto finish_InstallOption
endif
ifstr(i) $($R0) != STATUS_SUCCESSFUL
Debug-Output "MakeServicesEntry failed for video"
goto finish_InstallOption
endif
shell "registry.inf" CreateKey $(!REG_H_LOCAL) $(KeyPath) $(KeyValue)
Debug-Output "just did an OGL section"
ifint $($ShellCode) != $(!SHELL_CODE_OK)
Debug-Output "Couldn't execute CreateKey in registry.inf"
goto finish_InstallOption
endif
ifstr(i) $($R0) != STATUS_SUCCESSFUL
Debug-Output "CreateKey failed for OGLDrivers"
goto finish_InstallOption
endif
ifstr(i) $(CurrentEntry) != $(MiniportDriver)
ifstr(i) $(CurrentEntry) != VGA
ifstr(i) $(CurrentEntry) != ""
shell "registry.inf" ModifyServicesEntry $(CurrentEntry) $(!SERVICE_DISABLED)
ifint $($ShellCode) != $(!SHELL_CODE_OK)
Debug-Output "Couldn't find DisableServicesEntry in registry.inf"
goto errorconfig
endif
ifstr(i) $($R0) != STATUS_SUCCESSFUL
Debug-Output "DisableServices entry failed"
endif
endif
endif
endif
goto configdone
errorconfig = +
ifstr(i) $(CurrentEntry) != $(MiniportDriver)
shell "registry.inf" ModifyServicesEntry $(MiniportDriver) $(!SERVICE_DISABLED)
ifstr(i) $(CurrentEntry) != ""
shell "registry.inf" ModifyServicesEntry $(CurrentEntry) $(!SERVICE_SYSTEM_START)
endif
endif
goto finish_InstallOption
configdone = +
set BS_KeyServices = ""
set MAXIMUM_ALLOWED = 33554432
endif
set Status = STATUS_SUCCESSFUL
finish_InstallOption = +
ForListDo $(DrivesToFree)
LibraryProcedure STATUS,$(!LIBHANDLE), DeleteNetConnection $($) "TRUE"
EndForListDo
Return $(Status)
[Install-AddCopyOption]
set STF_VITAL = ""
AddSectionKeyFileToCopyList Files-DisplayMiniportDrivers +
$(MiniportDriver) +
$(SrcDir) +
$(!STF_WINDOWSSYSPATH)\drivers
ForListDo $(InstalledDisplays)
AddSectionKeyFileToCopyList Files-DisplayDLLs +
$($) +
$(SrcDir) +
$(!STF_WINDOWSSYSPATH)
AddSectionFilesToCopyList Files-OpenGl +
$(SrcDir) +
$(!STF_WINDOWSSYSPATH)
AddSectionFilesToCopyList Files-Dat +
$(SrcDir) +
$(!STF_WINDOWSSYSPATH)
EndForListDo
exit
[Install-DoCopyOption]
CopyFilesInCopyList
exit
[ProgressCopyENG]
ProCaption = "Display Driver Setup"
ProCancel = "Cancel"
ProCancelMsg = "Windows NT is not correcly installed. Are you sure you want "+
"to cancel copying files?"
ProCancelCap = "Setup Message"
ProText1 = "Copying:"
ProText2 = "To:"
[ProgressCopyGER]
ProCaption = "Display Driver Setup"
ProCancel = "Abbrechen"
ProCancelMsg = "Windows NT ist nicht korrekt installiert. Are you sure you want "+
"to cancel copying files?"
ProCancelCap = "Setup Information"
ProText1 = "Kopiere:"
ProText2 = "Nach:"
[StringsENG]
String1 = "Display"
String2 = "Please enter the full path to the Display "+
"driver files. Then choose Continue."
[StringsGER]
String1 = "Display"
String2 = "Bitte geben Sie den vollstaendigen Pfad zu den Display "+
"Treiber Dateien an. Then choose Continue."
[Source Media Descriptions]
1 = "Display Driver Installation Disk" , TAGFILE = disk1
[Files-DisplayDLLs]
bignts3 = 1,bignts3.dll , SIZE=153088
[Files-DisplayMiniportDrivers]
bignts3 = 1,bignts3.sys , SIZE=25088
[Files-OpenGl]
bignts3 = 1,3dogldrv.dll , SIZE=380000
[Files-Dat]
bignts3 = 1,figl-0.dat , SIZE=21000
bignts3 = 1,figl-2.dat , SIZE=21000
bignts3 = 1,figl-3.dat , SIZE=21000
bignts3 = 1,figl-4.dat , SIZE=21000
bignts3 = 1,figl-5.dat , SIZE=21000
bignts3 = 1,figl-6.dat , SIZE=21000
bignts3 = 1,figl-7.dat , SIZE=21000
bignts3 = 1,figl-8.dat , SIZE=21000
bignts3 = 1,figl-9.dat , SIZE=21000
bignts3 = 1,figl-10.dat , SIZE=21000
bignts3 = 1,figl-11.dat , SIZE=21000