home *** CD-ROM | disk | FTP | other *** search
/ PC World Plus! (NZ) 2000 September / PCWORLD_PLUS.iso / review / CHKUPGRD.EXE / RCDATA / CABINET / winntupg$ms$modemshr$netmshr.inf < prev    next >
Windows Setup INFormation  |  1998-07-01  |  4KB  |  144 lines

  1. ;
  2. ; Modem Sharing Server
  3. ;
  4. ; Copyright (c) 1993-1997, Microsoft Corporation
  5. ;
  6.  
  7.  
  8. [version]
  9. signature="$Windows NT$"
  10. ClassGUID={4D36E974-E325-11CE-BFC1-08002BE10318}
  11. Provider=%Msft%
  12. LayoutFile=layout.inf
  13.  
  14. ;
  15. ; Manufacturer section
  16. ;
  17.  
  18. [Manufacturer]
  19. %Msft%=MSFT
  20.  
  21.  
  22. ;
  23. ; Device section
  24. ;
  25.  
  26. [MSFT]
  27. %MdmShrSrv_Desc%    = MdmShrSrv.ndi, MS_MDMSHRSRV
  28.  
  29.  
  30. ;
  31. ; Install Sections
  32. ;
  33.  
  34. [MdmShrSrv.ndi]
  35. AddReg              = MdmShrSrv.ndi.AddReg
  36. Characteristics     = 0x0020                            ; NCF_REMOVABLE
  37. ;CopyFiles           = MdmShrSrv_CopyFiles, MdmShrDrv_CopyFiles
  38.  
  39. [MdmShrSrv.ndi.Remove]
  40. OptionDesc          = %MdmShrSrv_Desc%
  41. DelFiles            = MdmShrSrv_CopyFiles, MdmShrDrv_CopyFiles
  42.  
  43. [MdmShrSrv.Install]
  44. OptionDesc          = %MdmShrSrv_Desc%
  45.  
  46. [MdmShrSrv.Install.Remove]
  47. OptionDesc          = %MdmShrSrv_Desc%
  48. DelFiles            = MdmShrSrv_CopyFiles, MdmShrDrv_CopyFiles
  49. ;
  50. ; Copy File Sections
  51. ;
  52.  
  53. [MdmShrSrv_CopyFiles]
  54. netmodem.exe
  55. modemshr.exe
  56. modemshr.cpl
  57.  
  58. [MdmShrDrv_CopyFiles]
  59. modemshr.sys
  60.  
  61. [DestinationDirs]
  62. MdmShrSrv_CopyFiles = 11
  63. MdmShrDrv_CopyFiles = 12
  64.  
  65.  
  66. ;
  67. ; Services Sections
  68. ;
  69.  
  70. [MdmShrSrv.ndi.Services]
  71. AddService = ModemSharingServer,,      MdmShrSrv_Service_Inst
  72. AddService = ModemSharingDriver,,      MdmShrDrv_Service_Inst
  73.  
  74.  
  75. ;
  76. ; Remove stuff
  77. ;
  78.  
  79. [MdmShrSrv.ndi.Remove.Services]
  80. DelService = ModemSharingServer
  81. DelService = ModemSharingDriver
  82.  
  83. ;
  84. ; Service Install Sections
  85. ;
  86.  
  87. [MdmShrSrv_Service_Inst]
  88. DisplayName     = %MdmShrSrv_Desc%
  89. ServiceType     = 0x10                                  ;SERVICE_WIN32_OWN_PROCESS
  90. StartType       = 2                                     ;SERVICE_AUTO_START
  91. ErrorControl    = 1                                     ;SERVICE_ERROR_NORMAL
  92. ServiceBinary   = %11%\modemshr.exe
  93. ;StartName      = LocalSystem
  94. AddReg          = ModemSharing.Server.AddReg
  95.  
  96. [MdmShrDrv_Service_Inst]
  97. DisplayName     = %MdmShrDrv_Desc%
  98. ServiceType     = 2                                     ;SERVICE_FILE_SYSTEM_DRIVER
  99. StartType       = 3                                     ;SERVICE_DEMAND_START
  100. ErrorControl    = 1                                     ;SERVICE_ERROR_NORMAL
  101. ServiceBinary   = %12%\modemshr.sys
  102. LoadOrderGroup  = Network
  103. AddReg          = ModemSharing.Driver.AddReg
  104.  
  105.  
  106. ;
  107. ; Add Registry sections
  108. ;
  109.  
  110. [MdmShrSrv.ndi.AddReg]
  111. HKR,"Ndi",              "Service",,                         "ModemSharingServer"
  112. HKR,"Ndi",              "HelpText",,                        "%ModemSharing_Help%"
  113. HKR,"Ndi\Install",,,                                        "MSMdmShr.Install"
  114. HKR,"Ndi\Remove",,,                                         "MSMdmShr.Remove"
  115. HKR,"Ndi\Interfaces",   "UpperRange",,                      "winnet5"
  116. HKR,"Ndi\Interfaces",   "LowerRange",,                      "netbios,ipx"
  117.  
  118. [ModemSharing.Server.AddReg]
  119. HKR,Parameters,Pools,%FLG_ADDREG_KEYONLY%
  120. HKR,,                   DependOnService,    %REG_MULTI_SZ%, "ModemSharingDriver", "TapiSrv"
  121. HKR,Parameters,         DebugLevel,         %REG_DWORD%,    15
  122. HKR,Parameters,         BreakOnEntry,       %REG_DWORD%,    0
  123.  
  124. [ModemSharing.Driver.AddReg]
  125.  
  126.  
  127. [Strings]
  128. Msft                    = "Microsoft"
  129. MdmShrSrv_Desc          = "Modem Sharing Services"
  130. MdmShrDrv_Desc          = "Modem Sharing Driver"
  131. ModemSharing_Help       = "Shares communication resources with other computers"
  132.  
  133.  
  134. FLG_ADDREG_KEYONLY = 0x0010
  135. REG_MULTI_SZ = 0x10000
  136. REG_EXPAND_SZ = 0x20000
  137. REG_DWORD = 0x10001
  138. SERVICE_DEMAND_START = 3
  139. SERVICE_AUTO_START = 2
  140. SERVICE_WIN32_SHARE_PROCESS = 32
  141. SERVICE_FILE_SYSTEM_DRIVER = 2
  142. SERVICE_WIN32_OWN_PROCESS = 16
  143.  
  144.