home *** CD-ROM | disk | FTP | other *** search
/ ftp.tcs3.com / ftp.tcs3.com.tar / ftp.tcs3.com / DRIVERS / Network / 3COM / 3c90x / osr290x.exe / WINNT / DRMONNT.INF < prev    next >
INI File  |  1997-03-24  |  16KB  |  567 lines

  1.  
  2.  
  3. [Identification]
  4.  OptionType = NetTransport
  5. [Options]
  6.  DTA
  7. [FileConstants]
  8. UtilityInf = "UTILITY.INF"
  9. subroutineinf = "SUBROUTN.INF"
  10. SoftwareType = "service"
  11. Exit_Code = 0
  12. NetEventDLL = "%SystemRoot%\System32\netevent.dll"
  13. Manufacturer = "3Com"
  14. DTAMajorVersion = "1"
  15. DTAMinorVersion = "0"
  16. DTAVersion = $(DTAMajorVersion)"."$(DTAMinorVersion)
  17. DTASoftwareName = "DTA"
  18. DTASoftwareImagePath = "%SystemRoot%\System32\drivers\dtadrv.sys"
  19. NetRuleSoftwareType = "DTA lmNetService ndisTransport"
  20. NetRuleSoftwareClass = {"rasCapableTransport netBiosTransport"}
  21.  
  22. NetRuleSoftwareUse = $(SoftwareType)" yes yes"
  23. NetRuleSoftwareBindForm = """DTA"" yes yes simple"
  24.  
  25. DTAKeyName = $(!NTN_SoftwareBase)"\"$(Manufacturer)"\"$(DTASoftwareName)"\CurrentVersion"
  26.  
  27. AgentMajorVersion = "1"
  28. AgentMinorVersion = "0"
  29. AgentVersion = $(AgentMajorVersion)"."$(AgentMinorVersion)
  30. AgentServiceImagePath = "%SystemRoot%\System32\drmon\smartagt\smartagt.exe"
  31. AgentSoftwareName = "dRMON SmartAgent"
  32. AgentServiceName = $(AgentSoftwareName)
  33. AgentKeyName = $(!NTN_SoftwareBase)"\"$(Manufacturer)"\"$(AgentSoftwareName)"\CurrentVersion"
  34.  
  35. [GeneralConstants]
  36. from = ""
  37. to = ""
  38. ExitCodeOk = 0
  39. ExitCodeCancel = 1
  40. ExitCodeFatal = 2
  41. KeyNull = ""
  42. MAXIMUM_ALLOWED = 33554432
  43. RegistryErrorIndex = NO_ERROR
  44. KeyDTA = ""
  45. KeyAgent = ""
  46. KeyParameters = ""
  47. TRUE = 1
  48. FALSE = 0
  49. NoTitle = 0
  50. ExitState = "Active"
  51. OldVersionExisted = $(FALSE)
  52. DriverPath = $(!STF_NTPATH)\drivers
  53.  
  54. [date]
  55.  Now = {} ? $(!LIBHANDLE) GetSystemDate
  56. [Identify]
  57.  read-syms Identification
  58.  set Status = STATUS_SUCCESSFUL
  59.  set Identifier = $(OptionType)
  60.  set Media = #("Source Media Descriptions", 1, 1)
  61.  Return $(Status) $(Identifier) $(Media)
  62. [ReturnOptions]
  63.  set Status = STATUS_FAILED
  64.  set OptionList = {}
  65.  set OptionTextList = {}
  66.  set LanguageList = ^(LanguagesSupported, 1)
  67.  Ifcontains(i) $($0) in $(LanguageList)
  68.  goto returnoptions
  69.  else
  70.  set Status = STATUS_NOLANGUAGE
  71.  goto finish_ReturnOptions
  72.  endif
  73. returnoptions = +
  74.  set OptionList = ^(Options, 1)
  75.  set OptionTextList = ^(OptionsText$($0), 1)
  76.  set Status = STATUS_SUCCESSFUL
  77. finish_ReturnOptions = +
  78.  Return $(Status) $(OptionList) $(OptionTextList)
  79. [InstallOption]
  80.  set Option = $($1)
  81.  set SrcDir = $($2)
  82.  set AddCopy = $($3)
  83.  set DoCopy = $($4)
  84.  set DoConfig = $($5)
  85.  set CalledFrom = $($6)
  86.  Debug-Output "drmon.INF: $($6) is: "$(CalledFrom)
  87.  set LanguageList = ^(LanguagesSupported, 1)
  88.  Ifcontains(i) $($0) NOT-IN $(LanguageList)
  89.  Return STATUS_NOLANGUAGE
  90.  endif
  91.  Debug-Output "OEMNXPNB.INF: STF_CWDDIR is: "$(!STF_CWDDIR)
  92.  Debug-Output "OEMNXPNB.INF: STF_LANGUAGE is: "$(!STF_LANGUAGE)
  93.  set-subst LF = "\n"
  94.  read-syms GeneralConstants
  95.  read-syms FileConstants
  96.  read-syms DialogConstants$(!STF_LANGUAGE)
  97.  ifstr(i) $(!NTN_Origination) == "NCPA"
  98.  set Continue = $(OK)
  99.  endif
  100.  read-syms FileConstants$(!STF_LANGUAGE)
  101.  detect date
  102.  set-title $(FunctionTitle)
  103.  set to = Begin
  104.  set from = Begin
  105.  set CommonStatus = STATUS_SUCCESSFUL
  106.  EndWait
  107. Begin = +
  108.  Ifstr(i) $(!NTN_InstallMode) == deinstall
  109.  set StartLabel = removeadapter
  110.  else-Ifstr(i) $(!NTN_InstallMode) == Update
  111.  set StartLabel = UpgradeSoftware
  112.  else-Ifstr(i) $(!NTN_InstallMode) == bind
  113.  set StartLabel = bindingadapter
  114.  else-Ifstr(i) $(!NTN_InstallMode) == configure
  115.  Shell $(UtilityInf),RegistryErrorString,CANNOT_CONFIGURE_SOFTWARE
  116.  ifint $($ShellCode) != $(!SHELL_CODE_OK)
  117.  Debug-Output "OEMNXPNB.INF: ShellCode error: cannot get an error string."
  118.  goto ShellCodeError
  119.  endif
  120.  set Error = $($R0)
  121.  set from = end
  122.  set to = end
  123.  goto nonfatalinfo
  124.  else
  125.  set StartLabel = installadapter
  126.  endif
  127.  set RadioDefault = 2
  128.  set RadioIn = {$(RadioDefault)}
  129.  set from = $(fatal)
  130.  set to = $(fatal)
  131.  goto $(StartLabel)
  132. installadapter = +
  133.  OpenRegKey $(!REG_H_LOCAL) "" $(AgentKeyName) $(MAXIMUM_ALLOWED) KeyAgent
  134.  Ifstr $(KeyAgent) != $(KeyNull)
  135.  CloseRegKey $(KeyAgent)
  136.  ifstr $(Option) == "DTA"
  137.  Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "STATUS",+
  138.  "3COM dRMON SmartAgent PC Software v1.0 already installed."
  139.  
  140.  
  141. endif
  142.  ifint $($ShellCode) != $(!SHELL_CODE_OK)
  143.  Debug-Output "ShellCode error: cannot get an error string."
  144.  goto ShellCodeError
  145.  endif
  146.  goto end
  147.  endif
  148.  CloseRegKey $(KeyAgent)
  149.  goto installproduct
  150. installproduct = +
  151.  StartWait
  152.  ifint $(OldVersionExisted) == $(FALSE)
  153.  Ifstr(i) $(DoCopy) == "YES"
  154.  Shell $(UtilityInf), DoAskSource, $(!STF_CWDDIR), $(SrcDir) YES
  155.  Ifint $($ShellCode) != $(!SHELL_CODE_OK)
  156.  Goto ShellCodeError
  157.  Else-Ifstr(i) $($R0) == STATUS_FAILED
  158.  Shell $(UtilityInf) RegistryErrorString "ASK_SOURCE_FAIL"
  159.  ifint $($ShellCode) != $(!SHELL_CODE_OK)
  160.  goto ShellCodeError
  161.  endif
  162.  set Error = $($R0)
  163.  Goto fatal
  164.  Else-Ifstr(i) $($R0) == STATUS_USERCANCEL
  165.  Goto successful
  166.  Endif
  167.  Set SrcDir = $($R1)
  168.  Endif
  169.  install "Install-Option"
  170.  ifstr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS
  171.  Shell $(UtilityInf) RegistryErrorString "UNABLE_COPY_FILE"
  172.  ifint $($ShellCode) != $(!SHELL_CODE_OK)
  173.  goto ShellCodeError
  174.  endif
  175.  set Error = $($R0)
  176.  goto fatal
  177.  endif
  178.  set OEM_ABANDON_ON = TRUE
  179.  
  180. Shell $(UtilityInf), AddSoftwareComponent, $(Manufacturer), +
  181.  $(DTASoftwareName), +
  182.  $(DTASoftwareName), +
  183.  $(DTASoftwareDisplayName), $(STF_CONTEXTINFNAME), +
  184.  $(DTASoftwareImagePath), "kernel", "TDI", {}, "",+
  185.  $(NetEventDLL)
  186.  set RegistryErrorIndex = $($R0)
  187.  Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  188.  EndWait
  189.  CloseRegKey $($R1)
  190.  CloseRegKey $($R2)
  191.  CloseRegKey $($R3)
  192.  CloseRegKey $($R4)
  193.  CloseRegKey $($R5)
  194.  goto fatalRegistry
  195.  endif
  196.  Set SoftDTAKey = $($R1)
  197.  Set SoftNetRuleKey = $($R2)
  198.  Set SoftServiceKey = $($R3)
  199.  set KeyParameters = $($R4)
  200.  Set SoftLinkageKey = $($R5)
  201.  set NewValueList = {{SoftwareType,$(NoTitle),$(!REG_VT_SZ),$(SoftwareType)},+
  202.  {MajorVersion,$(NoTitle),$(!REG_VT_DWORD),$(DTAMajorVersion)},+
  203.  {MinorVersion,$(NoTitle),$(!REG_VT_DWORD),$(DTAMinorVersion)},+
  204.  {Title,$(NoTitle),$(!REG_VT_SZ),$(AgentSoftwareTitle)},+
  205.  {Description,$(NoTitle),$(!REG_VT_SZ),$(AgentSoftwareDescription)},+
  206.  {ServiceName,$(NoTitle),$(!REG_VT_SZ),$(DTASoftwareName)},+
  207.  {InstallDate,$(NoTitle),$(!REG_VT_DWORD),*($(Now),1)}}
  208.  Shell $(UtilityInf), AddValueList, $(SoftDTAKey), $(NewValueList)
  209.  set RegistryErrorIndex = $($R0)
  210.  Ifstr $(RegistryErrorIndex) != NO_ERROR
  211.  CloseRegKey $(SoftDTAKey)
  212.  CloseRegKey $(SoftNetRuleKey)
  213.  CloseRegKey $(SoftServiceKey)
  214.  CloseRegKey $(SoftLinkageKey)
  215.  CloseRegKey $(KeyParameters)
  216.  goto fatalRegistry
  217.  endif
  218.  set NewValueList = {{type ,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareType)}, +
  219.  {use ,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareUse)}, +
  220.  {bindform,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareBindForm)}, +
  221.  {InfOption,$(NoTitle),$(!REG_VT_SZ),"DTA"}}
  222.  Shell $(UtilityInf), AddValueList, $(SoftNetRuleKey), $(NewValueList)
  223.  set RegistryErrorIndex = $($R0)
  224.  Ifstr $(RegistryErrorIndex) != NO_ERROR
  225.  CloseRegKey $(SoftDTAKey)
  226.  CloseRegKey $(SoftNetRuleKey)
  227.  CloseRegKey $(SoftServiceKey)
  228.  CloseRegKey $(SoftLinkageKey)
  229.  CloseRegKey $(KeyParameters)
  230.  goto fatalRegistry
  231.  endif
  232.  Set NewValueList = {{NbProvider,$(NoTitle),$(!REG_VT_SZ),"_nb"}}
  233.  Shell $(UtilityInf), AddValueList, $(KeyParameters), $(NewValueList)
  234.  Ifstr $(RegistryErrorIndex) != NO_ERROR
  235.  CloseRegKey $(SoftDTAKey)
  236.  CloseRegKey $(SoftNetRuleKey)
  237.  CloseRegKey $(SoftServiceKey)
  238.  CloseRegKey $(SoftLinkageKey)
  239.  goto fatalRegistry
  240.  endif
  241.  CloseRegKey $(SoftDTAKey)
  242.  CloseRegKey $(SoftNetRuleKey)
  243.  CloseRegKey $(SoftServiceKey)
  244.  CloseRegKey $(SoftLinkageKey)
  245.  endif
  246.  goto writeparameters
  247. writeparameters = +
  248.  CloseRegKey $(KeyParameters)
  249.  
  250.  
  251.  
  252. Shell $(UtilityInf), AddSoftwareComponent, $(Manufacturer), +
  253.  $(AgentSoftwareName), +
  254.  $(AgentSoftwareName), +
  255.  $(AgentServiceDisplayName), $(STF_CONTEXTINFNAME), +
  256.  $(AgentServiceImagePath), "serviceauto", "", {"DTA"}, "",
  257.  
  258. set RegistryErrorIndex = $($R0)
  259.  Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  260.  EndWait
  261.  CloseRegKey $($R1)
  262.  CloseRegKey $($R2)
  263.  CloseRegKey $($R3)
  264.  CloseRegKey $($R4)
  265.  CloseRegKey $($R5)
  266.  goto fatalRegistry
  267.  endif
  268.  
  269. set SoftAgentKey = $($R1)
  270.  CloseRegKey $($R2)
  271.  CloseRegKey $($R3)
  272.  CloseRegKey $($R4)
  273.  CloseRegKey $($R5)
  274.  
  275. set NewValueList = {{SoftwareType,$(NoTitle),$(!REG_VT_SZ),$(SoftwareType)},+
  276.  {MajorVersion,$(NoTitle),$(!REG_VT_DWORD),$(AgentMajorVersion)},+
  277.  {MinorVersion,$(NoTitle),$(!REG_VT_DWORD),$(AgentMinorVersion)},+
  278.  {"Locked",$(NoTitle),$(!REG_VT_SZ),"ON"},+
  279.  {Pathname,$(NoTitle),$(!REG_VT_SZ),$(AgentServiceImagePath)},+
  280.  {Description,$(NoTitle),$(!REG_VT_SZ),$(AgentSoftwareDescription)},+
  281.  {ServiceName,$(NoTitle),$(!REG_VT_SZ),$(AgentSoftwareDisplayName)},+
  282.  {InstallDate,$(NoTitle),$(!REG_VT_DWORD),*($(Now),1)}}
  283.  
  284.  
  285. Shell $(UtilityInf), AddValueList, $(SoftAgentKey), $(NewValueList)
  286.  set RegistryErrorIndex = $($R0)
  287.  Ifstr $(RegistryErrorIndex) != NO_ERROR
  288.  CloseRegKey $(SoftAgentKey)
  289.  
  290. goto fatalRegistry
  291.  endif
  292.  
  293. OpenRegKey $(!REG_H_LOCAL) "" "SYSTEM\CurrentControlSet\Control\ProductOptions" +
  294.  $(MAXIMUM_ALLOWED) ProductType
  295.  GetRegValue $(ProductType) "ProductType" ProductTypeList
  296.  set Type = *($(ProductTypeList),4)
  297.  Ifstr(i) $(Type) != "WinNT"
  298.  Shell $(UtilityInf), AddValueList, $(SoftAgentKey) +
  299.  {{dRMON,$(NoTitle),$(!REG_VT_SZ),off}}
  300.  
  301. endif
  302.  CloseRegKey $(SoftAgentKey)
  303.  
  304.  
  305.  
  306.  
  307.  
  308. OpenRegKey $(!REG_H_LOCAL) "" $(AgentKeyName) $(MAXIMUM_ALLOWED) AgentBaseKey
  309.  Ifstr $(AgentBaseKey) != $(KeyNull)
  310.  DeleteRegTree $(AgentBaseKey) "NetRules"
  311.  endif
  312.  
  313.  EndWait
  314.  goto successful
  315. bindingadapter =+
  316.  set Error = "Binding: Sorry, not yet implemented."
  317.  goto fatal
  318. removeadapter = +
  319.  
  320.  
  321. ifstr(i) $(CalledFrom) == "-inf"
  322.  
  323. RunProgram status "x" "" $(!STF_WINDOWSSYSPATH)\undrmon.exe -test
  324.  
  325.  OpenRegKey $(!REG_H_LOCAL) "" $(AgentKeyName) +
  326.  $(MAXIMUM_ALLOWED) AgentKey
  327.  
  328.  
  329. GetRegValue $(AgentKey) "UnInstall" AgentList
  330.  set result = *($(AgentList),4)
  331.  Ifstr(i) $(result) == "No"
  332.  
  333.  
  334.  
  335.  
  336.  
  337. CloseRegKey $(AgentKey)
  338.  goto end
  339.  endif
  340.  CloseRegKey $(AgentKey)
  341.  
  342.  else
  343.  
  344. OpenRegKey $(!REG_H_LOCAL) "" $(AgentKeyName) +
  345.  $(MAXIMUM_ALLOWED) AgentKey
  346.  
  347. GetRegValue $(AgentKey) "Locked" AgentList
  348.  set Type = *($(AgentList),4)
  349.  Ifstr(i) $(Type) == "ON"
  350.  Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "STATUS",+
  351.  "3COM dRMON SmartAgent PC Software can't be removed. Please contact your system administrator for further intructions."
  352.  
  353.  CloseRegKey $(AgentKey)
  354.  goto end
  355.  endif
  356.  CloseRegKey $(AgentKey)
  357.  endif
  358.  
  359. Shell $(UtilityInf), RemoveSoftwareComponent, $(Manufacturer), +
  360.  $(DTASoftwareName)
  361.  ifint $($ShellCode) != $(!SHELL_CODE_OK)
  362.  Debug-Output "ShellCode error"
  363.  goto ShellCodeError
  364.  endif
  365.  set RegistryErrorIndex = $($R0)
  366.  Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  367.  goto fatalregistry
  368.  endif
  369.  Shell $(UtilityInf), RemoveSoftwareComponent, $(Manufacturer), +
  370.  $(AgentSoftwareName)
  371.  ifint $($ShellCode) != $(!SHELL_CODE_OK)
  372.  Debug-Output "ShellCode error"
  373.  goto ShellCodeError
  374.  endif
  375.  set RegistryErrorIndex = $($R0)
  376.  Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  377.  goto fatalregistry
  378.  endif
  379.  RunProgram status "x" "" $(!STF_WINDOWSSYSPATH)\undrmon.exe -inf
  380.  
  381.  
  382. goto end
  383. UpgradeSoftware = +
  384.  
  385. goto end
  386. successful = +
  387.  Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "STATUS",+
  388.  "3Com dRMON SmartAgent PC Software is successfully installed."
  389.  goto end
  390. warning = +
  391.  Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "WARNING", $(Error)
  392.  ifint $($ShellCode) != $(!SHELL_CODE_OK)
  393.  goto ShellCodeError
  394.  endif
  395.  ifstr(i) $($R1) == "OK"
  396.  goto $(to)
  397.  else-ifstr(i) $($R1) == "CANCEL"
  398.  goto $(from)
  399.  else
  400.  goto "end"
  401.  endif
  402. nonfatalinfo = +
  403.  Set CommonStatus = STATUS_USERCANCEL
  404.  Set Severity = STATUS
  405.  goto nonfatalmsg
  406. nonfatal = +
  407.  Set Severity = NONFATAL
  408.  goto nonfatalmsg
  409. nonfatalmsg = +
  410.  ifstr(i) $(Error) == ""
  411.  Shell $(UtilityInf) RegistryErrorString "SETUP_FAIL"
  412.  ifint $($ShellCode) != $(!SHELL_CODE_OK)
  413.  goto ShellCodeError
  414.  endif
  415.  set Error = $($R0)
  416.  endif
  417.  Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), $(Severity), $(Error)
  418.  ifint $($ShellCode) != $(!SHELL_CODE_OK)
  419.  goto ShellCodeError
  420.  endif
  421.  ifstr(i) $($R1) == "OK"
  422.  goto $(from)
  423.  else
  424.  goto "end"
  425.  endif
  426. fatalregistry = +
  427.  Shell $(UtilityInf) RegistryErrorString $(RegistryErrorIndex)
  428.  ifint $($ShellCode) != $(!SHELL_CODE_OK)
  429.  goto ShellCodeError
  430.  endif
  431.  set Error = $($R0)
  432.  goto fatal
  433. fatal = +
  434.  ifstr(i) $(Error) == ""
  435.  Shell $(UtilityInf) RegistryErrorString "SETUP_FAIL"
  436.  ifint $($ShellCode) != $(!SHELL_CODE_OK)
  437.  goto ShellCodeError
  438.  endif
  439.  set Error = $($R0)
  440.  endif
  441.  Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "FATAL", $(Error)
  442.  ifint $($ShellCode) != $(!SHELL_CODE_OK)
  443.  goto ShellCodeError
  444.  endif
  445.  goto setfailed
  446. ShellCodeError = +
  447.  set DlgType = "MessageBox"
  448.  set STF_MB_TITLE = $(ShellCodeErrorTitle)
  449.  set STF_MB_TEXT = $(ShellCodeErrorText) 
  450. set STF_MB_TYPE = 1
  451.  set STF_MB_ICON = 3
  452.  set STF_MB_DEF = 1
  453.  ui start "Error Message"
  454.  goto setfailed
  455. setfailed = +
  456.  set CommonStatus = STATUS_FAILED
  457.  ifstr(i) $(OEM_ABANDON_ON) == TRUE
  458.  set OEM_ABANDON_ON = FALSE
  459.  goto removeadapter
  460.  endif
  461.  goto end
  462. end = +
  463.  goto term
  464. term = +
  465.  Return $(CommonStatus)
  466. [RemoveDirAll]
  467.  RemoveDir $(!STF_WINDOWSSYSPATH)"\dRMON\SmartAgt\"
  468. [Install-Option]
  469.  set STF_VITAL = ""
  470.  ifstr(i) $(AddCopy) == "YES"
  471.  AddSectionFilesToCopyList Files-Agent $(SrcDir)drmon\update\SmartAgt $(!STF_WINDOWSSYSPATH)\drmon\SmartAgt
  472.  AddSectionFilesToCopyList Files-DTAApps $(SrcDir)drmon\update\dta $(!STF_WINDOWSSYSPATH)
  473.  AddSectionFilesToCopyList Files-DTADrv $(SrcDir)drmon\update\dta $(!STF_WINDOWSSYSPATH)\drivers 
  474.  
  475. AddSectionFilesToCopyList Files-Agent $(SrcDir)drmon\update\SmartAgt $(!STF_WINDOWSSYSPATH)\drmon\update\smartagt 
  476. AddSectionFilesToCopyList Files-DTA $(SrcDir)drmon\update\DTA $(!STF_WINDOWSSYSPATH)\drmon\update\DTA
  477.  AddSectionFilesToCopyList Files-NIC $(SrcDir)drmon\update\nic $(!STF_WINDOWSSYSPATH)\drmon\update\nic
  478.  AddSectionFilesToCopyList Files-SetUp $(SrcDir)drmon $(!STF_WINDOWSSYSPATH)
  479.  
  480.  
  481. endif
  482.  ifstr(i) $(DoCopy) == "YES"
  483.  CreateDir $(!STF_WINDOWSSYSPATH)\drmon
  484.  CreateDir $(!STF_WINDOWSSYSPATH)\drmon\update
  485.  CreateDir $(!STF_WINDOWSSYSPATH)\drmon\update\dta
  486.  CreateDir $(!STF_WINDOWSSYSPATH)\drmon\update\nic
  487.  CreateDir $(!STF_WINDOWSSYSPATH)\drmon\update\smartagt
  488.  
  489. CreateDir $(!STF_WINDOWSSYSPATH)\drmon\smartagt
  490.  set !STF_NCPA_FLUSH_COPYLIST = TRUE
  491.  CopyFilesInCopyList
  492.  endif
  493.  ifstr(i) $(DoConfig) == "YES"
  494.  endif
  495.  Exit
  496.  
  497.  
  498.  
  499.  
  500. [Install-Update]
  501.  
  502.  
  503. exit
  504. [Source Media Descriptions]
  505.  1 = "3Com EtherDisk for Fast EtherLink XL and EtherLink XL Adapters (DISK 2)" , TAGFILE = DISK2
  506. [ProductType]
  507. STF_PRODUCT = Winnt
  508. STF_PLATFORM = I386
  509. [Files-Inf]
  510. 1, oemsetup.inf, SIZE=1000, RENAME="drmonsgt.inf"
  511.  
  512.  
  513. [Files-DTAApps]
  514. 1,dtaapi.nt , SIZE=999, RENAME=dtaapi.dll
  515.  
  516. [Files-DTADrv]
  517. 1,dtadrv.sys , SIZE=999
  518. [Files-Agent]
  519. 1,smartagt.ini 
  520. 1,smartagt.nt, RENAME=smartagt.exe 
  521.  
  522. [Files-DTA]
  523. 1,dtaapi.nt,RENAME=dtaapi.dll 
  524. 1,dtadrv.sys 
  525.  
  526. [Files-NIC] 
  527.  
  528. [Files-SetUp] 
  529. 1, undrmon.exe
  530. [LanguagesSupported]
  531.  ENG
  532. [OptionsTextENG]
  533.  NDISPERF = "3Com dRMON SmartAgent PC Software"
  534. [FileConstantsENG]
  535. ProCaption = "Windows NT Setup"
  536. ProCancel = "Cancel"
  537. ProCancelMsg = "Windows NT Networking is not correctly installed. "+
  538.  "Are you sure you want to cancel copying files?"
  539. ProCancelCap = "Network Setup Message"
  540. ProText1 = "Copying:"
  541. ProText2 = "To:"
  542. FunctionTitle = "DTA Driver"
  543. DTASoftwareDescription = "3Com NDIS 3.0 DTA Driver"
  544. AgentSoftwareDescription = "3Com Distributed Remote Monitoring Smart Agent"
  545. AgentSoftwareDisplayName = "3Com dRMON SmartAgent PC Software" 
  546. AgentSoftwareTitle = $(AgentSoftwareDisplayName)
  547. AgentServiceDisplayName = $(AgentSoftwareDisplayName)
  548. ShellCodeErrorTitle = "Error: "$(FunctionTitle)
  549. ShellCodeErrorText = "Shell Code Error."
  550. [DialogConstantsENG]
  551. Help = "&Help"
  552. Exit = "Cancel"
  553. OK = "OK"
  554. HelpContext = ""
  555. Continue = "Continue"
  556. Cancel = "Cancel"
  557. [FileDependentDlgENG]
  558. GroupLabel = "Optimization:"
  559. Radio1 = "&Minimize Memory Used"
  560. Radio2 = "&Balance"
  561. Radio3 = "M&aximize Throughput && Connections"
  562. DlgType = "Radio" 
  563. DlgTemplate = "NBF" 
  564. Caption = $(FunctionTitle)
  565. OptionsGreyed = {}
  566. HelpContext = $(!IDH_DB_OEMNXPNB_INS)
  567.