home *** CD-ROM | disk | FTP | other *** search
/ Image Master / L80.iso / Win98 / PRECOPY2.CAB / netservr.inf < prev    next >
Encoding:
INI File  |  1998-05-11  |  12.6 KB  |  286 lines

  1.  
  2. ; NETSERVR.INF
  3. ;
  4. ; Network Servers
  5. ;
  6. ; Copyright 1993-1995, Microsoft Corporation
  7.  
  8. [version]
  9. CatalogFile=netservr.cat
  10. LayoutFile= Layout.inf, Layout1.inf, Layout2.inf
  11. signature="$CHICAGO$"
  12. Class=NetService
  13. ClassGUID={4d36e974-e325-11ce-bfc1-08002be10318}
  14. provider=%V_MS%
  15.  
  16. [CLassInstall]
  17. AddReg=NetServerReg
  18. [NetServerReg]
  19. HKR,,,,%V_CLASSNAME%
  20. HKR,,Installer,,"netdi.dll"
  21. HKR,,Icon,,-8
  22. HKR,,NoUseClass,,1
  23.  
  24. [Manufacturer]
  25. %V_MS%=MS
  26.  
  27. [MS]
  28. %VSERVER.DeviceDesc%= VSERVER.ndi, VSERVER    ;smb server
  29. %NWSERVER.DeviceDesc%= NWSERVER.ndi, NWSERVER ;ipx server
  30.  
  31.  
  32. ;*********************************************
  33. ;    VSERVER section
  34. ;*********************************************
  35. [VSERVER.ndi]
  36. AddReg=VSERVER.ndi.reg
  37. ;Unique PnP ID, entry need to be present so that setup can back track 
  38. ;the device name from the driver 
  39. DeviceID=VSERVER
  40.  
  41. [VSERVER.ndi.reg]
  42. HKR,Ndi,DeviceID,,VSERVER
  43. ; Interfaces
  44. HKR,Ndi\Interfaces,DefLower,,"vredir,netbios,ipxDHost"
  45. HKR,Ndi\Interfaces,LowerRange,,"vredir,netbios,ipxDHost"
  46. HKR,Ndi\Compatibility,ExcludeAll,,"NWSERVER"
  47. HKR,Ndi\Compatibility,RequireAll,,"VREDIR"
  48. ; Install-Remove Section
  49. HKR,Ndi\Install,,,"VSERVER.Install"
  50. HKR,Ndi\Remove,,,"VSERVER.Remove"
  51. ; Parameters
  52. ; MaintainServerList
  53. HKR,Ndi\params\MaintainServerList,location,,"System\CurrentControlSet\Services\Vxd\VNETSUP"
  54. HKLM,System\CurrentControlSet\Services\Vxd\VNETSUP\Ndi\params\MaintainServerList,default,,2
  55. HKLM,System\CurrentControlSet\Services\Vxd\VNETSUP\Ndi\params\MaintainServerList,ParamDesc,,%VSERVER_PARAM_SRVLIST%
  56. HKLM,System\CurrentControlSet\Services\Vxd\VNETSUP\Ndi\params\MaintainServerList,type,,enum
  57. HKLM,System\CurrentControlSet\Services\Vxd\VNETSUP\Ndi\params\MaintainServerList\enum,2,,%VSERVER_PARAM_SRVLIST_AUTO%
  58. HKLM,System\CurrentControlSet\Services\Vxd\VNETSUP\Ndi\params\MaintainServerList\enum,1,,%VSERVER_PARAM_SRVLIST_ENABLED%
  59. HKLM,System\CurrentControlSet\Services\Vxd\VNETSUP\Ndi\params\MaintainServerList\enum,0,,%VSERVER_PARAM_SRVLIST_DISABLED%
  60. ; LMAnnounce
  61. HKR,Ndi\params\LMAnnounce,location,,"System\CurrentControlSet\Services\Vxd\VNETSUP"
  62. HKLM,System\CurrentControlSet\Services\Vxd\VNETSUP\Ndi\params\LMAnnounce,default,,0
  63. HKLM,System\CurrentControlSet\Services\Vxd\VNETSUP\Ndi\params\LMAnnounce,ParamDesc,,%VSERVER_PARAM_LMANNOUNCE%
  64. HKLM,System\CurrentControlSet\Services\Vxd\VNETSUP\Ndi\params\LMAnnounce,type,,enum
  65. HKLM,System\CurrentControlSet\Services\Vxd\VNETSUP\Ndi\params\LMAnnounce\enum,1,,%VSERVER_PARAM_LMANNOUNCE_ENABLED%
  66. HKLM,System\CurrentControlSet\Services\Vxd\VNETSUP\Ndi\params\LMAnnounce\enum,0,,%VSERVER_PARAM_LMANNOUNCE_DISABLED%
  67. ; Context help
  68. HKR,Ndi,HelpText,,%VSERVER_HELP%
  69.  
  70. [VSERVER.Install]
  71. AddReg=VSERVER.AddReg,SERVER.AddReg,SERVER.AddReg.HKCU
  72. CopyFiles=VSERVER.Files,SERVER.Files
  73. PerUserInstall = SERVER.pui
  74.  
  75. [VSERVER.AddReg]
  76. HKR,,DevLoader,,*ndis
  77. HKR,,DeviceVxDs,,vserver.vxd
  78. HKLM,"SYSTEM\CurrentControlSet\Services\VxD\VSERVER",StaticVxD,,vserver.vxd
  79. HKLM,"SYSTEM\CurrentControlSet\Services\VxD\VSERVER",Start,1,00
  80. HKLM,"SYSTEM\CurrentControlSet\Services\VxD\VSERVER",NetClean,1,1
  81.  
  82. [VSERVER.Files]
  83. vserver.vxd
  84.  
  85. [VSERVER.Remove]
  86. DelReg=VSERVER.Rmv.DelReg, SERVER.DelReg
  87. [VSERVER.Rmv.DelReg]
  88. HKLM,"System\CurrentControlSet\Services\VxD\VSERVER",StaticVxD
  89.  
  90. ;*********************************************
  91. ;    NWSERVER section
  92. ;*********************************************
  93. [NWSERVER.ndi]
  94. AddReg=NWSERVER.ndi.reg
  95. ;Unique PnP ID, entry need to be present so that setup can back track 
  96. ;the device name from the driver 
  97. DeviceID=NWSERVER
  98.  
  99. [NWSERVER.ndi.reg]
  100. HKR,Ndi,DeviceID,,NWSERVER
  101. ; Interfaces
  102. HKR,Ndi\Interfaces,DefLower,,"nwredir"
  103. HKR,Ndi\Interfaces,LowerRange,,"nwredir"
  104. HKR,Ndi\Compatibility,ExcludeAll,,"VSERVER"
  105. HKR,Ndi\Compatibility,RequireAll,,"NWREDIR"
  106. ; Install-Remove Section
  107. HKR,Ndi\Install,,,"NWSERVER.Install"
  108. HKR,Ndi\Remove,,,"NWSERVER.Remove"
  109. ; Parameters
  110. ; SAP Browsing
  111. HKR,Ndi\params\Use_Sap,location,,"SYSTEM\CurrentControlSet\Services\NcpServer\Parameters"
  112. HKLM,System\CurrentControlSet\Services\NcpServer\Parameters\Ndi\params\Use_Sap,default,,0
  113. HKLM,System\CurrentControlSet\Services\NcpServer\Parameters\Ndi\params\Use_Sap,ParamDesc,,%NWSERVER_PARAM_USE_SAP%
  114. HKLM,System\CurrentControlSet\Services\NcpServer\Parameters\Ndi\params\Use_Sap,type,,enum
  115. HKLM,System\CurrentControlSet\Services\NcpServer\Parameters\Ndi\params\Use_Sap\enum,1,,%NWSERVER_PARAM_USE_SAP_ENABLED%
  116. HKLM,System\CurrentControlSet\Services\NcpServer\Parameters\Ndi\params\Use_Sap\enum,0,,%NWSERVER_PARAM_USE_SAP_DISABLED%
  117. ; Browse master eligibility
  118. HKR,Ndi\params\BrowseMaster,location,,"SYSTEM\CurrentControlSet\Services\NcpServer\Parameters"
  119. HKLM,System\CurrentControlSet\Services\NcpServer\Parameters\Ndi\params\BrowseMaster,default,,1
  120. HKLM,System\CurrentControlSet\Services\NcpServer\Parameters\Ndi\params\BrowseMaster,ParamDesc,,%NWSERVER_PARAM_BROWSEMASTER%
  121. HKLM,System\CurrentControlSet\Services\NcpServer\Parameters\Ndi\params\BrowseMaster,type,,enum
  122. HKLM,System\CurrentControlSet\Services\NcpServer\Parameters\Ndi\params\BrowseMaster\enum,3,,%NWSERVER_PARAM_BROWSEMASTER_NOT_MASTER%
  123. HKLM,System\CurrentControlSet\Services\NcpServer\Parameters\Ndi\params\BrowseMaster\enum,2,,%NWSERVER_PARAM_BROWSEMASTER_PREF%
  124. HKLM,System\CurrentControlSet\Services\NcpServer\Parameters\Ndi\params\BrowseMaster\enum,1,,%NWSERVER_PARAM_BROWSEMASTER_ENABLED%
  125. HKLM,System\CurrentControlSet\Services\NcpServer\Parameters\Ndi\params\BrowseMaster\enum,0,,%NWSERVER_PARAM_BROWSEMASTER_DISABLED%
  126. ; Context help
  127. HKR,Ndi,HelpText,,%NWSERVER_HELP%
  128.  
  129. [NWSERVER.Install]
  130. AddReg=NWSERVER.AddReg,SERVER.AddReg,SERVER.AddReg.HKCU
  131. CopyFiles=NWSERVER.Files,SERVER.Files,LOGIN.Files
  132. PerUserInstall = SERVER.pui
  133.  
  134. [NWSERVER.AddReg]
  135. HKR,,DevLoader,,*ndis
  136. HKR,,DeviceVxDs,,nwserver.vxd
  137. HKLM,"SYSTEM\CurrentControlSet\Services\VxD\NWSERVER",StaticVxD,,nwserver.vxd
  138. HKLM,"SYSTEM\CurrentControlSet\Services\VxD\NWSERVER",Start,1,00
  139. HKLM,"SYSTEM\CurrentControlSet\Services\VxD\NWSERVER",NetClean,1,1
  140. HKLM,SYSTEM\CurrentControlSet\Services\VxD\VNETSUP,StaticVxD,,"vnetsup.vxd"
  141. HKLM,SYSTEM\CurrentControlSet\Services\VxD\VNETSUP,Start,1,00
  142. HKLM,SYSTEM\CurrentControlSet\Services\VxD\VNETSUP,NetClean,1,1
  143. HKLM,"SYSTEM\CurrentControlSet\Services\VxD\FILESEC",StaticVxD,,filesec.vxd
  144. HKLM,"SYSTEM\CurrentControlSet\Services\VxD\FILESEC",Start,1,00
  145. HKLM,"SYSTEM\CurrentControlSet\Services\VxD\FILESEC",NetClean,1,1
  146. HKLM,"SYSTEM\CurrentControlSet\Services\VxD\NWSP",StaticVxD,,nwsp.vxd
  147. HKLM,"SYSTEM\CurrentControlSet\Services\VxD\NWSP",Start,1,00
  148. HKLM,"SYSTEM\CurrentControlSet\Services\VxD\NWSP",NetClean,1,1
  149.  
  150. [NWSERVER.Files]
  151. nwserver.vxd
  152. vnetsup.vxd
  153.  
  154. [LOGIN.Files]
  155. login.exe
  156.  
  157. [NWSERVER.Remove]
  158. DelReg=NWSERVER.rmv.DelReg, SERVER.DelReg
  159. [NWSERVER.rmv.DelReg]
  160. HKLM,"System\CurrentControlSet\Services\VxD\NWSERVER",StaticVxD
  161. HKLM,"SYSTEM\CurrentControlSet\Services\VxD\FILESEC",StaticVxD
  162. HKLM,"SYSTEM\CurrentControlSet\Services\VxD\NWSP",StaticVxD
  163. HKLM,"Security\Provider",Platform_Type
  164. HKLM,"Security\Provider",Container
  165. HKLM,"Security\Provider",Address_Server
  166. HKLM,"Security\Provider",Address_Book
  167. HKLM,"Security\Provider",Pass_Through
  168. HKLM,"System\CurrentControlSet\Services\NcpServer"
  169.  
  170. [SERVER.AddReg]
  171. ; disk sharing property page
  172. HKCR,Folder\shellex\PropertySheetHandlers\MSSharing,,,"{3EFC0B01-F4AA-101A-8932-08002B327C2D}"
  173. HKCR,CLSID\{3EFC0B01-F4AA-101A-8932-08002B327C2D},,,"File Sharing"
  174. HKCR,CLSID\{3EFC0B01-F4AA-101A-8932-08002B327C2D}\InProcServer32,,,"msshrui.dll"
  175. HKCR,CLSID\{3EFC0B01-F4AA-101A-8932-08002B327C2D}\InProcServer32,ThreadingModel,,"Apartment"
  176. HKCR,Network\SharingHandler,,,"msshrui.dll"
  177. ; printer sharing property page
  178. HKCR,Printers\shellex\PropertySheetHandlers\PrintSharingHandler,,,"{5F354881-1D7E-101B-A9DE-00AA0033819A}"
  179. HKCR,CLSID\{5F354881-1D7E-101B-A9DE-00AA0033819A},,,"Print Sharing"
  180. HKCR,CLSID\{5F354881-1D7E-101B-A9DE-00AA0033819A}\InProcServer32,,,"msshrui.dll"
  181. HKCR,CLSID\{5F354881-1D7E-101B-A9DE-00AA0033819A}\InProcServer32,ThreadingModel,,"Apartment"
  182. ; directory shell copy hook
  183. HKCR,Directory\shellex\CopyHookHandlers\ShareCopyHook,,,"{6DA1A220-65D0-101B-A657-9EB70524D8E7}"
  184. HKCR,CLSID\{6DA1A220-65D0-101B-A657-9EB70524D8E7},,,"Folder Copy Hook"
  185. HKCR,CLSID\{6DA1A220-65D0-101B-A657-9EB70524D8E7}\InProcServer32,,,"msshrui.dll"
  186. HKCR,CLSID\{6DA1A220-65D0-101B-A657-9EB70524D8E7}\InProcServer32,ThreadingModel,,"Apartment"
  187. ; printer shell copy hook
  188. HKCR,Printers\shellex\CopyHookHandlers\PrintShareHook,,,"{F365CCA0-60E5-101B-A657-9EB70524D8E7}"
  189. HKCR,CLSID\{F365CCA0-60E5-101B-A657-9EB70524D8E7},,,"Printer Copy Hook"
  190. HKCR,CLSID\{F365CCA0-60E5-101B-A657-9EB70524D8E7}\InProcServer32,,,"msshrui.dll"
  191. HKCR,CLSID\{F365CCA0-60E5-101B-A657-9EB70524D8E7}\InProcServer32,ThreadingModel,,"Apartment"
  192. ; file sharing context menu
  193. HKCR,Folder\shellex\ContextMenuHandlers\SharingMenu,,,"{6D78EC20-5AA6-101B-8681-366FBD64CEB9}"
  194. HKCR,CLSID\{6D78EC20-5AA6-101B-8681-366FBD64CEB9},,,"File Sharing Menu Handlers"
  195. HKCR,CLSID\{6D78EC20-5AA6-101B-8681-366FBD64CEB9}\InProcServer32,,,"msshrui.dll"
  196. HKCR,CLSID\{6D78EC20-5AA6-101B-8681-366FBD64CEB9}\InProcServer32,ThreadingModel,,"Apartment"
  197. ; printer sharing context menu
  198. HKCR,Printers\shellex\ContextMenuHandlers\SharingMenu,,,"{A57B9B40-5AA6-101B-8681-366FBD64CEB9}"
  199. HKCR,CLSID\{A57B9B40-5AA6-101B-8681-366FBD64CEB9},,,"Printer Sharing Menu Handlers"
  200. HKCR,CLSID\{A57B9B40-5AA6-101B-8681-366FBD64CEB9}\InProcServer32,,,"msshrui.dll"
  201. HKCR,CLSID\{A57B9B40-5AA6-101B-8681-366FBD64CEB9}\InProcServer32,ThreadingModel,,"Apartment"
  202. ; Default to not show passwords in share tab
  203. HKLM,Software\Microsoft\Windows\CurrentVersion\Policies\Network,HideSharePwds,1,01,00,00,00
  204.  
  205. [SERVER.AddReg.HKCU]
  206. ;If Server is installed then default to Always On policy
  207. HKCU,"Control Panel\PowerCfg",CurrentPowerPolicy,,"3"
  208.  
  209. [NetservrPerUser]
  210. AddReg = SERVER.AddReg.HKCU
  211.  
  212. [SERVER.pui]
  213. GUID = "NetservrPerUser"
  214. DisplayName = %PUI_DESC_NETSERVR%
  215. Version = %PUI_VERSION%
  216. IsInstalled = 1
  217. StubPath = "rundll.exe %11%\setupx.dll,InstallHinfSection NetservrPerUser 64 %17%\netservr.inf"
  218.  
  219. [SERVER.DelReg]
  220. ; disk sharing property page
  221. HKCR,Folder\shellex\PropertySheetHandlers\MSSharing
  222. HKCR,CLSID\{3EFC0B01-F4AA-101A-8932-08002B327C2D}
  223. HKCR,Network\SharingHandler
  224. ; printer sharing property page
  225. HKCR,Printers\shellex\PropertySheetHandlers\PrintSharingHandler
  226. HKCR,CLSID\{5F354881-1D7E-101B-A9DE-00AA0033819A}
  227. ; directory shell copy hook
  228. HKCR,Directory\shellex\CopyHookHandlers\ShareCopyHook
  229. HKCR,CLSID\{6DA1A220-65D0-101B-A657-9EB70524D8E7}
  230. ; printer shell copy hook
  231. HKCR,Printers\shellex\CopyHookHandlers\PrintShareHook
  232. HKCR,CLSID\{F365CCA0-60E5-101B-A657-9EB70524D8E7}
  233. ; file sharing context menu
  234. HKCR,Folder\shellex\ContextMenuHandlers\SharingMenu
  235. HKCR,CLSID\{6D78EC20-5AA6-101B-8681-366FBD64CEB9}
  236. ; printer sharing context menu
  237. HKCR,Printers\shellex\ContextMenuHandlers\SharingMenu
  238. HKCR,CLSID\{A57B9B40-5AA6-101B-8681-366FBD64CEB9}
  239. ; Default to not show passwords in share tab
  240. HKLM,Software\Microsoft\Windows\CurrentVersion\Policies\Network,HideSharePwds
  241.  
  242. [SERVER.Files]
  243. msshrui.dll
  244.  
  245. [DestinationDirs]
  246. SERVER.Files            = 11    ;LDID_SYS
  247. VSERVER.Files           = 11    ;LDID_SYS
  248. NWSERVER.Files          = 11    ;LDID_SYS
  249. LOGIN.Files        = 10,NWSYSVOL\LOGIN ;LDID_WIN\NWSYSVOL\LOGIN
  250.  
  251. ;****************************************************************************
  252. ; Localizable Strings
  253. ;****************************************************************************
  254. [strings]
  255. V_MS="Microsoft"
  256. V_CLASSNAME="Network Service"
  257.  
  258. PUI_VERSION      ="4,10,1,2"
  259. PUI_DESC_NETSERVR="Windows Setup - Net Server"
  260.  
  261. ;Devices
  262. VSERVER.DeviceDesc="File and printer sharing for Microsoft Networks"
  263. NWSERVER.DeviceDesc="File and printer sharing for NetWare Networks"
  264.  
  265. ;Parameters
  266. VSERVER_PARAM_SRVLIST="Browse Master"
  267. VSERVER_PARAM_SRVLIST_AUTO="Automatic"
  268. VSERVER_PARAM_SRVLIST_ENABLED="Enabled"
  269. VSERVER_PARAM_SRVLIST_DISABLED="Disabled"
  270. VSERVER_PARAM_LMANNOUNCE="LM Announce"
  271. VSERVER_PARAM_LMANNOUNCE_ENABLED="Yes"
  272. VSERVER_PARAM_LMANNOUNCE_DISABLED="No"
  273.  
  274. NWSERVER_PARAM_USE_SAP="SAP Advertising"
  275. NWSERVER_PARAM_USE_SAP_ENABLED="Enabled"
  276. NWSERVER_PARAM_USE_SAP_DISABLED="Disabled"
  277. NWSERVER_PARAM_BROWSEMASTER="Workgroup Advertising"
  278. NWSERVER_PARAM_BROWSEMASTER_PREF="Enabled: Preferred Master"
  279. NWSERVER_PARAM_BROWSEMASTER_ENABLED="Enabled: May Be Master"
  280. NWSERVER_PARAM_BROWSEMASTER_NOT_MASTER="Enabled: Will Not Be Master"
  281. NWSERVER_PARAM_BROWSEMASTER_DISABLED="Disabled"
  282.  
  283. ; Context help
  284. VSERVER_HELP="File and print sharing for Microsoft networks gives you the ability to share your files or printers with Windows NT and Windows for Workgroups computers."
  285. NWSERVER_HELP="File and print sharing for NetWare networks gives you the ability to share your files or printers with NetWare computers."
  286.