Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

141 lines
4.0 KiB

  1. ;
  2. ; Remote Install Server
  3. ;
  4. ;
  5. ; Copyright (c) 1999 Microsoft Corporation
  6. ;
  7. [version]
  8. signature = "$Windows NT$"
  9. layoutfile = layout.inf
  10. [Optional Components]
  11. ProcCon
  12. ;
  13. ;
  14. ;
  15. [ProcCon]
  16. ProfileItems = ProcCon.AddtoStartMenu
  17. OptionDesc = %ProcCon_Desc%
  18. Tip = %ProcCon_InfoTip%
  19. IconIndex = 17 ; Doesn't matter since we are hidden
  20. AddReg = ProcCon.Registry
  21. CopyFiles = ProcCon.MainFiles
  22. RegisterDlls = ProcCon.RegSvr
  23. AddService = ProcCon,0,Service.ProcConSvc ;; Delta -- was ProcCon,,Service.ProcConSvc
  24. Uninstall = ProcCon.Remove ; Left in for future uninstall capability
  25. Modes = 0,1,2,3
  26. SizeApproximation = 1769472 ; TODO: Preprocess size info by platform
  27. [ProcCon.Remove]
  28. DelFiles = ProcCon.MainFiles
  29. DelService = ProcConSvc,0x200
  30. UnregisterDlls = ProcCon.RegSvr
  31. DelReg = ProcCon.Registry
  32. ;
  33. ; Registry Modifications
  34. ;
  35. [ProcCon.Registry]
  36. HKLM,"system\currentcontrolset\services\eventlog\system\ProcCon","EventMessageFile",%REG_EXPAND_SZ%,%PATHS%
  37. HKLM,"system\currentcontrolset\services\eventlog\system\ProcCon","TypesSupported",%REG_DWORD%,0x07
  38. HKLM,"system\CurrentControlSet\Services\ProcCon", "Description", %REG_SZ%, %ProcCon_InfoTip%
  39. HKLM,"system\CurrentControlSet\Services\ProcCon", "DisplayName", %REG_SZ%, %ProcCon_Desc%
  40. HKLM,"system\CurrentControlSet\Services\ProcCon", "ErrorControl", %REG_DWORD%,0x1
  41. HKLM,"system\CurrentControlSet\Services\ProcCon", "ImagePath", %REG_EXPAND_SZ%, %PATHS%
  42. HKLM,"system\CurrentControlSet\Services\ProcCon", "ObjectName", %REG_SZ%, %OBJNAME%
  43. HKLM,"system\CurrentControlSet\Services\ProcCon", "Start", %REG_DWORD%,0x2
  44. HKLM,"system\CurrentControlSet\Services\ProcCon", "Type", %REG_DWORD%, 0x10
  45. HKLM,"system\CurrentControlSet\Control\Server Applications", %ProcCon_GUID%, %REG_SZ%, %ProcCon_Desc%
  46. HKLM,"system\CurrentControlSet\Services\ProcCon\Parameters", "NameRules", %REG_MULTI_SZ%,""
  47. HKLM,"system\CurrentControlSet\Services\ProcCon\Parameters\AccessControl\KillProcess"
  48. HKLM,"system\CurrentControlSet\Services\ProcCon\Parameters\AccessControl\KillGroup"
  49. HKLM,"system\CurrentControlSet\Services\ProcCon\Parameters\AccessControl\SetRealTimePriority"
  50. HKLM,"system\CurrentControlSet\Services\ProcCon\Parameters\AccessControl\SetPollSeconds"
  51. HKLM,"system\CurrentControlSet\Services\ProcCon\Parameters\AccessControl\Restore"
  52. ;
  53. ; DLL Registration
  54. ;
  55. [ProcCon.RegSvr]
  56. 11,,proccon.dll,1
  57. ; %11%\proccon.dll, 1
  58. ;
  59. ; Services
  60. ;
  61. [Service.ProcConSvc]
  62. DisplayName = %PROCCON_SERVICE_NAME%
  63. Description = %PROCCON_SERVICE_DESC%
  64. ServiceType = %SERVICE_WIN32_OWN_PROCESS%
  65. StartType = %SERVICE_AUTO_START%
  66. ErrorControl = %SERVICE_ERROR_NORMAL%
  67. ServiceBinary = %11%\ProcConSvc.exe
  68. ;
  69. ; Copy Files
  70. ;
  71. [DestinationDirs]
  72. ProcCon.MainFiles = 11 ;System32
  73. [ProcCon.MainFiles]
  74. procconsvc.exe,proccsvc.exe
  75. procconmd8.exe,pcmediat.exe
  76. proccon.dll
  77. proccon.msc
  78. proccon.exe
  79. [ProcCon.AddtoStartMenu]
  80. Name = %ProcCon_Desc%
  81. CmdLine = 11,,%ProcCon_Cmd% ; Add any cmdline arguments to Strings section as appropriate
  82. Subdir = %AdminTools% ; Try default to get SOMETHING in. ;%AdminTools% ;\ProcCon
  83. InfoTip = %ProcCon_InfoTip%
  84. ;
  85. ; Strings
  86. ;
  87. [Strings]
  88. ProcCon_Cmd = "proccon.msc /s"
  89. ProcCon_Desc = "Process Control"
  90. ProcCon_GUID = "{7cfc9f00-0641-11d2-8014-00104b9a3106}"
  91. ProcCon_InfoTip = "Manages and monitors applications and services."
  92. AdminTools = "Administrative Tools"
  93. OBJNAME = "LocalSystem"
  94. PROCCON_SERVICE_NAME = "Process Control Service"
  95. PROCCON_SERVICE_DESC = "Manages and monitors applications and services."
  96. PATHS = "%SystemRoot%\system32\procconsvc.exe"
  97. REGPATH = "%SystemRoot%\System32\proccon.dll"
  98. REG_DWORD =0x10001
  99. REG_EXPAND_SZ =0x20000
  100. REG_BINARY =0x00001
  101. REG_SZ =0x00000
  102. REG_MULTI_SZ =0x10000
  103. REG_NONE =0x20001
  104. SERVICE_DISABLED = 4
  105. SERVICE_DEMAND_START = 3
  106. SERVICE_AUTO_START = 2
  107. SERVICE_WIN32_SHARE_PROCESS = 32
  108. SERVICE_FILE_SYSTEM_DRIVER = 2
  109. SERVICE_WIN32_OWN_PROCESS = 16
  110. SERVICE_BOOT_START = 0
  111. SERVICE_ERROR_NORMAL = 1