home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 April B / Pcwk4b98.iso / ie401gb / SASETUP.CAB / mstask.inf < prev    next >
Windows Setup INFormation  |  1997-08-08  |  11KB  |  293 lines

  1. ;
  2. ; Task Scheduler .INF
  3. ;
  4.  
  5. [Version]
  6. Signature=$CHICAGO$
  7. AdvancedINF=2.5
  8.  
  9. [DestinationDirs]
  10. Inf = 17
  11. System_Win = 11
  12. HelpDir = 25,Help
  13. JobFolder = 25,%TASKS_FOLDER%
  14. SysAgent = 49000
  15.  
  16. [DestinationDirs.NT]
  17. Inf = 17
  18. System_NT = 11
  19. HelpDir = 25,Help
  20. JobFolder = 25,%TASKS_FOLDER%
  21.  
  22. ;
  23. ; The sysagent.exe file lives wherever the user chose to install the plus
  24. ; pack.  For chicago, mstinit.exe finds out where this is and creates the
  25. ; registry value referred to in SysAgentLDIDSection, which we assign to
  26. ; a custom LDID of 49000.
  27. ;
  28.  
  29. [CustomDestinationSection]
  30. 49000 = SysAgentLDIDSection,5
  31.  
  32. [SysAgentLDIDSection]
  33. 'HKLM','Software\Microsoft\Windows\CurrentVersion\App Paths\SysAgent.exe','InstallDir','',%11%
  34.  
  35. [DefaultInstall]
  36. RunPreSetupCommands = PreSetupCommands.Win
  37. CustomDestination = CustomDestinationSection
  38. CopyFiles = Inf,System_Win,JobFolder,HelpDir,SysAgent
  39. DelReg = DisableLogonExec,DisableSystemAgent
  40. AddReg = CommonRegistrySettings,AddRegistrySettings.Win,RegUninstall,RegUninstall.95
  41. UpdateInis = Shortcut.Win
  42.  
  43. [DefaultInstall.NT]
  44. CopyFiles = Inf,System_NT,JobFolder,HelpDir
  45. DelReg = DisableLogonExec
  46. AddReg=FolderSecurityPage,CommonRegistrySettings,RegUninstall,RegUninstall.NT
  47. RunPostSetupCommands=PostSetupCommands.Nt
  48.  
  49. [FolderSecurityPage]
  50. HKCR,CLSID\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}\shellex
  51. HKCR,CLSID\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}\shellex\PropertySheetHandlers
  52. HKCR,CLSID\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}\shellex\PropertySheetHandlers\%rshxclsid%
  53.  
  54. [PreSetupCommands.Win]
  55. stswin.exe /presetup
  56.  
  57. [PostSetupCommands.Nt]
  58. mstinit.exe /setup
  59.  
  60. [PreUnsetupCommands]
  61. mstinit.exe /preunsetup
  62.  
  63. [Uninstall]
  64. BeginPrompt = UninstallPrompt
  65. RunPreSetupCommands = PreUnsetupCommands
  66. CustomDestination = CustomDestinationSection
  67. DelReg = DelRegistrySettings,DelRegistrySettings.Win,UnRegUninstall
  68. DelFiles = System_Win,JobFolder,HelpDir,Inf,SysAgent
  69. UpdateInis = RemoveShortcut.Win
  70. AddReg = RenameBackups.Win
  71. EndPrompt=UninstallEnd
  72.  
  73. [Uninstall.NT]
  74. BeginPrompt = UninstallPrompt
  75. RunPreSetupCommands=PreUnsetupCommands
  76. DelReg = DelRegistrySettings,DelRegistrySettings.NT,UnRegUninstall
  77. AddReg = ReEnableATService.NT
  78. DelFiles = System_NT,JobFolder,HelpDir,Inf
  79. EndPrompt=UninstallEnd
  80.  
  81. [SysAgent]
  82. sysagent.exe,,,1
  83.  
  84. [UninstallPrompt]
  85. Prompt = %UNINST_PROMPT%
  86. ButtonType = YESNO
  87. Title = %UNINST_PROMPT_TITLE%
  88.  
  89. [UninstallEnd]
  90. Prompt=%UNINST_COMPL%
  91.  
  92. [Inf]
  93. mstask.inf
  94.  
  95. [System_Win]
  96. mstask.exe,mstwin.exe,,1
  97. mstask.dll,mstwin.dll,,1
  98. mstinit.exe,stswin.exe,,1
  99. sage.dll,,,1
  100. sage.exe,,,1
  101.  
  102. [System_NT]
  103. mstask.exe,mstnt.exe,,1
  104. mstask.dll,mstnt.dll,,1
  105. mstinit.exe,stsnt.exe,,1
  106.  
  107. [JobFolder]
  108. desktop.ini,mstask.ini,,1
  109.  
  110. [HelpDir]
  111. mstask.hlp,,,1
  112. mstask.cnt,,,1
  113.  
  114. [AddRegistrySettings.Win]
  115. HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,%TS%,,"%11%\mstinit.exe /setup"
  116. HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,%WINHLP32%,,"%25%\winhlp32.exe -s windows.hlp"
  117.  
  118. [RenameBackups.Win]
  119. HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\Bak,,,%11%
  120. HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\Bak,SAGEEXE.BAK,,"SAGE.EXE"
  121. HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\Bak,SAGEDLL.BAK,,"SAGE.DLL"
  122. HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\Sa,,,%49000%
  123. HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\Sa,SYSAGENT.BAK,,"SYSAGENT.EXE"
  124.  
  125. [CommonRegistrySettings]
  126. HKLM,Software\Microsoft\SchedulingAgent,TasksFolder,,"%25%\%TASKS_FOLDER%"
  127. HKLM,Software\Microsoft\SchedulingAgent,LogPath,,"%25%\SchedLog.Txt"
  128. HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\Sys,,,%25%
  129. HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\Sys,%TASKS_FOLDER%,,"%TASKS_FOLDER%,4"
  130. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{D6277990-4C6A-11CF-8D87-00AA0060F5BF},,,"%MSTASK%"
  131. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RemoteComputer\NameSpace\{D6277990-4C6A-11CF-8D87-00AA0060F5BF},,,"%MSTASK%"
  132.  
  133. HKCR,".Job",,,"JobObject"
  134. HKCR,"JobObject",,,"%TASK_OBJECT%"
  135. HKCR,JobObject\CLSID,,,"{148BD520-A2AB-11CE-B11F-00AA00530503}"
  136. HKCR,JobObject\shell
  137. HKCR,JobObject\shellex\PropertySheetHandlers\{797F1E90-9EDD-11cf-8D8E-00AA0060F5BF}
  138. HKCR,JobObject\shellex\IconHandler,,,"{DD2110F0-9EEF-11cf-8D8E-00AA0060F5BF}"
  139. HKCR,CLSID\{DD2110F0-9EEF-11cf-8D8E-00AA0060F5BF},,,"Scheduling UI icon handler"
  140. HKCR,CLSID\{DD2110F0-9EEF-11cf-8D8E-00AA0060F5BF}\InProcServer32,,,"%11%\mstask.dll"
  141. HKCR,CLSID\{DD2110F0-9EEF-11cf-8D8E-00AA0060F5BF}\InProcServer32,"ThreadingModel",,"Both"
  142. HKCR,CLSID\{797F1E90-9EDD-11cf-8D8E-00AA0060F5BF},,,"Scheduling UI property sheet handler"
  143. HKCR,CLSID\{797F1E90-9EDD-11cf-8D8E-00AA0060F5BF}\InProcServer32,,,"%11%\mstask.dll"
  144. HKCR,CLSID\{797F1E90-9EDD-11cf-8D8E-00AA0060F5BF}\InProcServer32,"ThreadingModel",,"Both"
  145. HKLM,Software\Microsoft\Windows\CurrentVersion\"Shell Extensions"\Approved,"{797F1E90-9EDD-11cf-8D8E-00AA0060F5BF}",,"Tasks Folder Shell Extension"
  146. HKCR,CLSID\{148BD520-A2AB-11CE-B11F-00AA00530503},,,"Task Scheduler Task Object Class"
  147. HKCR,CLSID\{148BD520-A2AB-11CE-B11F-00AA00530503}\DefaultIcon,,,"%11%\mstask.dll,-101"
  148. HKCR,CLSID\{148BD520-A2AB-11CE-B11F-00AA00530503}\InProcServer32,,,"%11%\mstask.dll"
  149. HKCR,CLSID\{148BD520-A2AB-11CE-B11F-00AA00530503}\InProcServer32,"ThreadingModel",,"Both"
  150. HKCR,".Que",,,"QueueObject"
  151. HKCR,"QueueObject",,,"%QUEUE_OBJECT%"
  152. HKCR,QueueObject\CLSID,,,"{255b3f60-829e-11cf-8d8b-00aa0060f5bf}"
  153. HKCR,CLSID\{255b3f60-829e-11cf-8d8b-00aa0060f5bf},,,"Task Scheduler Queue Object Class"
  154. HKCR,CLSID\{255b3f60-829e-11cf-8d8b-00aa0060f5bf}\DefaultIcon,,,"%11%\mstask.dll,-102"
  155. HKCR,CLSID\{255b3f60-829e-11cf-8d8b-00aa0060f5bf}\InProcServer32,,,"%11%\mstask.dll"
  156. HKCR,CLSID\{255b3f60-829e-11cf-8d8b-00aa0060f5bf}\InProcServer32,"ThreadingModel",,"Both"
  157. HKCR,CLSID\{148BD52A-A2AB-11CE-B11F-00AA00530503},,,"Task Scheduler Service Class"
  158. HKCR,CLSID\{148BD52A-A2AB-11CE-B11F-00AA00530503}\DefaultIcon,,,"%11%\mstask.dll,0"
  159. HKCR,CLSID\{148BD52A-A2AB-11CE-B11F-00AA00530503}\InProcServer32,,,"%11%\mstask.dll"
  160. HKCR,CLSID\{148BD52A-A2AB-11CE-B11F-00AA00530503}\InProcServer32,"ThreadingModel",,"Both"
  161. HKCR,CLSID\{D6277990-4C6A-11CF-8D87-00AA0060F5BF},,,"%MSTASK%"
  162. HKCR,CLSID\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}\DefaultIcon,,,"%11%\mstask.dll,-100"
  163. HKCR,CLSID\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}\InProcServer32,,,"%11%\mstask.dll"
  164. HKCR,CLSID\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}\InProcServer32,"ThreadingModel",,"Both"
  165. HKCR,CLSID\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}\ShellFolder,"Attributes",1,0x00, 0x00, 0x00, 0x21
  166. HKCR,CLSID\{D6277990-4C6A-11CF-8D87-00AA0060F5BF},"InfoTip",,"%INFO_TIP%"
  167.  
  168. [Shortcut.Win]
  169. setup.ini, progman.groups,,"grpschag=%SCHAGT_LNK%"
  170. setup.ini, grpschag,,"""%MSTASK%"", ""Explorer.exe ,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{D6277990-4C6A-11CF-8D87-00AA0060F5BF}"",mstask.dll,0"
  171. setup.ini, grpschag,,"""%SAGE_MENU%"",,,0"
  172.  
  173. [RemoveShortcut.Win]
  174. setup.ini, progman.groups,,"grpschag=%SCHAGT_LNK%"
  175. setup.ini, grpschag,,"""%MSTASK%"",,,0"
  176.  
  177. [DisableLogonExec]
  178. HKLM,Software\Microsoft\Windows\CurrentVersion\Run,%TS%
  179.  
  180. [DelRegistrySettings]
  181. HKLM,Software\Microsoft\SchedulingAgent
  182. HKLM,Software\Microsoft\Windows\CurrentVersion\Run,%TS%
  183. HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\Sys,TASKS
  184. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}
  185. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RemoteComputer\NameSpace\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}
  186. HKLM,Software\Microsoft\"Active Setup"\"Installed Components"\{CC2A9BA0-3BDD-11D0-821E-444553540000}
  187. HKCR,".Job"
  188. HKCR,"JobObject"
  189. HKCR,CLSID\{DD2110F0-9EEF-11cf-8D8E-00AA0060F5BF}
  190. HKCR,CLSID\{797F1E90-9EDD-11cf-8D8E-00AA0060F5BF}
  191. HKLM,Software\Microsoft\Windows\CurrentVersion\"Shell Extensions"\Approved,"{797F1E90-9EDD-11cf-8D8E-00AA0060F5BF}"
  192. HKCR,CLSID\{148BD520-A2AB-11CE-B11F-00AA00530503}
  193. HKCR,".Que"
  194. HKCR,"QueueObject"
  195. HKCR,CLSID\{255b3f60-829e-11cf-8d8b-00aa0060f5bf}
  196. HKCR,CLSID\{148BD52A-A2AB-11CE-B11F-00AA00530503}
  197. HKCR,CLSID\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}
  198.  
  199. [DisableSystemAgent]
  200. HKLM,Software\Microsoft\Windows\CurrentVersion\Run,%SA%
  201.  
  202. [DelRegistrySettings.Win]
  203. HKLM,Software\Microsoft\Windows\CurrentVersion\RunServices,%TS%
  204.  
  205. [DelRegistrySettings.NT]
  206. HKLM,System\CurrentControlSet\Services\Schedule,DependOnGroup
  207. HKLM,System\CurrentControlSet\Services\Schedule,DependOnService
  208. HKLM,System\CurrentControlSet\Services\Schedule,DisplayName
  209. HKLM,System\CurrentControlSet\Services\Schedule,NextAtJobId
  210.  
  211. [ReEnableATService.NT]
  212. HKLM,System\CurrentControlSet\Services\Schedule,ErrorControl,0x10001,1
  213. HKLM,System\CurrentControlSet\Services\Schedule,ImagePath,0x20000,"%SystemRoot%\System32\AtSvc.Exe"
  214. HKLM,System\CurrentControlSet\Services\Schedule,ObjectName,,LocalSystem
  215. HKLM,System\CurrentControlSet\Services\Schedule,Start,0x10001,0x2
  216. HKLM,System\CurrentControlSet\Services\Schedule,Type,0x10001,0x10
  217.  
  218. [RegUninstall]
  219. HKLM,%UninstKey%,"DisplayName",,%UNINST_DISPLNAME%
  220. HKLM,%UninstKey%,"QuietUninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%\mstask.inf,Uninstall,5"
  221. HKLM,%UninstKey%,"RequiresIESysFile",,"4.70.0.1155"
  222.  
  223. [RegUninstall.95]
  224. HKLM,%UninstKey%,"UninstallString",,"RunDll32 advpack.dll,LaunchINFSection mstask.inf,Uninstall"
  225.  
  226. [RegUninstall.NT]
  227. HKLM,%UninstKey%,"UninstallString",,"RunDll32 advpack.dll,LaunchINFSection mstask.inf,Uninstall.NT"
  228.  
  229. [UnRegUninstall]
  230. HKLM,%UninstKey%
  231.  
  232. [SourceDisksNames]
  233. 99 = %TSD%, sasetup.cab, 0
  234.  
  235. [SourceDisksFiles.Win]
  236. mstwin.dll = 99
  237. mstwin.exe = 99
  238. stswin.exe = 99
  239. mstask.inf = 99
  240. mstask.ini = 99
  241. mstask.hlp = 99
  242. mstask.cnt = 99
  243. sage.dll = 99
  244. sage.exe = 99
  245. sysagent.exe = 99
  246. sagedll.bak = 99
  247. sageexe.bak = 99
  248.  
  249. [SourceDisksFiles.x86]
  250. mstnt.dll = 99
  251. mstnt.exe = 99
  252. stsnt.exe = 99
  253. mstask.inf = 99
  254. mstask.ini = 99
  255. mstask.hlp = 99
  256. mstask.cnt = 99
  257.  
  258. [SourceDisksFiles.alpha]
  259. mstnt.dll = 99
  260. mstnt.exe = 99
  261. stsnt.exe = 99
  262. mstask.inf = 99
  263. mstask.ini = 99
  264. mstask.hlp = 99
  265. mstask.cnt = 99
  266.  
  267. [Strings]
  268. ;
  269. ; Do not localize these strings.
  270. ;
  271. SA        = "SystemAgent"
  272. TS        = "SchedulingAgent"
  273. WINHLP32  = "Winhlp32"
  274. UninstKey = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\SchedulingAgent"
  275. UninstInf = "mstask.inf"
  276. rshxclsid={1F2E5C40-9550-11CE-99D2-00AA006E086C}
  277.  
  278. ;
  279. ; Localize these strings.
  280. ;
  281. TSD                 = "Task Scheduler Install Disk"
  282. SCHAGT_LNK          = "Accessories\System Tools"
  283. MSTASK              = "Scheduled Tasks"
  284. SAGE_MENU           = "System Agent"
  285. TASKS_FOLDER        = "Tasks"
  286. TASK_OBJECT         = "Task Scheduler Task Object"
  287. QUEUE_OBJECT        = "Task Scheduler Queue Object"
  288. UNINST_DISPLNAME    = "Task Scheduler 1.0 (remove only)"
  289. UNINST_PROMPT       = "Are you sure you want to remove Task Scheduler?"
  290. UNINST_PROMPT_TITLE = "Remove Task Scheduler"
  291. UNINST_COMPL        = "Task Scheduler has been successfully removed"
  292. INFO_TIP            = "Task Scheduler is a tool that enables you to schedule tasks (such as Disk Defragmenter) to run regularly, when it's most convenient for you. Task Scheduler starts each time you start Windows, and runs in the background"
  293.