Leaked source code of windows server 2003
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.

128 lines
5.8 KiB

  1. ;
  2. ; Scheduling Agent installation script
  3. ;
  4. [Version]
  5. Signature=$CHICAGO$
  6. LayoutFile=layout.inf
  7. [DestinationDirs]
  8. CopyInf = 17
  9. SystemDirCopy = 11
  10. JobFolderCopy = 25,%TASKS_FOLDER%
  11. HelpDirCopy = 18
  12. FilesToDelete = 10,%Tasks_FOLDER%
  13. [DestinationDirs.NT]
  14. CopyInf = 17
  15. SystemDirCopy = 11
  16. JobFolderCopy = 25,%TASKS_FOLDER%
  17. HelpDirCopy = 18
  18. FilesToDelete = 10,%TASKS_FOLDER%
  19. [BaseWinOptions]
  20. DefaultInstall.NT
  21. [DefaultInstall]
  22. DelFiles = FilesToDelete
  23. [DefaultInstall.NT]
  24. CopyFiles = CopyInf,SystemDirCopy,JobFolderCopy,HelpDirCopy
  25. DelReg = DelRegistrySettings.NT
  26. AddReg = CommonRegistrySettings,AddRegistrySettings.NT
  27. DelFiles = FilesToDelete
  28. [DefaultUninstall.NT]
  29. AddReg = UnRegService.NT
  30. DelReg = DelRegistrySettings.NT
  31. [CopyInf]
  32. ;mstask.inf
  33. [SystemDirCopy]
  34. mstask.dll
  35. mstinit.exe
  36. schedsvc.dll
  37. [JobFolderCopy]
  38. desktop.ini,mstask.ini
  39. [FilesToDelete]
  40. Maintenance-Scandisk.job
  41. [HelpDirCopy]
  42. [AddRegistrySettings.NT]
  43. HKLM,System\CurrentControlSet\Services\Schedule,AtTaskMaxHours,0x00010003,0x48
  44. HKLM,System\CurrentControlSet\Services\Schedule,Description,0x00000000,%MSTASK_DESCRIPTION%
  45. HKLM,System\CurrentControlSet\Services\Schedule\Parameters,ServiceDll,0x00020000,"%SystemRoot%\system32\schedsvc.dll"
  46. HKLM,System\CurrentControlSet\Services\Schedule\Parameters,ServiceMain,0x00000000,"SchedServiceMain"
  47. HKLM,"Software\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\Schedule","Asynchronous",0x00010001,0x0
  48. HKLM,"Software\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\Schedule","DllName",0x00020000,"wlnotify.dll"
  49. HKLM,"Software\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\Schedule","Impersonate",0x00010001,0x0
  50. HKLM,"Software\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\Schedule","StartShell",0x00000000,"SchedStartShell"
  51. HKLM,"Software\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\Schedule","Logoff",0x00000000,"SchedEventLogOff"
  52. [CommonRegistrySettings]
  53. HKLM,Software\Microsoft\SchedulingAgent,TasksFolder,0x00020000,"%%SystemRoot%%\Tasks"
  54. HKLM,Software\Microsoft\SchedulingAgent,LogPath,0x00020000,"%%SystemRoot%%\Tasks\SchedLgU.Txt"
  55. HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,%TS%,,"%11%\mstinit.exe /setup"
  56. HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\Sys,,,%25%
  57. HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\Sys,TasksDir,,"TASKS,4"
  58. HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\Sys,DesktopIni,,"TASKS\desktop.ini,3"
  59. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{D6277990-4C6A-11CF-8D87-00AA0060F5BF},,,"%MSTASK%"
  60. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RemoteComputer\NameSpace\{D6277990-4C6A-11CF-8D87-00AA0060F5BF},,,"%MSTASK%"
  61. HKCR,".Job",,,"JobObject"
  62. HKCR,"JobObject",,,"%TASK_OBJECT%"
  63. HKCR,"JobObject","%Friendly_Type_Name%",0x20000,"@%SystemRoot%\system32\schedsvc.dll,-3407"
  64. HKCR,JobObject\CLSID,,,"{148BD520-A2AB-11CE-B11F-00AA00530503}"
  65. HKCR,JobObject\shell
  66. HKCR,JobObject\shellex\PropertySheetHandlers\{797F1E90-9EDD-11cf-8D8E-00AA0060F5BF}
  67. HKCR,JobObject\shellex\IconHandler,,,"{DD2110F0-9EEF-11cf-8D8E-00AA0060F5BF}"
  68. HKCR,CLSID\{DD2110F0-9EEF-11cf-8D8E-00AA0060F5BF},,,"Scheduling UI icon handler"
  69. HKCR,CLSID\{DD2110F0-9EEF-11cf-8D8E-00AA0060F5BF}\InProcServer32,,,"%11%\mstask.dll"
  70. HKCR,CLSID\{DD2110F0-9EEF-11cf-8D8E-00AA0060F5BF}\InProcServer32,"ThreadingModel",,"Both"
  71. HKLM,Software\Microsoft\Windows\CurrentVersion\"Shell Extensions"\Approved,"{DD2110F0-9EEF-11cf-8D8E-00AA0060F5BF}",,"Tasks Folder Icon Handler"
  72. HKCR,CLSID\{797F1E90-9EDD-11cf-8D8E-00AA0060F5BF},,,"Scheduling UI property sheet handler"
  73. HKCR,CLSID\{797F1E90-9EDD-11cf-8D8E-00AA0060F5BF}\InProcServer32,,,"%11%\mstask.dll"
  74. HKCR,CLSID\{797F1E90-9EDD-11cf-8D8E-00AA0060F5BF}\InProcServer32,"ThreadingModel",,"Both"
  75. HKLM,Software\Microsoft\Windows\CurrentVersion\"Shell Extensions"\Approved,"{797F1E90-9EDD-11cf-8D8E-00AA0060F5BF}",,"Tasks Folder Shell Extension"
  76. HKLM,Software\Microsoft\Windows\CurrentVersion\"Shell Extensions"\Approved,"{D6277990-4C6A-11CF-8D87-00AA0060F5BF}",,"%MSTASK%"
  77. HKCR,CLSID\{148BD520-A2AB-11CE-B11F-00AA00530503},,,"Scheduling Agent Task Object Class"
  78. HKCR,CLSID\{148BD520-A2AB-11CE-B11F-00AA00530503}\DefaultIcon,,,"%11%\mstask.dll,-101"
  79. HKCR,CLSID\{148BD520-A2AB-11CE-B11F-00AA00530503}\InProcServer32,,,"%11%\mstask.dll"
  80. HKCR,CLSID\{148BD520-A2AB-11CE-B11F-00AA00530503}\InProcServer32,"ThreadingModel",,"Both"
  81. HKCR,CLSID\{148BD52A-A2AB-11CE-B11F-00AA00530503},,,"Scheduling Agent Service Class"
  82. HKCR,CLSID\{148BD52A-A2AB-11CE-B11F-00AA00530503}\DefaultIcon,,,"%11%\mstask.dll,0"
  83. HKCR,CLSID\{148BD52A-A2AB-11CE-B11F-00AA00530503}\InProcServer32,,,"%11%\mstask.dll"
  84. HKCR,CLSID\{148BD52A-A2AB-11CE-B11F-00AA00530503}\InProcServer32,"ThreadingModel",,"Both"
  85. HKCR,CLSID\{D6277990-4C6A-11CF-8D87-00AA0060F5BF},,,"%MSTASK%"
  86. HKCR,CLSID\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}\DefaultIcon,,,"%11%\mstask.dll,-100"
  87. HKCR,CLSID\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}\InProcServer32,,,"%11%\mstask.dll"
  88. HKCR,CLSID\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}\InProcServer32,"ThreadingModel",,"Both"
  89. HKCR,CLSID\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}\ShellFolder,"Attributes",1,0x00, 0x00, 0x00, 0x21
  90. HKCR,CLSID\{D6277990-4C6A-11CF-8D87-00AA0060F5BF},"%LocalizedString%",,"@%11%\mstask.dll,-3408"
  91. [DelRegistrySettings.NT]
  92. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}
  93. HKLM,Software\Microsoft\Windows\CurrentVersion\Run,%TS%
  94. HKCR,".Que"
  95. HKCR,"QueueObject"
  96. HKCR,CLSID\{255b3f60-829e-11cf-8d8b-00aa0060f5bf}
  97. [UnRegService.NT]
  98. HKLM,System\CurrentControlSet\Services\SchedulingAgent,Start,0x10001,4
  99. [SourceDisksNames]
  100. 99 = %TSD%, SA, 0
  101. [SourceDisksFiles.NT]
  102. mstask.ini = 99
  103. mstask.inf = 99
  104. mstask.dll = 99
  105. mstinit.exe = 99
  106. mstask.hlp = 99
  107. schedsvc.dll = 99