; Setup script for SK-NET Token Ring cards
[Identification]
	OptionType = NetAdapter
[PlatformsSupported]
	ISA
	EISA
	"Jazz-Internal Bus"
	MCA
[Options]
	SKTOKNT
[OptionsIsa]
	SKTOKNT
	SKTOKNT_ISA
[EISASlots]
	Slot_1	=  1
	Slot_2	=  2
	Slot_3	=  3
	Slot_4	=  4
	Slot_5	=  5
	Slot_6	=  6
	Slot_7	=  7
	Slot_8	=  8
	Slot_9	=  9
	Slot_10 = 10
	Slot_11 = 11
	Slot_12 = 12
	Slot_13 = 13
	Slot_14 = 14
	Slot_15 = 15
[MCASlots]
	Slot_1	= 1
	Slot_2	= 2
	Slot_3	= 3
	Slot_4	= 4
	Slot_5	= 5
	Slot_6	= 6
	Slot_7	= 7
	Slot_8	= 8
[IrqLevel]
	IRQ_3	= "3"
	IRQ_5	= "5"
	IRQ_9	= "9"
	IRQ_10	= "10"
	IRQ_11	= "11"
	IRQ_12	= "12"
	IRQ_15	= "15"
[IOAddrChoices]
	IOAddr_1	= "0x0A20", 2592
	IOAddr_2	= "0x1A20", 6688
	IOAddr_3	= "0x0B20", 2848
	IOAddr_4	= "0x1B20", 6944
	IOAddr_5	= "0x0980", 2434
	IOAddr_6	= "0x1980", 6528
	IOAddr_7	= "0x0900", 2304
	IOAddr_8	= "0x1900", 6400
[DmaChannels]
	DMA_0	= "None"
	DMA_5	= "5"
	DMA_6	= "6"
	DMA_7	= "7"
[DataRates]
	DataRate4	= "4"
	DataRate16ETR	= "16 ETR"
	DataRate16	= "16"
[PacketSizes]
	PacketSize1	= 548
	PacketSize2	= 1502
	PacketSize3	= 2084
	PacketSize4	= 4504
	PacketSize5	= 8176
	PacketSize6	= 11439
	PacketSize7	= 17832
