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.

174 lines
7.0 KiB

  1. ;
  2. ; Task Scheduler .INF
  3. ;
  4. [Version]
  5. Signature=$CHICAGO$
  6. SetupClass = BASE
  7. LayoutFile = layout.inf, layout1.inf
  8. [DestinationDirs]
  9. MSTask.System_Win = 11
  10. MSTask.HelpDir = 25,Help
  11. MSTask.JobFolder = 25,Tasks
  12. MSTask.PlusDir = 24,%PLUS_DIR%
  13. [BaseWinOptions]
  14. Register_TaskScheduler
  15. [Register_TaskScheduler]
  16. CopyFiles=Register_TaskScheduler.Copy
  17. AddReg=Register_TaskScheduler.AddReg
  18. [Register_TaskScheduler.AddReg]
  19. HKLM,%KEY_OPTIONAL%,"MSTask",,"MSTask"
  20. HKLM,%KEY_OPTIONAL%\MSTask,INF,,"mstask.inf"
  21. HKLM,%KEY_OPTIONAL%\MSTask,Section,,"MSTask"
  22. HKLM,%KEY_OPTIONAL%\MSTask,Installed,,"0"
  23. [Register_TaskScheduler.Copy]
  24. mstask.inf
  25. [Optional Components]
  26. MSTask
  27. [MSTask]
  28. OptionDesc = %MSTask_desc%
  29. Tip = %MSTask_tip%
  30. Parent = AccessTop
  31. CopyFiles = MSTask.System_Win, MSTask.JobFolder, MSTask.HelpDir
  32. DelReg = MSTask.DisableLogonExec, MSTask.DisableSystemAgent
  33. AddReg = MSTask.CommonRegistrySettings, MSTask.AddRegistrySettings.Win, MSTask.Inst.Add
  34. UpdateInis = MSTask.Shortcut.Win
  35. InstallType = 14 ;Typical, Portable, Custom
  36. IconIndex = 4
  37. UnInstall = MSTask.Remove
  38. [MSTask.Inst.Add]
  39. HKLM,%KEY_OPTIONAL%\MSTask,Installed,,"1"
  40. [MSTask.Remove]
  41. DelReg = MSTask.DelRegistrySettings, MSTask.DelRegistrySettings.Win
  42. AddReg = MSTask.Inst.Remove
  43. DelFiles = MSTask.System_Win, MSTask.JobFolder, MSTask.HelpDir, MSTask.PlusDir
  44. UpdateInis = MSTask.RemoveShortcut.Win
  45. [MSTask.System_Win]
  46. mstask.exe,mstwin.exe,,1
  47. mstask.dll,mstwin.dll,,1
  48. mstinit.exe,stswin.exe,,1
  49. sysagent.exe,,,1
  50. sage.dll,,,1
  51. sage.exe,,,1
  52. [MSTask.JobFolder]
  53. desktop.ini,mstask.ini,,1
  54. [MSTask.HelpDir]
  55. mstask.hlp,,,1
  56. mstask.cnt,,,1
  57. [MSTask.PlusDir]
  58. sysagent.exe
  59. [MSTask.AddRegistrySettings.Win]
  60. HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,%TS%,,"%11%\mstinit.exe /memphis"
  61. [MSTask.CommonRegistrySettings]
  62. HKLM,Software\Microsoft\SchedulingAgent,TasksFolder,,"%25%\Tasks"
  63. HKLM,Software\Microsoft\SchedulingAgent,LogPath,,"%25%\SchedLog.Txt"
  64. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{D6277990-4C6A-11CF-8D87-00AA0060F5BF},,,"Scheduled Tasks"
  65. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RemoteComputer\NameSpace\{D6277990-4C6A-11CF-8D87-00AA0060F5BF},,,"Scheduled Tasks"
  66. HKCR,".Job",,,"JobObject"
  67. HKCR,"JobObject",,,"%TASK_OBJECT%"
  68. HKCR,JobObject\CLSID,,,"{148BD520-A2AB-11CE-B11F-00AA00530503}"
  69. HKCR,JobObject\shell
  70. HKCR,JobObject\shellex\PropertySheetHandlers\{797F1E90-9EDD-11cf-8D8E-00AA0060F5BF}
  71. HKCR,JobObject\shellex\IconHandler,,,"{DD2110F0-9EEF-11cf-8D8E-00AA0060F5BF}"
  72. HKCR,CLSID\{DD2110F0-9EEF-11cf-8D8E-00AA0060F5BF},,,"Scheduling UI icon handler"
  73. HKCR,CLSID\{DD2110F0-9EEF-11cf-8D8E-00AA0060F5BF}\InProcServer32,,,"%11%\mstask.dll"
  74. HKCR,CLSID\{DD2110F0-9EEF-11cf-8D8E-00AA0060F5BF}\InProcServer32,"ThreadingModel",,"Both"
  75. HKCR,CLSID\{797F1E90-9EDD-11cf-8D8E-00AA0060F5BF},,,"Scheduling UI property sheet handler"
  76. HKCR,CLSID\{797F1E90-9EDD-11cf-8D8E-00AA0060F5BF}\InProcServer32,,,"%11%\mstask.dll"
  77. HKCR,CLSID\{797F1E90-9EDD-11cf-8D8E-00AA0060F5BF}\InProcServer32,"ThreadingModel",,"Both"
  78. HKLM,Software\Microsoft\Windows\CurrentVersion\"Shell Extensions"\Approved,"{797F1E90-9EDD-11cf-8D8E-00AA0060F5BF}",,"Tasks Folder Shell Extension"
  79. HKCR,CLSID\{148BD520-A2AB-11CE-B11F-00AA00530503},,,"Task Scheduler Task Object Class"
  80. HKCR,CLSID\{148BD520-A2AB-11CE-B11F-00AA00530503}\DefaultIcon,,,"%11%\mstask.dll,-101"
  81. HKCR,CLSID\{148BD520-A2AB-11CE-B11F-00AA00530503}\InProcServer32,,,"%11%\mstask.dll"
  82. HKCR,CLSID\{148BD520-A2AB-11CE-B11F-00AA00530503}\InProcServer32,"ThreadingModel",,"Both"
  83. HKCR,".Que",,,"QueueObject"
  84. HKCR,"QueueObject",,,"%QUEUE_OBJECT%"
  85. HKCR,QueueObject\CLSID,,,"{255b3f60-829e-11cf-8d8b-00aa0060f5bf}"
  86. HKCR,CLSID\{255b3f60-829e-11cf-8d8b-00aa0060f5bf},,,"Task Scheduler Queue Object Class"
  87. HKCR,CLSID\{255b3f60-829e-11cf-8d8b-00aa0060f5bf}\DefaultIcon,,,"%11%\mstask.dll,-102"
  88. HKCR,CLSID\{255b3f60-829e-11cf-8d8b-00aa0060f5bf}\InProcServer32,,,"%11%\mstask.dll"
  89. HKCR,CLSID\{255b3f60-829e-11cf-8d8b-00aa0060f5bf}\InProcServer32,"ThreadingModel",,"Both"
  90. HKCR,CLSID\{148BD52A-A2AB-11CE-B11F-00AA00530503},,,"Task Scheduler Service Class"
  91. HKCR,CLSID\{148BD52A-A2AB-11CE-B11F-00AA00530503}\DefaultIcon,,,"%11%\mstask.dll,0"
  92. HKCR,CLSID\{148BD52A-A2AB-11CE-B11F-00AA00530503}\InProcServer32,,,"%11%\mstask.dll"
  93. HKCR,CLSID\{148BD52A-A2AB-11CE-B11F-00AA00530503}\InProcServer32,"ThreadingModel",,"Both"
  94. HKCR,CLSID\{D6277990-4C6A-11CF-8D87-00AA0060F5BF},,,"Scheduled Tasks"
  95. HKCR,CLSID\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}\DefaultIcon,,,"%11%\mstask.dll,-100"
  96. HKCR,CLSID\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}\InProcServer32,,,"%11%\mstask.dll"
  97. HKCR,CLSID\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}\InProcServer32,"ThreadingModel",,"Both"
  98. HKCR,CLSID\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}\ShellFolder,"Attributes",1,0x00, 0x00, 0x00, 0x21
  99. [MSTask.Shortcut.Win]
  100. setup.ini, progman.groups,,"grpschag=%SCHAGT_LNK%"
  101. setup.ini, grpschag,,"""%SHELL_NAME%"", ""Explorer.exe ,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{D6277990-4C6A-11CF-8D87-00AA0060F5BF}"",mstask.dll,0"
  102. setup.ini, grpschag,,"""%SAGE_MENU%"",,,0"
  103. [MSTask.RemoveShortcut.Win]
  104. setup.ini, progman.groups,,"grpschag=%SCHAGT_LNK%"
  105. setup.ini, grpschag,,"""%SHELL_NAME%"",,,0"
  106. [MSTask.DisableLogonExec]
  107. HKLM,Software\Microsoft\Windows\CurrentVersion\Run,%TS%
  108. [MSTask.DelRegistrySettings]
  109. HKLM,Software\Microsoft\SchedulingAgent
  110. HKLM,Software\Microsoft\Windows\CurrentVersion\Run,%TS%
  111. HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\Sys,TASKS
  112. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}
  113. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RemoteComputer\NameSpace\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}
  114. HKCR,".Job"
  115. HKCR,"JobObject"
  116. HKCR,CLSID\{DD2110F0-9EEF-11cf-8D8E-00AA0060F5BF}
  117. HKCR,CLSID\{797F1E90-9EDD-11cf-8D8E-00AA0060F5BF}
  118. HKLM,Software\Microsoft\Windows\CurrentVersion\"Shell Extensions"\Approved,"{797F1E90-9EDD-11cf-8D8E-00AA0060F5BF}"
  119. HKCR,CLSID\{148BD520-A2AB-11CE-B11F-00AA00530503}
  120. HKCR,".Que"
  121. HKCR,"QueueObject"
  122. HKCR,CLSID\{255b3f60-829e-11cf-8d8b-00aa0060f5bf}
  123. HKCR,CLSID\{148BD52A-A2AB-11CE-B11F-00AA00530503}
  124. HKCR,CLSID\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}
  125. [MSTask.DisableSystemAgent]
  126. HKLM,Software\Microsoft\Windows\CurrentVersion\Run,%SA%
  127. [MSTask.DelRegistrySettings.Win]
  128. HKLM,Software\Microsoft\Windows\CurrentVersion\RunServices,%TS%
  129. [MSTask.Inst.Remove]
  130. HKLM,%KEY_OPTIONAL%\MSTask,Installed,,"0"
  131. [Strings]
  132. ;
  133. ; Do not localize these strings.
  134. ;
  135. SA = "SystemAgent"
  136. TS = "SchedulingAgent"
  137. ;
  138. ; Localize these strings.
  139. ;
  140. PLUS_DIR = "Progra~1\Plus!"
  141. KEY_OPTIONAL = "SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents"
  142. TSD = "Task Scheduler Install Disk"
  143. SCHAGT_LNK = "Accessories\System Tools"
  144. SHELL_NAME = "Scheduled Tasks"
  145. SAGE_MENU = "System Agent"
  146. TASK_OBJECT = "Task Scheduler Task Object"
  147. QUEUE_OBJECT = "Task Scheduler Queue Object"
  148. MSTask_desc = "Task Scheduler"
  149. MSTask_tip = "Enables you to schedule tasks to run at varying times"