set DriverKey = $(!NTN_SoftwareBase)"\"$(Manufacturer)"\"$(DriverName)"\CurrentVersion"
Split-String $(AdapterName), "\", AdapterPathList
Set AdapterNumber = *($(AdapterPathList),11)
Set NetCardsBase = *($(AdapterPathList),1)*($(AdapterPathList),2)*($(AdapterPathList),3)*($(AdapterPathList),4)*($(AdapterPathList),5)*($(AdapterPathList),6)*($(AdapterPathList),7)*($(AdapterPathList),8)*($(AdapterPathList),9)
Debug-Output "NWSUBS.INF: GetOptionTitle NDIS status = "$($R0)
goto NwDetectNdisAdapterExit
Endif
set NdisAdapterTitle = $($R1)
set MessageText = "For the best NetWare performance we recommend replacing your "$(NdisAdapterTitle)" driver with the Novell Certified"$(OdiAdapterTitle)" driver. Replace driver?"
set DlgType = "MessageBox"
set STF_MB_TITLE = "Replace NDIS driver with ODI driver"
set STF_MB_TEXT = $(MessageText)
set STF_MB_TYPE = 3
set STF_MB_ICON = 4
set STF_MB_DEF = 1
ui start "ReplaceNdisDriver"
Ifstr(i) $(DLGEVENT) == "NO"
Debug-Output "NWSUBS.INF: Don't replace the Ndis driver"
goto NwDetectNdisAdapterExit
Endif
;
; get the ndis parameters for this adapter
;
set NdisParameters = $(!NTN_ServiceBase)"\"$(NdisServiceName)"\Parameters"