[FileConstants]
	ParamInf		= "NCPARAM.INF"
	UtilityInf		= "UTILITY.INF"
	subroutineinf		= "SUBROUTN.INF"
	SoftwareType		= "driver"
	Exit_Code		= 0
	NetEventDLL		= "%SystemRoot%\System32\netevent.dll"
	IoLogMsgDLL		= "%SystemRoot%\System32\IoLogMsg.dll"
	TokenRingCards		= { SKTOKNT }
	Manufacturer		= "SysKonnect"
	EISACompressedIDPlus	= 13853773
	EISACompressedID	= 13722701
	MCAIDLo 		= 36
	MCAIDHi 		= 8
	EISASlotList		= ^(EISASlots, 1)
	MCASlotList		= ^(MCASlots, 1)
	IoBaseAddressHexList	= ^(IOAddrChoices, 1)
	IoBaseAddressDecList	= ^(IOAddrChoices, 2)
	IrqList			= ^(IrqLevel, 1)
	DmaChannelList		= ^(DmaChannels, 1)
	DataRateList		= ^(DataRates, 1)
	EarlyList		= ^(Earlies, 1)
	PacketSizeList		= ^(PacketSizes, 1)
	DefaultIo		= "0x0A20"
	DefaultIrq		= 9
	DefaultDma		= 5
	DefaultRate		= 16
	DefaultEarly		= "On"
	DefaultPacketSize	= 4504
	ProductMajorVersion	= "1"
	ProductMinorVersion	= "02"
	ProductSoftwareName	= "SKTOKNT"
	ProductSoftwareImagePath= "\SystemRoot\System32\Drivers\SkTokNt.sys"
	NetRuleSoftwareType	= "sktokntSys ndisDriver sktokntDriver"
	NetRuleSoftwareBindForm = """SkTokNtSys"" yes no container"
	NetRuleSoftwareClass	= {"sktokntDriver basic"}
	NetRuleSoftwareBindable = {"sktokntDriver sktokntAdapter non exclusive 100"}
	ProductHardwareName	= "SkTokNt"
	NetRuleHardwareType	= "sktoknt sktokntAdapter"
	NetRuleHardwareClass	= {"sktokntAdapter basic"}
	ProductVersion		= $(ProductMajorVersion)"."$(ProductMinorVersion)
	NetRuleHardwareBindForm = " yes yes container"
	ProductKeyName		= $(!NTN_SoftwareBase)"\"$(Manufacturer)"\"+
				  $(ProductSoftwareName)"\CurrentVersion"
	ParamKeyName		= $(!NTN_ServiceBase)$(ProductHardwareName)"\Parameters"
	NetRuleSoftwareUse	= $(SoftwareType)
[GeneralConstants]
	from			= ""
	to			= ""
	ExitCodeOk		= 0
	ExitCodeCancel		= 1
	ExitCodeFatal		= 2
	KeyNull 		= ""
	MAXIMUM_ALLOWED 	= 33554432
	RegistryErrorIndex	= NO_ERROR
	KeyProduct		= ""
	KeyParameters		= ""
	TRUE			= 1
	FALSE			= 0
	NoTitle 		= 0
	ExitState		= "Active"
	OldVersionExisted	= $(FALSE)
	DriverPath		= $(!STF_NTPATH)\drivers
[date]
	Now = {} ? $(!LIBHANDLE) GetSystemDate
[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)
		IfStr(i) $($1) == ""
			goto returnoptions_isa
		EndIf
		Set PlatformList = ^(PlatformsSupported, 1)
		IfContains(i) "Jazz-Internal Bus" in $($1)
			goto returnoptions_isa
		Else-IfContains(i) "EISA" in $($1)
			goto returnoptions_isa
		Else-IfContains(i) $($1) in $(PlatformList)
			goto returnoptions
		Else
			Set Status = STATUS_NOTSUPPORTED
			goto finish_ReturnOptions
		EndIf
	Else
		Set Status = STATUS_NOLANGUAGE
		goto finish_ReturnOptions
	EndIf
returnoptions_isa = +
	Set OptionList		= ^(OptionsIsa, 1)
	Set OptionTextList	= ^(OptionsTextIsa$($0), 1)
	Set Status		= STATUS_SUCCESSFUL
	Goto finish_ReturnOptions
returnoptions = +
	Set OptionList		= ^(Options, 1)
	Set OptionTextList	= ^(OptionsText$($0), 1)
	Set Status		= STATUS_SUCCESSFUL
finish_ReturnOptions = +
	Return $(Status) $(OptionList) $(OptionTextList)
[InstallOption]
	Set InfOption		= $($1)
	Set Option		= $($1)
	IfStr(i) $(Option) == SKTOKNT_ISA
		Set Option = SKTOKNT
		Set NoEisaConfig = TRUE
	EndIf
	Set SrcDir		= $($2)
	Set AddCopy		= $($3)
	Set DoCopy		= $($4)
	Set DoConfig		= $($5)
	Set LanguageList	= ^(LanguagesSupported, 1)
	IfContains(i) $($0) NOT-IN $(LanguageList)
		Return STATUS_NOLANGUAGE
	EndIf
	Set-subst LF = "\n"
	read-syms GeneralConstants
	read-syms FileConstants
	read-syms DialogConstants$(!STF_LANGUAGE)
	IfStr(i) $(!NTN_Origination) == "NCPA"
		Set Continue = $(OK)
	EndIf
	read-syms FileConstants$(!STF_LANGUAGE)
	detect date
	Set-title  $(Function$(Option)Title)
	Set to			= Begin
	Set from		= Begin
	Set CommonStatus	= STATUS_SUCCESSFUL
	EndWait
Begin = +
	Set ActivateDetection = FALSE

	Set BusNumList = {}
	Set Combo1List = {}
	IfStr(i) $(!NTN_InstallMode) == deinstall
		Goto checkmode
	EndIf

	Set BusNumber		= 0
	Set BusInterfaceType	= 1
	Set BusTypeStr		= "Isa"
	IfStr(i) *($(!STF_BUSTYPELIST),1) == ""
		Shell $(UtilityInf), GetBusTypeNum
		Set BusTypeNum = $($R1)
	Else
		Set BusTypeList	= {}
		Set NumBusTypes	= 0
		Set PlatformList = ^(PlatformsSupported, 1)
		ForListDo $(!STF_BUSTYPELIST)
			IfContains(i) $($) In $(PlatformList)
				Set BusTypeList	= >($(BusTypeList),$($))
				Set-Add NumBusTypes = $(NumBusTypes), 1
			EndIF
		EndForListDo
		IfInt $(NumBusTypes) == 1
			IfStr(i) *($(BusTypeList),1) == "ISA"
				Set BusTypeNum = 1
			Else-IfStr(i) *($(BusTypeList),1) == "EISA"
				Set BusTypeNum = 2
			Else-IfStr(i) *($(BusTypeList),1) == "MCA"
				Set BusTypeNum = 3
			EndIf
		Else
			Shell $(UtilityInf), GetBusTypeDialog,+
				$(ProductHardware$(Option)Description),+
				$(BusInterfaceType), $(BusNumber)
			IfInt $($ShellCode) != $(!SHELL_CODE_OK)
				IfInt $($ShellCode) == $(!SHELL_CODE_NO_SUCH_SECTION)
					Shell $(UtilityInf), GetBusTypeNum
					Set BusTypeNum = $($R1)
				Else
					goto ShellCodeError
				EndIf
			Else
				Set BusTypeNum	= $($R1)
				Set BusNumber	= $($R2)
			EndIf
		EndIf
	EndIf

	IfStr(i) $(NoEisaConfig) == TRUE
		Set BusInterfaceType = 1
	Else-IfInt $(BusTypeNum) == 0
		Set BusInterfaceType = 2
	Else
		Set BusInterfaceType = $(BusTypeNum)
	EndIf

	IfInt $(BusInterfaceType) == 1
		Set BusTypeStr = "Isa"
	Else-IfInt $(BusInterfaceType) == 2
		Set BusTypeStr = "Eisa"
	Else-IfInt $(BusInterfaceType) == 3
		Set BusTypeStr = "Mca"
	EndIf

	IfStr(i) $(BusTypeStr) == "Eisa"
		Shell $(UtilityInf), EISAFindBus, $(EISACompressedIDPlus), -1
		IfInt $($R0) == "NO_ERROR"
			ForListDo $($R1)
				Set BusNum	= *($($),1)
				Set SlotNum	= *($($),2)
				IfInt $(BusNum) == $(BusNumber)
					Set Combo1List	= >($(Combo1List),$(SlotNum)" (4/16+)")
				EndIf
			EndForListDo
		EndIf
		Shell $(UtilityInf), EISAFindBus, $(EISACompressedID), -1
		IfInt $($R0) == "NO_ERROR"
			ForListDo $($R1)
				Set BusNum	= *($($),1)
				Set SlotNum	= *($($),2)
				IfInt $(BusNum) == $(BusNumber)
					Set Combo1List	= >($(Combo1List),$(SlotNum)" (4/16)")
				EndIf
			EndForListDo
		EndIf
		IfStr(i) $(Combo1List) == {}
			Set Error	= "Error: No "+
					  $(ProductHardwareSKTOKNTTitle)+
					  " installed. Please check EISA configuration."
			Goto fatal
		Else
			Shell $(UtilityInf) SortList $(Combo1List) TRUE FALSE
			Set Combo1List = $($R0)
		EndIf
	Else-IfStr(i) $(BusTypeStr) == "Mca"
		Shell $(UtilityInf), MCAFindBus, $(MCAIDLo), $(MCAIDHi)
		IfInt $($R0) == NO_ERROR
			ForListDo $($R1)
				Set BusNum	= *($($),1)
				Set SlotNum	= *($($),2)
				IfInt $(BusNum) == $(BusNumber)
					Set Combo1List	= >($(Combo1List),$(SlotNum))
				EndIf
			EndForListDo
		EndIf
		IfStr(i) $(Combo1List) == {}
			Set Error	= "Error: No "+
					  $(ProductHardwareSKTOKNTTitle)+
					  " installed."
			Goto fatal
		EndIf
	EndIf

checkmode = +
	IfStr(i) $(!NTN_InstallMode) == deinstall
		Set StartLabel = removeadapter
	Else-IfStr(i) $(!NTN_InstallMode) == Update
		Set StartLabel = UpgradeSoftware
	Else-IfStr(i) $(!NTN_InstallMode) == bind
		Set StartLabel = bindingadapter
	Else-IfStr(i) $(!NTN_InstallMode) == configure
		Set CommonStatus = STATUS_REBOOT
		Set StartLabel = configureadapter
		IfStr(i) $(ProductKeyName) == $(!NTN_RegBase)
			Shell $(UtilityInf), RegistryErrorString, CANNOT_CONFIGURE_SOFTWARE
			IfInt $($ShellCode) != $(!SHELL_CODE_OK)
				goto ShellCodeError
			EndIf
			Set Error	= $($R0)
			Set from	= end
			Set to		= end
			goto nonfatalinfo
		EndIf
	Else
		IfStr(i) $(DoCopy) == "YES"
			IfStr(i) $(!STF_SRCDIR_OVERRIDE) != ""
				Install Install-Helpfile
			EndIf
		else
            LibraryProcedure STATUS,$(!LIBHANDLE), CopySingleFile $(SrcDir)\OemNadSk.dll $(!STF_WINDOWSSYSPATH)\OemNadSk.dll
            LibraryProcedure STATUS,$(!LIBHANDLE), CopySingleFile $(SrcDir)\OemNadSk.hlp $(!STF_WINDOWSSYSPATH)\OemNadSk.hlp
		EndIf
		Set StartLabel			= installadapter
		Set OEM_ABANDON_OPTIONS 	= {}
		Set OEM_ABANDON_SOFTWARE	= FALSE
		Set OEM_ABANDON_ON		= TRUE
	EndIf
	IfStr(i) $(BusTypeStr) == "Isa"
		Set IoBaseValue = *($(IoBaseAddressDecList),+
				  ~($(IoBaseAddressHexList), $(DefaultIo)))
		Set IrqLevel	= *($(IrqList), ~($(IrqList), $(DefaultIrq)))
		Set DmaChannel	= *($(DmaChannelList), ~($(DmaChannelList), $(DefaultDma)))
	EndIf
	Set DataRate = *($(DataRateList), ~($(DataRateList), $(DefaultRate)))
	Set EarlyTokenRelease = $(DefaultEarly)
	Set PacketSize = *($(PacketSizeList), ~($(PacketSizeList), $(DefaultPacketSize)))
	Set DetectedCard = FALSE
	IfStr(i) $(ActivateDetection) != TRUE
		Goto skipdetection
	EndIf
	IfStr(i) $(BusTypeStr) == "Isa"
		Set TypeList	= {{IOADDR,IoBaseAddressDecList,IoBaseValue},+
				  {IRQ,IrqList,IrqLevel},+
				  {DMACHANNEL,DmaChannelList,DmaChannel},+
				  {EARLYTOKENRELEASE,EarlyList,EarlyTokenRelease},+
				  {DATARATE,DataRateList,DataRate},+
				  {PACKETSIZE,PacketSizeList,PacketSize}}
	Else-IfStr(i) $(BusTypeStr) == "Eisa"
		Set TypeList	= {{SLOT,EISASlotList,SlotNumber},+
				  {EARLYTOKENRELEASE,EarlyList,EarlyTokenRelease},+
				  {DATARATE,DataRateList,DataRate},+
				  {PACKETSIZE,PacketSizeList,PacketSize}}
	Else-IfStr(i) $(BusTypeStr) == "Mca"
		Set TypeList	= {{SLOT,MCASlotList,SlotNumber},+
				  {EARLYTOKENRELEASE,EarlyList,EarlyTokenRelease},+
				  {DATARATE,DataRateList,DataRate},+
				  {PACKETSIZE,PacketSizeList,PacketSize}}
	EndIf
	Shell $(ParamInf), Param_BuildTypeLists, SKTOKNT, $(TypeList)
	Set Status = $($R0)
	IfStr(i) $(Status) != STATUS_SUCCESSFUL
		Goto fatal
	EndIf
	Shell $(ParamInf), Param_SetDefaults, {}
	IfStr(i) $(!STF_NCDETECT) == YES
		IfStr(i) $(!STF_NCOPTION) == $(Option)
			Set DetectedCard = TRUE
		EndIf
	EndIf
skipdetection = +
	Set from	= $(fatal)
	Set to		= $(fatal)
	goto $(StartLabel)
installadapter = +
	OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName) $(MAXIMUM_ALLOWED) KeyProduct
	IfStr $(KeyProduct) != $(KeyNull)
		CloseRegKey $(KeyProduct)
		IfStr(i) !(NTN_RegBase) == $(ProductKeyName)
			Shell $(UtilityInf), VerExistedDlg, $(ProductSoftware$(Option)Title),+
			  $(ProductVersion)
			IfInt $($ShellCode) != $(!SHELL_CODE_OK)
				goto ShellCodeError
			EndIf
			goto end
		Else
			Shell $(UtilityInf), CardExistedDlg
			IfInt $($ShellCode) != $(!SHELL_CODE_OK)
				goto ShellCodeError
			EndIf
			IfStr(i) $($R1) != "OK"
				Set CommonStatus = STATUS_USERCANCEL
				goto end
			EndIf
			Set OldVersionExisted = $(TRUE)
		EndIf
	EndIf
	IfStr(i) $(DetectedCard) != TRUE
		Goto adaptersetup
	EndIf
	StartWait
	Shell $(ParamInf), Param_QueryCard, $(!STF_NCDETCARD)
	EndWait
	IfStr(i) $($R0) != STATUS_SUCCESSFUL
		Goto adaptersetup
	EndIf
	Set DetectedParams = $($R1)
	Shell $(ParamInf), Param_SetDefaults, $(DetectedParams)
	goto adapteroptions
configureadapter = +
	IfStr $(KeyProduct) == $(KeyNull)
		OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_RegBase) $(MAXIMUM_ALLOWED) KeyProduct
		IfStr $(KeyProduct) == $(KeyNull)
			Set RegistryErrorIndex = CANNOT_FIND_COMPONENT_SERVICE
			goto fatalregistry
		EndIf
	EndIf
	Shell $(UtilityInf), FindService, $(KeyProduct)
	IfInt $($ShellCode) != $(!SHELL_CODE_OK)
		Goto ShellCodeError
	EndIf
	IfStr(i) $($R0) != NO_ERROR
		Goto fatalregistry
	EndIf
	Set KeyParameters = $($R2)
	CloseRegKey $($R1)
	IfStr $(KeyParameters) == $(KeyNull)
		Set RegistryErrorIndex = CANNOT_FIND_COMPONENT_SERVICE
		goto fatalregistry
	EndIf
	Set OldVersionExisted	= $(TRUE)
	Set ValueName		= ""
	Set ValueData		= ""
	Set ValueStr		= ""
	Set ValueList		= {}
	EnumRegValue $(KeyParameters) ValueList
	ForListDo $(ValueList)
		Set ValueItem	= $($)
		Set ValueName	= *($(ValueItem),1)
		Set ValueData	= *($(ValueItem),4)
		IfStr(i) $(ValueName) == "DmaChannel"
			Set DmaChannel		= $(ValueData)
		Else-IfStr(i) $(ValueName) == "InterruptNumber"
			Set IrqLevel		= $(ValueData)
		Else-IfStr(i) $(ValueName) == "IoBaseAddress"
			Set IoBaseValue 	= $(ValueData)
		Else-IfStr(i) $(ValueName) == "MemoryMappedBaseAddress"
			Set MemAddrDec		= $(ValueData)
		Else-IfStr(i) $(ValueName) == "SlotNumber"
			Set SlotNumber		= $(ValueData)
		Else-IfStr(i) $(ValueName) == "NetworkAddress"
			Set NetworkAddress	= $(ValueData)
		Else-IfStr(i) $(ValueName) == "DataRate"
			Set DataRate		= $(ValueData)
		Else-IfStr(i) $(ValueName) == "EarlyTokenRelease"
			Set EarlyTokenRelease	= $(ValueData)
		Else-IfStr(i) $(ValueName) == "PacketSize"
			Set PacketSize		= $(ValueData)
		EndIf
	EndForListDo
adaptersetup = +
	IfStr(i) $(DetectedCard) == TRUE
		IfStr(i) $(!STF_INSTALL_MODE) != CUSTOM
			Goto adapterverify
		EndIf
	EndIf
	goto adapteroptions
adapteroptions = +
	Set from = adapteroptions
	IfStr(i) $(BusTypeStr) == "Isa"
		Set IoBaseAddress	= *($(IoBaseAddressHexList),+
					  ~($(IoBaseAddressDecList),+
					  $(IoBaseValue)))
	EndIf
	IfInt $(DataRate) == 16
		IfStr(i) $(EarlyTokenRelease) == "On"
			Set DataRate = "16 ETR"
		EndIf
	EndIf
	IfStr(i) $(BusTypeStr) == "Eisa"
		ForListDo $(Combo1List)
			IfInt $(SlotNumber) == $($)
				Set SlotNumber = $($)
			EndIf
		EndForListDo
	EndIf
	Goto adapteroptions2
adapteroptions2 = +
	LoadLibrary "disk3" "OemNadSk.dll" hLib
	read-syms FileDependentDlg$(BusTypeStr)$(!STF_LANGUAGE)
	SetHelpFile $(HelpFile) $(MinID) $(MaxID)
	ui start "InputDlg" $(hLib)
	FreeLibrary $(hLib)
	IfStr(i) $(DLGEVENT) == "CONTINUE"
		Set NetworkAddress = *($(EditTextOut),1)
		IfStr(i) $(BusTypeStr) == "Isa"
			Set IrqLevel		= $(Combo2Out)
			Set DmaChannel		= $(Combo3Out)
			Set DataRate		= $(Combo4Out)
			Set PacketSize		= $(Combo5Out)
			IfStr(i) $(IoBaseAddress) != $(Combo1Out)
				Shell $(subroutineinf), SetupMessage,+
				  $(!STF_LANGUAGE), "NONFATAL", $(DipSwitchInfo)
			EndIf
			Set IoBaseAddress	= $(Combo1Out)
		Else
			Set SlotNumber	= $(Combo1Out)
			Set DataRate	= $(Combo2Out)
			Set PacketSize	= $(Combo3Out)
		EndIf
		Set EarlyTokenRelease = "Off"
		IfInt $(DataRate) == 16
			IfStr(i) $(DataRate) == "16 ETR"
				Set DataRate = 16
				Set EarlyTokenRelease = "On"
			EndIf
		EndIf
		ui pop 1
	Else-IfStr(i) $(DLGEVENT) == "BACK"
		Set CommonStatus = STATUS_USERCANCEL
		ui pop 1
		goto end
	Else
		ui pop 1
		goto end
	EndIf
	IfStr(i) $(BusTypeStr) == "Isa"
		Set IoBaseValue = *($(IoBaseAddressDecList),+
				  ~($(IoBaseAddressHexList),$(IoBaseAddress)))
	EndIf
adapterverify = +
	IfStr(i) $(DetectedCard) != TRUE
		Goto skipoptions
	EndIf
	Shell $(ParamInf), Param_VerifyCard, $(!STF_NCDETCARD)
	IfStr(i) $($R0) == STATUS_SUCCESSFUL
		Goto skipoptions
	EndIf
	Set from	= adapteroptions
	Set to		= skipoptions
	Shell $(UtilityInf), RegistryErrorString, VERIFY_WARNING
	IfInt $($ShellCode) != $(!SHELL_CODE_OK)
		goto ShellCodeError
	EndIf
	Set Error = $($R0)
	Goto Warning
skipoptions = +
	IfInt $(OldVersionExisted) == $(TRUE)
		IfStr(i) $(!NTN_InstallMode) == configure
			goto writeparameters
		EndIf
	EndIf
	StartWait
	IfInt $(OldVersionExisted) == $(FALSE)
		IfStr(i) $(!NTN_InstallMode) == "install"
			IfStr(i) $(DoCopy) == "YES"
				Shell $(UtilityInf), DoAskSource, $(!STF_CWDDIR), $(SrcDir), YES
				IfInt $($ShellCode) != $(!SHELL_CODE_OK)
					Goto ShellCodeError
				Else-IfStr(i) $($R0) == STATUS_FAILED
					Shell $(UtilityInf),+
					  RegistryErrorString, "ASK_SOURCE_FAIL"
					IfInt $($ShellCode) != $(!SHELL_CODE_OK)
						goto ShellCodeError
					EndIf
					Set Error = $($R0)
					Goto fatal
				Else-IfStr(i) $($R0) == STATUS_USERCANCEL
					Goto successful
				EndIf
				Set SrcDir = $($R1)
			EndIf
			install "Install-Option"
			IfStr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS
				Shell $(UtilityInf), RegistryErrorString, "UNABLE_COPY_FILE"
				IfInt $($ShellCode) != $(!SHELL_CODE_OK)
					goto ShellCodeError
				EndIf
				Set Error = $($R0)
				goto fatal
			EndIf
		EndIf
		Shell $(UtilityInf), AddSoftwareComponent, $(Manufacturer),+
		  $(ProductSoftwareName), $(ProductSoftwareName),+
		  $(ProductSoftware$(Option)Title), $(STF_CONTEXTINFNAME),+
		  $(ProductSoftwareImagePath), "kernel", "NDIS", {}, "",+
		  $(NetEventDLL)
		Set OEM_ABANDON_SOFTWARE = TRUE
		IfInt $($ShellCode) != $(!SHELL_CODE_OK)
			goto ShellCodeError
		EndIf
		Set RegistryErrorIndex = $($R0)
		IfStr(i) $(RegistryErrorIndex) != NO_ERROR
			EndWait
			CloseRegKey $($R1)
			CloseRegKey $($R2)
			CloseRegKey $($R3)
			CloseRegKey $($R4)
			CloseRegKey $($R5)
			goto fatalregistry
		EndIf
		Set SoftProductKey	= $($R1)
		Set SoftNetRuleKey	= $($R2)
		Set SoftServiceKey	= $($R3)
		Set SoftParameterKey	= $($R4)
		Set SoftLinkageKey	= $($R5)
		Set NewValueList	= {+
		  {SoftwareType,$(NoTitle),$(!REG_VT_SZ),$(SoftwareType)},+
		  {MajorVersion,$(NoTitle),$(!REG_VT_DWORD),$(ProductMajorVersion)},+
		  {MinorVersion,$(NoTitle),$(!REG_VT_DWORD),$(ProductMinorVersion)},+
		  {Title,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftware$(Option)Title)},+
		  {Description,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftware$(Option)Description)},+
		  {ServiceName,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareName)},+
		  {InstallDate,$(NoTitle),$(!REG_VT_DWORD),*($(Now),1)}+
		}
		Shell $(UtilityInf), AddValueList, $(SoftProductKey), $(NewValueList)
		IfInt $($ShellCode) != $(!SHELL_CODE_OK)
			goto ShellCodeError
		EndIf
		Set RegistryErrorIndex = $($R0)
		IfStr(i) $(RegistryErrorIndex) != NO_ERROR
			EndWait
			CloseRegKey $(SoftProductKey)
			CloseRegKey $(SoftNetRuleKey)
			CloseRegKey $(SoftServiceKey)
			CloseRegKey $(SoftParameterKey)
			CloseRegKey $(SoftLinkageKey)
			goto fatalregistry
		EndIf
		Set NewValueList	= {+
		  {type,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareType)},+
		  {use,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareUse)},+
		  {bindform,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareBindForm)},+
		  {class,$(NoTitle),$(!REG_VT_MULTI_SZ),$(NetRuleSoftwareClass)},+
		  {bindable,$(NoTitle),$(!REG_VT_MULTI_SZ),$(NetRuleSoftwareBindable)},+
		  {InfOption,$(NoTitle),$(!REG_VT_SZ),$(InfOption)}+
		}
		Shell $(UtilityInf), AddValueList, $(SoftNetRuleKey), $(NewValueList)
		IfInt $($ShellCode) != $(!SHELL_CODE_OK)
			goto ShellCodeError
		EndIf
		Set RegistryErrorIndex = $($R0)
		CloseRegKey $(SoftProductKey)
		CloseRegKey $(SoftNetRuleKey)
		CloseRegKey $(SoftServiceKey)
		CloseRegKey $(SoftParameterKey)
		CloseRegKey $(SoftLinkageKey)
		IfStr(i) $(RegistryErrorIndex) != NO_ERROR
			EndWait
			goto fatalregistry
		EndIf
	EndIf
	Shell $(UtilityInf), AddHardwareComponent, $(ProductHardwareName),+
	  $(STF_CONTEXTINFNAME), $(ProductKeyName)
	IfInt $($R4) != -1
		Set OEM_ABANDON_OPTIONS = >($(OEM_ABANDON_OPTIONS),+
		  $(!NTN_SoftwareBase)"\Microsoft\Windows NT\CurrentVersion\NetworkCards\"$($R4))
	EndIf
	IfInt $($ShellCode) != $(!SHELL_CODE_OK)
		goto ShellCodeError
	EndIf
	Set RegistryErrorIndex = $($R0)
	IfStr(i) $(RegistryErrorIndex) != NO_ERROR
		EndWait
		CloseRegKey $($R1)
		CloseRegKey $($R2)
		CloseRegKey $($R3)
		goto fatalregistry
	EndIf
	Set KeyParameters	= $($R3)
	Set KeyAdapterRules	= $($R2)
	Set AdapterNumber	= $($R4)
	Set NewValueList	= {+
	  {Manufacturer,$(NoTitle),$(!REG_VT_SZ),$(Manufacturer)},+
	  {Title,$(NoTitle),$(!REG_VT_SZ),"["$($R4)"] "$(ProductHardware$(Option)Title)},+
	  {Description,$(NoTitle),$(!REG_VT_SZ),$(ProductHardware$(Option)Description)},+
	  {ProductName,$(NoTitle),$(!REG_VT_SZ),$(ProductHardwareName)},+
	  {ServiceName,$(NoTitle),$(!REG_VT_SZ),$($R5)},+
	  {InstallDate,$(NoTitle),$(!REG_VT_DWORD),*($(Now),1)}+
	}
	Shell $(UtilityInf), AddValueList, $($R1), $(NewValueList)
	IfInt $($ShellCode) != $(!SHELL_CODE_OK)
		goto ShellCodeError
	EndIf
	CloseRegKey $($R1)
	Set TempProdName	= """"$(ProductHardwareName)$(AdapterNumber)""""
	Set TempBindForm	= $(TempProdName)$(NetRuleHardwareBindForm)
	Set NewValueList	= {+
	  {type,$(NoTitle),$(!REG_VT_SZ),$(NetRuleHardwareType)},+
	  {bindform,$(NoTitle),$(!REG_VT_SZ),$(TempBindForm)},+
	  {class,$(NoTitle),$(!REG_VT_MULTI_SZ),$(NetRuleHardwareClass)},+
	  {InfOption,$(NoTitle),$(!REG_VT_SZ),$(InfOption)}+
	}
	Shell $(UtilityInf), AddValueList, $(KeyAdapterRules), $(NewValueList)
	IfInt $($ShellCode) != $(!SHELL_CODE_OK)
		goto ShellCodeError
	EndIf
	Set RegistryErrorIndex = $($R0)
	IfStr(i) $(RegistryErrorIndex) != NO_ERROR
		EndWait
		CloseRegKey $(KeyParameters)
		CloseRegKey $(KeyAdapterRules)
		goto fatalregistry
	EndIf
	CloseRegKey $(KeyAdapterRules)
	goto writeparameters
writeparameters = +
	IfContains $(Option) in $(TokenRingCards)
		Set CardMediaType = 2
		IfStr(i) $(BusTypeStr) == "Isa"
			Set NewValueList = {+
			  {BusNumber,$(NoTitle),$(!REG_VT_DWORD),$(BusNumber)},+
			  {MediaType,$(NoTitle),$(!REG_VT_DWORD),$(CardMediaType)},+
			  {InterruptNumber,$(NoTitle),$(!REG_VT_DWORD),$(IrqLevel)},+
			  {BusType,$(NoTitle),$(!REG_VT_DWORD),$(BusTypeNum)},+
			  {IoBaseAddress,$(NoTitle),$(!REG_VT_DWORD),$(IoBaseValue)},+
			  {DmaChannel,$(NoTitle),$(!REG_VT_DWORD),$(DmaChannel)},+
			  {NetworkAddress,$(NoTitle),$(!REG_VT_SZ),$(NetworkAddress)},+
			  {EarlyTokenRelease,$(NoTitle),$(!REG_VT_SZ),$(EarlyTokenRelease)},+
			  {DataRate,$(NoTitle),$(!REG_VT_DWORD),$(DataRate)},+
			  {PacketSize,$(NoTitle),$(!REG_VT_DWORD),$(PacketSize)}+
			}
		Else-IfStr(i) $(BusTypeStr) == "Eisa"
			Set NewValueList = {+
			  {BusNumber,$(NoTitle),$(!REG_VT_DWORD),$(BusNumber)},+
			  {MediaType,$(NoTitle),$(!REG_VT_DWORD),$(CardMediaType)},+
			  {BusType,$(NoTitle),$(!REG_VT_DWORD),$(BusTypeNum)},+
			  {SlotNumber,$(NoTitle),$(!REG_VT_DWORD),$(SlotNumber)},+
			  {NetworkAddress,$(NoTitle),$(!REG_VT_SZ),$(NetworkAddress)},+
			  {EarlyTokenRelease,$(NoTitle),$(!REG_VT_SZ),$(EarlyTokenRelease)},+
			  {DataRate,$(NoTitle),$(!REG_VT_DWORD),$(DataRate)},+
			  {PacketSize,$(NoTitle),$(!REG_VT_DWORD),$(PacketSize)}+
			}
		Else-IfStr(i) $(BusTypeStr) == "Mca"
			Set NewValueList = {+
			  {BusNumber,$(NoTitle),$(!REG_VT_DWORD),$(BusNumber)},+
			  {MediaType,$(NoTitle),$(!REG_VT_DWORD),$(CardMediaType)},+
			  {BusType,$(NoTitle),$(!REG_VT_DWORD),$(BusTypeNum)},+
			  {SlotNumber,$(NoTitle),$(!REG_VT_DWORD),$(SlotNumber)},+
			  {NetworkAddress,$(NoTitle),$(!REG_VT_SZ),$(NetworkAddress)},+
			  {EarlyTokenRelease,$(NoTitle),$(!REG_VT_SZ),$(EarlyTokenRelease)},+
			  {DataRate,$(NoTitle),$(!REG_VT_DWORD),$(DataRate)},+
			  {PacketSize,$(NoTitle),$(!REG_VT_DWORD),$(PacketSize)}+
			}
		EndIf
		Shell $(UtilityInf), AddValueList, $(KeyParameters), $(NewValueList)
		IfInt $($ShellCode) != $(!SHELL_CODE_OK)
			goto ShellCodeError
		EndIf
		Set RegistryErrorIndex = $($R0)
		IfStr(i) $(RegistryErrorIndex) != NO_ERROR
			CloseRegKey $(KeyParameters)
			goto fatalregistry
		EndIf
	EndIf
	CloseRegKey $(KeyParameters)
	EndWait
	goto successful
bindingadapter = +
	Set Error = "Binding: Sorry, not yet implemented."
	goto fatal
removeadapter = +
	IfStr(i) $(ProductKeyName) == $(!NTN_RegBase)
		Shell $(UtilityInf), RemoveSoftwareComponent, $(Manufacturer),+
		  $(ProductSoftwareName)
		IfInt $($ShellCode) != $(!SHELL_CODE_OK)
			goto ShellCodeError
		EndIf
		Set RegistryErrorIndex = $($R0)
		IfStr(i) $(RegistryErrorIndex) != NO_ERROR
			goto fatalregistry
		EndIf
	Else
		Shell $(UtilityInf), RemoveHardwareComponent, $(Manufacturer),+
		  $(ProductHardwareName), $(!NTN_RegBase)
		IfInt $($ShellCode) != $(!SHELL_CODE_OK)
			goto ShellCodeError
		EndIf
		Set RegistryErrorIndex = $($R0)
		IfStr(i) $(RegistryErrorIndex) != NO_ERROR
			goto fatalregistry
		EndIf
	EndIf
	goto end
UpgradeSoftware = +
	OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_RegBase)\NetRules +
		$(MAXIMUM_ALLOWED) KeyProduct
	IfStr $(KeyProduct) != $(KeyNull)
		GetRegValue $(KeyProduct), "InfName", InfName
		QueryListSize ListSize $(InfName)
		Set !UG_Filename = *($(InfName), $(ListSize))
		CloseRegKey $(KeyProduct)
	Else
		goto fatalregistry
	EndIf

	OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName) +
		$(MAXIMUM_ALLOWED) KeyProduct
	IfStr $(KeyProduct) != $(KeyNull)
		Install "Install-Update"
		IfStr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS
			goto fatal
		EndIf
		SetRegValue $(KeyProduct) {MajorVersion, $(NoTitle),+
			$(!REG_VT_SZ), $(ProductMajorVersion)}
		SetRegValue $(KeyProduct) {MinorVersion, $(NoTitle),+
			$(!REG_VT_SZ), $(ProductMinorVersion)}
		CloseRegKey $(KeyProduct)
	Else
		goto fatalregistry
	EndIf
	goto end
successful = +
	goto end
abandon = +
	ForListDo $(OEM_ABANDON_OPTIONS)
		Shell $(UtilityInf), RemoveHardwareComponent, $(Manufacturer),+
		  $(ProductSoftwareName), $($)
		IfInt $($ShellCode) != $(!SHELL_CODE_OK)
			goto ShellCodeError
		EndIf
		Set RegistryErrorIndex = $($R0)
		IfStr(i) $(RegistryErrorIndex) != NO_ERROR
			goto fatalregistry
		EndIf
	EndForListDo
	IfStr(i) $(OEM_ABANDON_SOFTWARE) == TRUE
		Shell $(UtilityInf), RemoveSoftwareComponent, $(Manufacturer),+
		  $(ProductSoftwareName), FALSE
		IfInt $($ShellCode) != $(!SHELL_CODE_OK)
			goto ShellCodeError
		EndIf
		Set RegistryErrorIndex = $($R0)
		IfStr(i) $(RegistryErrorIndex) != NO_ERROR
			goto fatalregistry
		EndIf
	EndIf
	goto end
warning = +
	Shell $(subroutineinf), SetupMessage, $(!STF_LANGUAGE), "WARNING", $(Error)
	IfInt $($ShellCode) != $(!SHELL_CODE_OK)
		goto ShellCodeError
	EndIf
	IfStr(i) $($R1) == "OK"
		goto $(to)
	Else-IfStr(i) $($R1) == "CANCEL"
		goto $(from)
	Else
		goto "end"
	EndIf
nonfatalinfo = +
	Set CommonStatus	= STATUS_USERCANCEL
	Set Severity		= STATUS
	goto nonfatalmsg
nonfatal = +
	Set Severity		= NONFATAL
	goto nonfatalmsg
nonfatalmsg = +
	IfStr(i) $(Error) == ""
		Set Severity = NONFATAL
		Shell $(UtilityInf), RegistryErrorString, "SETUP_FAIL"
		IfInt $($ShellCode) != $(!SHELL_CODE_OK)
			goto ShellCodeError
		EndIf
		Set Error = $($R0)
	EndIf
	Shell $(subroutineinf), SetupMessage, $(!STF_LANGUAGE), $(Severity), $(Error)
	IfInt $($ShellCode) != $(!SHELL_CODE_OK)
		goto ShellCodeError
	EndIf
	IfStr(i) $($R1) == "OK"
		goto $(from)
	Else
		goto "end"
	EndIf
fatalregistry = +
	Shell $(UtilityInf), RegistryErrorString, $(RegistryErrorIndex)
	IfInt $($ShellCode) != $(!SHELL_CODE_OK)
		goto ShellCodeError
	EndIf
	Set Error = $($R0)
	goto fatal
fataldetect = +
	Shell $(UtilityInf), RegistryErrorString, CANNOT_DETECT
	IfInt $($ShellCode) != $(!SHELL_CODE_OK)
		goto ShellCodeError
	EndIf
	Set Error = $($R0)
	Goto fatal
fatal = +
	IfStr(i) $(Error) == ""
		Shell $(UtilityInf), RegistryErrorString, "SETUP_FAIL"
		IfInt $($ShellCode) != $(!SHELL_CODE_OK)
			goto ShellCodeError
		EndIf
		Set Error = $($R0)
	EndIf
	Shell $(subroutineinf), SetupMessage, $(!STF_LANGUAGE), "FATAL", $(Error)
	IfInt $($ShellCode) != $(!SHELL_CODE_OK)
		goto ShellCodeError
	EndIf
	goto setfailed
ShellCodeError = +
	Set DlgType		= "MessageBox"
	Set STF_MB_TITLE	= $(ShellCodeErrorTitle)
	Set STF_MB_TEXT 	= $(ShellCodeErrorText)
	Set STF_MB_TYPE 	= 1
	Set STF_MB_ICON 	= 3
	Set STF_MB_DEF		= 1
	ui start "Error Message"
	goto setfailed
setfailed = +
	Set CommonStatus = STATUS_FAILED
	IfStr(i) $(OEM_ABANDON_ON) == TRUE
		Set OEM_ABANDON_ON = FALSE
		goto abandon
	EndIf
	goto end
end = +
	goto term
term = +
	Return $(CommonStatus)
[Install-HelpFile]
	Set STF_VITAL		= ""
	Set STF_OVERWRITE	= "VERIFYSOURCEOLDER"
	AddSectionFilesToCopyList Files-Hlp $(SrcDir) $(!STF_WINDOWSSYSPATH)
	AddSectionFilesToCopyList Files-Dll $(SrcDir) $(!STF_WINDOWSSYSPATH)
	Set !STF_NCPA_FLUSH_COPYLIST = TRUE
	CopyFilesInCopyList
	exit
[Install-Option]
	Set STF_VITAL = ""
	IfStr(i) $(AddCopy) == "YES"
		AddSectionFilesToCopyList Files-$(Option) $(SrcDir) +
		  $(!STF_WINDOWSSYSPATH)\drivers
	EndIf
	IfStr(i) $(DoCopy) == "YES"
		Set !STF_NCPA_FLUSH_COPYLIST = TRUE
		CopyFilesInCopyList
	EndIf
	Exit
[Install-Update]
	Set STF_VITAL	= ""
	Set STF_OVERWRITE	= "VERIFYSOURCEOLDER"
	AddSectionFilesToCopyList Files-$(Option) $(SrcDir) +
	  $(!STF_WINDOWSSYSPATH)\drivers
	AddSectionFilesToCopyList Files-Inf $(SrcDir) $(!STF_WINDOWSSYSPATH)
	AddSectionFilesToCopyList Files-Hlp $(SrcDir) $(!STF_WINDOWSSYSPATH)
	AddSectionFilesToCopyList Files-Dll $(SrcDir) $(!STF_WINDOWSSYSPATH)
	Set !STF_NCPA_FLUSH_COPYLIST = TRUE
	CopyFilesInCopyList
	Exit
[Source Media Descriptions]
	1  = "Windows NT Setup Disk #1"
	2  = "Windows NT Setup CD-ROM Disk"
	3  = "SK Driver Disk"
[ProductType]
	STF_PRODUCT  = Winnt
	STF_PLATFORM = I386
[Files-Inf]
	3,	OemSetup.inf,	SIZE=4000,	RENAME=$(!UG_Filename)
[Files-Hlp]
	3,	OemNadSk.hlp,	SIZE=13000
[Files-Dll]
	3, 	OemNadSk.dll,	SIZE=11000
[Files-SKTOKNT]
	3,  SkTokNt.sys, SIZE=40000
[LanguagesSupported]
	ENG
[OptionsTextENG]
	SKTOKNT = "SK-NET Token Ring Adapter"
[OptionsTextIsaENG]
	SKTOKNT	= "SK-NET Token Ring Adapter"
	SKTOKNT_ISA	= "SK-NET Token Ring Adapter, not EISA-configured"
[FileConstantsENG]
	ProCaption	= "Windows NT Setup"
	ProCancel	= "Cancel"
	ProCancelMsg	= "Windows NT Networking is not correctly installed.  "+
			  "Are you sure you want to cancel copying files?"
	ProCancelCap	= "Network Setup Message"
	ProText1	= "Copying:"
	ProText2	= "To:"
	FunctionSKTOKNTTitle 	= "SK-NET Token Ring Adapter Card Setup"
	ProductSoftwareSKTOKNTDescription= "SK-NET Token Ring Adapter Driver"
	ProductHardwareSKTOKNTDescription= "SK-NET Token Ring Adapter"
	ProductSoftwareSKTOKNTTitle	 = "SK-NET Token Ring Adapter Driver"
	ProductHardwareSKTOKNTTitle	 = "SK-NET Token Ring Adapter"
	ShellCodeErrorTitle		 = "Error: "$(Function$(Option)Title)
	ShellCodeErrorText		 = "Shell Code Error."
[DialogConstantsENG]
	Help		= "&Help"
	Exit		= "Cancel"
	OK		= "OK"
	Defaults	= "&Defaults"
	HelpContext	= ""
	Continue	= "Continue"
	Cancel		= "Cancel"
[FileDependentDlgIsaENG]
	HelpFile		= OemNadSk.hlp
	IDH_DB_OEMSK_TOKNT_INS	= 9200
	HelpContext		= $(IDH_DB_OEMSK_TOKNT_INS)
	MinID			= 9000
	MaxID			= 9999
	Caption 		= $(Function$(Option)Title)
	DlgType 		= RadioCombination
	DlgTemplate		= "TOK_ISA"
	Combo1Label		= "I/O &Port Address:"
	Combo2Label		= "&IRQ Level:"
	Combo3Label		= "&DMA Channel:"
	Combo4Label		= "Data &Rate:"
	Combo5Label		= "Packet Si&ze:"
	Edit1Label		= "Network &Address:"
	DipSwitchInfo		= "Please verify the setting of the DIP switches."
	Combo1List		= $(IoBaseAddressHexList)
	Combo1Out		= $(IoBaseAddress)
	Combo2List		= $(IrqList)
	Combo2Out		= $(IrqLevel)
	Combo3List		= $(DmaChannelList)
	Combo3Out		= $(DmaChannel)
	Combo4List		= $(DataRateList)
	Combo4Out		= $(DataRate)
	Combo5List		= $(PacketSizeList)
	Combo5Out		= $(PacketSize)
	ComboListItemsIn	= {Combo1List, Combo2List, Combo3List,+
				   Combo4List, Combo5List}
	ComboListItemsOut	= {Combo1Out, Combo2Out, Combo3Out,+
				   Combo4Out, Combo5Out}
	NotifyFields		= {NO, NO, NO, NO, NO}
	EditTextIn		= $(NetworkAddress)
	EditTextLim		= 17
[FileDependentDlgEisaENG]
	HelpFile		= OemNadSk.hlp
	IDH_DB_OEMSK_TOKNT_INS	= 9201
	HelpContext		= $(IDH_DB_OEMSK_TOKNT_INS)
	MinID			= 9000
	MaxID			= 9999
	Caption 		= $(Function$(Option)Title)
	DlgType 		= RadioCombination
	DlgTemplate		= "TOK_SLOT"
	Combo1Label		= "&Slot Number:"
	Combo2Label		= "Data &Rate:"
	Combo3Label		= "Packet Si&ze:"
	Edit1Label		= "Network &Address:"
	Combo1Out		= $(SlotNumber)
	Combo2List		= $(DataRateList)
	Combo2Out		= $(DataRate)
	Combo3List		= $(PacketSizeList)
	Combo3Out		= $(PacketSize)
	ComboListItemsIn	= {Combo1List, Combo2List, Combo3List}
	ComboListItemsOut	= {Combo1Out, Combo2Out, Combo3Out}
	NotifyFields		= {NO, NO, NO}
	EditTextIn		= $(NetworkAddress)
	EditTextLim		= 17
[FileDependentDlgMcaENG]
	HelpFile		= OemNadSk.hlp
	IDH_DB_OEMSK_TOKNT_INS	= 9202
	HelpContext		= $(IDH_DB_OEMSK_TOKNT_INS)
	MinID			= 9000
	MaxID			= 9999
	Caption 		= $(Function$(Option)Title)
	DlgType 		= RadioCombination
	DlgTemplate		= "TOK_SLOT"
	Combo1Label		= "&Slot Number:"
	Combo2Label		= "Data &Rate:"
	Combo3Label		= "Packet Si&ze:"
	Edit1Label		= "Network &Address:"
	Combo1Out		= $(SlotNumber)
	Combo2List		= $(DataRateList)
	Combo2Out		= $(DataRate)
	Combo3List		= $(PacketSizeList)
	Combo3Out		= $(PacketSize)
	ComboListItemsIn	= {Combo1List, Combo2List, Combo3List}
	ComboListItemsOut	= {Combo1Out, Combo2Out, Combo3Out}
	NotifyFields		= {NO, NO, NO}
	EditTextIn		= $(NetworkAddress)
	EditTextLim		= 17
;
; OemSetup.inf version 1.52
