home *** CD-ROM | disk | FTP | other *** search
/ PC Treasures, Inc. / pctreasures.mdf / TSNT.CAB / mstask.inf < prev    next >
INI File  |  1999-10-01  |  9KB  |  229 lines

  1. ;
  2. ; Task Scheduler .INF
  3. ;
  4.  
  5. [Version]
  6. Signature=$CHICAGO$
  7. AdvancedINF=2.5
  8.  
  9. [DefaultInstall]
  10. RequiredEngine=Setupapi,%BadSetupVer%
  11. ComponentName="MSTASK"
  12. ComponentVersion=5.0
  13. CustomDestination=MSIExploreDestinationSection
  14. CopyFiles=Inf.Install,System_Win,JobFolder,HelpDir
  15. DelReg=DisableLogonExec,DelUninstallReg
  16. AddReg=FolderSecurityPage,CommonRegistrySettings,RegUninstall
  17. RunPostSetupCommands=PostSetup:4
  18. BackupPath=%49050%\%UninstallData%
  19. PreRollBack=Uninstall
  20.  
  21. [DefaultInstall.NT]
  22. RequiredEngine=Setupapi,%BadSetupVer%
  23. ComponentName="MSTASK"
  24. ComponentVersion=5.0
  25. CustomDestination=MSIExploreDestinationSection
  26. CopyFiles=Inf.Install,System_NT,JobFolder,HelpDir
  27. DelReg=DisableLogonExec,DelUninstallReg
  28. AddReg=FolderSecurityPage,CommonRegistrySettings,RegUninstall
  29. RunPostSetupCommands=PostSetup:4
  30. BackupPath=%49050%\%UninstallData%
  31. PreRollBack=Uninstall.NT
  32.  
  33. [Uninstall]
  34. SmartReboot=A
  35. DelReg=UnRegUninstall
  36. RunPreSetupCommands=PreUnsetup
  37. ;RunPostSetupCommands=PostSetup:4
  38.  
  39. [Uninstall.NT]
  40. SmartReboot=A
  41. DelReg=UnRegUninstall.NT
  42. AddReg=ReEnableATService.NT
  43. RunPreSetupCommands=PreUnsetup
  44. ;RunPostSetupCommands=PostSetup:4
  45.  
  46. [MSIExploreDestinationSection]
  47. 49050=MSIExploreLDIDSection,5
  48. 49000=SysAgentLDIDSection,5
  49.  
  50. [MSIExploreLDIDSection]
  51. HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\IEXPLORE.EXE","Path",,"%24%\%LProgramF%\%LMSIE4%"
  52.  
  53. [SysAgentLDIDSection]
  54. HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\SysAgent.exe","InstallDir",,%11%
  55.  
  56. [SourceDisksNames]
  57. 99 = %TSD%,,0
  58.  
  59. [SourceDisksFiles]
  60. mstask.dll  = 99
  61. mstask.exe  = 99
  62. mstinit.exe = 99
  63. mstask.inf  = 99
  64. mstask.ini  = 99
  65. mstask.hlp  = 99
  66. mstask.chm  = 99
  67. sage.dll    = 99
  68. sage.exe    = 99
  69. sysagent.exe= 99
  70. sagedll.bak = 99
  71. sageexe.bak = 99
  72.  
  73. [DestinationDirs]
  74. Inf.Install  = 17
  75. System_Win   = 11
  76. System_NT    = 11
  77. HelpDir      = 25,Help
  78. JobFolder    = 25,%TASKS_FOLDER%
  79. SysAgent     = 49000
  80.  
  81. [FolderSecurityPage]
  82. HKCR,CLSID\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}\shellex
  83. HKCR,CLSID\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}\shellex\PropertySheetHandlers
  84. HKCR,CLSID\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}\shellex\PropertySheetHandlers\%rshxclsid%
  85.  
  86. [PostSetup]
  87. %11%\mstinit.exe /setup
  88.  
  89. [PreUnsetup]
  90. %11%\mstinit.exe /preunsetup
  91.  
  92. [Inf.Install]
  93. mstask.inf
  94.  
  95. [SysAgent]
  96. sysagent.exe
  97.  
  98. [System_Win]
  99. mstask.exe,,,32
  100. mstask.dll,,,32
  101. mstinit.exe,,,32
  102. sage.dll,,,32
  103. sage.exe,,,32
  104.  
  105. [System_NT]
  106. mstask.exe,,,32
  107. mstask.dll,,,32
  108. mstinit.exe,,,32
  109.  
  110. [JobFolder]
  111. desktop.ini,mstask.ini
  112.  
  113. [HelpDir]
  114. mstask.hlp
  115. mstask.chm
  116.  
  117. [CommonRegistrySettings]
  118. HKLM,Software\Microsoft\SchedulingAgent,TasksFolder,0x00020000,"%%WinDir%%\%TASKS_FOLDER%"
  119. HKLM,Software\Microsoft\SchedulingAgent,LogPath,0x00020000,"%%WinDir%%\SchedLog.Txt"
  120. ; What is this rename stuff?
  121. HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\Sys,,,%25%
  122. HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\Sys,%TASKS_FOLDER%,,"%TASKS_FOLDER%,4"
  123. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{D6277990-4C6A-11CF-8D87-00AA0060F5BF},,,"%MSTASK%"
  124. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RemoteComputer\NameSpace\{D6277990-4C6A-11CF-8D87-00AA0060F5BF},,,"%MSTASK%"
  125. HKCR,".Job",,,"JobObject"
  126. HKCR,"JobObject",,,"%TASK_OBJECT%"
  127. HKCR,JobObject\CLSID,,,"{148BD520-A2AB-11CE-B11F-00AA00530503}"
  128. HKCR,JobObject\shell
  129. HKCR,JobObject\shellex\PropertySheetHandlers\{797F1E90-9EDD-11cf-8D8E-00AA0060F5BF}
  130. HKCR,JobObject\shellex\IconHandler,,,"{DD2110F0-9EEF-11cf-8D8E-00AA0060F5BF}"
  131. HKCR,CLSID\{DD2110F0-9EEF-11cf-8D8E-00AA0060F5BF},,,"Scheduling UI icon handler"
  132. HKCR,CLSID\{DD2110F0-9EEF-11cf-8D8E-00AA0060F5BF}\InProcServer32,,,"%11%\mstask.dll"
  133. HKCR,CLSID\{DD2110F0-9EEF-11cf-8D8E-00AA0060F5BF}\InProcServer32,"ThreadingModel",,"Both"
  134. HKCR,CLSID\{797F1E90-9EDD-11cf-8D8E-00AA0060F5BF},,,"Scheduling UI property sheet handler"
  135. HKCR,CLSID\{797F1E90-9EDD-11cf-8D8E-00AA0060F5BF}\InProcServer32,,,"%11%\mstask.dll"
  136. HKCR,CLSID\{797F1E90-9EDD-11cf-8D8E-00AA0060F5BF}\InProcServer32,"ThreadingModel",,"Both"
  137. HKLM,Software\Microsoft\Windows\CurrentVersion\"Shell Extensions"\Approved,"{797F1E90-9EDD-11cf-8D8E-00AA0060F5BF}",,"Tasks Folder Shell Extension"
  138. HKLM,Software\Microsoft\Windows\CurrentVersion\"Shell Extensions"\Approved,"{D6277990-4C6A-11CF-8D87-00AA0060F5BF}",,"%MSTASK%"
  139. HKCR,CLSID\{148BD520-A2AB-11CE-B11F-00AA00530503},,,"Task Scheduler Task Object Class"
  140. HKCR,CLSID\{148BD520-A2AB-11CE-B11F-00AA00530503}\DefaultIcon,,,"%11%\mstask.dll,-101"
  141. HKCR,CLSID\{148BD520-A2AB-11CE-B11F-00AA00530503}\InProcServer32,,,"%11%\mstask.dll"
  142. HKCR,CLSID\{148BD520-A2AB-11CE-B11F-00AA00530503}\InProcServer32,"ThreadingModel",,"Both"
  143. HKCR,".Que",,,"QueueObject"
  144. HKCR,"QueueObject",,,"%QUEUE_OBJECT%"
  145. HKCR,QueueObject\CLSID,,,"{255b3f60-829e-11cf-8d8b-00aa0060f5bf}"
  146. HKCR,CLSID\{255b3f60-829e-11cf-8d8b-00aa0060f5bf},,,"Task Scheduler Queue Object Class"
  147. HKCR,CLSID\{255b3f60-829e-11cf-8d8b-00aa0060f5bf}\DefaultIcon,,,"%11%\mstask.dll,-102"
  148. HKCR,CLSID\{255b3f60-829e-11cf-8d8b-00aa0060f5bf}\InProcServer32,,,"%11%\mstask.dll"
  149. HKCR,CLSID\{255b3f60-829e-11cf-8d8b-00aa0060f5bf}\InProcServer32,"ThreadingModel",,"Both"
  150. HKCR,CLSID\{148BD52A-A2AB-11CE-B11F-00AA00530503},,,"Task Scheduler Service Class"
  151. HKCR,CLSID\{148BD52A-A2AB-11CE-B11F-00AA00530503}\DefaultIcon,,,"%11%\mstask.dll,0"
  152. HKCR,CLSID\{148BD52A-A2AB-11CE-B11F-00AA00530503}\InProcServer32,,,"%11%\mstask.dll"
  153. HKCR,CLSID\{148BD52A-A2AB-11CE-B11F-00AA00530503}\InProcServer32,"ThreadingModel",,"Both"
  154. HKCR,CLSID\{D6277990-4C6A-11CF-8D87-00AA0060F5BF},,,"%MSTASK%"
  155. HKCR,CLSID\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}\DefaultIcon,,,"%11%\mstask.dll,-100"
  156. HKCR,CLSID\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}\InProcServer32,,,"%11%\mstask.dll"
  157. HKCR,CLSID\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}\InProcServer32,"ThreadingModel",,"Both"
  158. HKCR,CLSID\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}\ShellFolder,"Attributes",1,0x00, 0x00, 0x00, 0x21
  159. HKCR,CLSID\{D6277990-4C6A-11CF-8D87-00AA0060F5BF},"InfoTip",,"%INFO_TIP%"
  160.  
  161. [DisableLogonExec]
  162. HKLM,Software\Microsoft\Windows\CurrentVersion\Run,%TS%
  163.  
  164. [DisableSystemAgent]
  165. HKLM,Software\Microsoft\Windows\CurrentVersion\Run,%SA%
  166.  
  167. [DelRegistrySettings.Win]
  168. HKLM,Software\Microsoft\Windows\CurrentVersion\RunServices,%TS%
  169.  
  170. [ReEnableATService.NT]
  171. HKLM,System\CurrentControlSet\Services\Schedule,ErrorControl,0x10001,1
  172. HKLM,System\CurrentControlSet\Services\Schedule,ImagePath,0x20000,"%SystemRoot%\System32\AtSvc.Exe"
  173. HKLM,System\CurrentControlSet\Services\Schedule,ObjectName,,LocalSystem
  174. HKLM,System\CurrentControlSet\Services\Schedule,Start,0x10001,0x2
  175. HKLM,System\CurrentControlSet\Services\Schedule,Type,0x10001,0x10
  176.  
  177. [RegUninstall]
  178. HKLM,%UninstKey%,"QuietDisplayName",,%UNINST_DISPLNAME%
  179. HKLM,%UninstKey%,"QuietUninstallString",,"RunDll32 advpack.dll,LaunchINFSectionEx %17%\mstask.inf,,,256"
  180. HKLM,%UninstKey%,"RequiresIESysFile",,"5.00"
  181.  
  182. [DelUninstallReg]
  183. HKLM,%UninstKey%,"DisplayName"
  184. HKLM,%UninstKey%,"UninstallString"
  185.  
  186. [UnRegUninstall]
  187. HKLM,"SoftWare\Microsoft\Active Setup\Installed Components\{CC2A9BA0-3BDD-11D0-821E-444553540000}"
  188. HKLM,%UninstKey%
  189.  
  190. [UnRegUninstall.NT]
  191. HKLM,"SoftWare\Microsoft\Active Setup\Installed Components\{CC2A9BA0-3BDD-11D0-821E-444553540000}"
  192. HKLM,System\CurrentControlSet\Services\Schedule,DisplayName
  193. HKLM,%UninstKey%
  194.  
  195. [Strings]
  196. ;
  197. ; Do not localize these strings.
  198. ;
  199. SA        = "SystemAgent"
  200. TS        = "SchedulingAgent"
  201. WINHLP32  = "Winhlp32"
  202. UninstKey = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\SchedulingAgent"
  203. UninstInf = "mstask.inf"
  204. rshxclsid={1F2E5C40-9550-11CE-99D2-00AA006E086C}
  205.  
  206. ;
  207. ; Localize these strings.
  208. ;
  209. TSD                 = "Task Scheduler Install Disk"
  210. SCHAGT_LNK          = "Accessories\System Tools"
  211. MSTASK              = "Scheduled Tasks"
  212. SAGE_MENU           = "System Agent"
  213. TASKS_FOLDER        = "Tasks"
  214. TASK_OBJECT         = "Task Scheduler Task Object"
  215. QUEUE_OBJECT        = "Task Scheduler Queue Object"
  216. UNINST_DISPLNAME    = "Task Scheduler"
  217. UNINST_PROMPT       = "Are you sure you want to remove Task Scheduler?"
  218. UNINST_PROMPT_TITLE = "Remove Task Scheduler"
  219. UNINST_COMPL        = "Task Scheduler has been successfully removed"
  220. 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"
  221.  
  222. BadSetupVer = "Your system is missing the required Setup engine."
  223. LMSIE4 = "Internet Explorer"
  224. LProgramF = "Program Files"
  225. UninstallData = "Uninstall Information"
  226. DisplayDesc = "Task Scheduler"
  227.  
  228. ;regedit: "HKLM,Software\microsoft\active setup","SteppingMode",,"Y"
  229. ;run: RunDll32 advpack.dll,LaunchINFSectionEx %17%\mstask.inf,,,44