home *** CD-ROM | disk | FTP | other *** search
/ PC World Plus! (NZ) 2003 October / PCW1003.ISO / browsers / IE6 / FLAT / WIN32 / EN / SCR56EN.CAB / scr56en.inf < prev    next >
Windows Setup INFormation  |  2002-04-22  |  13KB  |  335 lines

  1. [Version]
  2. Signature=$CHICAGO$
  3. AdvancedINF=2.5,%VersionWarning%
  4.  
  5. [DefaultInstall]
  6. CatalogName    =    scr56en.cat
  7. CopyFiles     =    Copy.Engines, Copy.CScript, Copy.WScript, Copy.OCX, Copy.Inf, Copy.Help
  8. AddReg        =     AddReg.WSH, AddReg.Extensions, ActiveSetupReg
  9. RegisterOCXs     =    RegOCX
  10.  
  11. [DefaultInstall.NT]
  12. Copyfiles           =     Copy.Engines, Copy.CScript.NT, Copy.WScript.NT, Copy.OCX, Copy.OCX.NT, Copy.Inf, Copy.Help
  13. AddReg              =     AddReg.WSH, AddReg.Extensions.NT, AddReg.WSH.NT, ActiveSetupReg
  14. RegisterOCXs        =    RegOCX.NT
  15.  
  16. [DestinationDirs]
  17. Copy.Inf        = 17                    ; %WinDir%\Inf
  18. Copy.OCX        = 11                    ; %WinDir%\system
  19. Copy.OCX.NT     = 11                    ; %WinDir%\system
  20. Copy.CScript    = 13                    ; %WinDir%\Command
  21. Copy.WScript    = 25                    ; %WinDir%
  22. Copy.CScript.NT = 11            ; %WinDir%\System32
  23. Copy.WScript.NT = 11            ; %WinDir%\System32
  24. Copy.Engines    = 11                    ; %WinDir%\System32
  25. Copy.Help       = 18            ; %WinDir%\Help
  26.  
  27. [Copy.Engines]
  28. jscript.dll,,,32
  29. vbscript.dll,,,32
  30. scrrun.dll,,,32
  31. dispex.dll,,,32
  32. scrobj.dll,,,32
  33.  
  34. [Copy.CScript]
  35. cscript.exe,,,32
  36.  
  37. [Copy.WScript]
  38. wscript.exe,,,32
  39.  
  40. [Copy.CScript.NT]
  41. cscript.exe,,,32
  42.  
  43. [Copy.WScript.NT]
  44. wscript.exe,,,32
  45.  
  46. [Copy.OCX]
  47. wshom.ocx,,,32
  48. wshext.dll,,,32
  49.  
  50. [Copy.OCX.NT]
  51. wshcon.dll,,,32
  52.  
  53. [Copy.Inf]
  54. scr56en.inf,,,32
  55.  
  56. [Copy.Help]
  57. wscript.hlp,,,32
  58.  
  59. [RegOCX]
  60. %11%\jscript.dll
  61. %11%\vbscript.dll
  62. %11%\scrrun.dll
  63. %11%\scrobj.dll
  64. %11%\wshom.ocx
  65. %11%\wshext.dll
  66.  
  67. [RegOCX.NT]
  68. %11%\wshcon.dll
  69. %11%\jscript.dll
  70. %11%\vbscript.dll
  71. %11%\scrrun.dll
  72. %11%\scrobj.dll
  73. %11%\wshom.ocx
  74. %11%\wshext.dll
  75.  
  76. [SourceDisksNames]
  77. 1=%DiskName%,,1
  78.  
  79. [SourceDisksFiles]
  80. jscript.dll        =1
  81. vbscript.dll    =1
  82. scrrun.dll        =1
  83. dispex.dll        =1
  84. scrobj.dll        =1
  85. cscript.exe    =1
  86. wscript.exe    =1
  87. wshom.ocx    =1
  88. wshext.dll    =1
  89. wshcon.dll    =1
  90. wscript.hlp    =1
  91. scr56en.inf    =1
  92.  
  93. ;;;
  94. ;;; Add WSH registry entries
  95. ;;;
  96. [AddReg.WSH]
  97. HKLM, "%REG_WSH%\Settings","DisplayLogo",0X00000002,"1"
  98. HKLM, "%REG_WSH%\Settings","ActiveDebugging",0x00000002,"1"
  99. HKLM, "%REG_WSH%\Settings","SilentTerminate",0X00000002,"0"
  100. HKLM, "%REG_WSH%\Settings","TrustPolicy",0X00010003,0
  101. HKLM, "%REG_WSH%\Settings","Enabled",0X00000002,"1"
  102. HKLM, "%REG_WSH%\Settings","IgnoreUserSettings",0X00000002,"0"
  103.  
  104. ; Shell Extension
  105. HKLM, "%REG_APPROVE%","%CLSID_WSHEXT%",,"%DESC_WSHEXT%"
  106.  
  107. [AddReg.WSH.NT]
  108. HKLM, "%REG_WSH%\Settings","LogSecurityFailures",0X00000002,"1"
  109. HKLM, "%REG_WSH%\Settings","LogSecuritySuccesses",0X00000002,"0"
  110. HKLM, "%REG_WSH%\Settings","Remote",0X00000002,"0"
  111.  
  112. [AddReg.Extensions]
  113. ; .WSH
  114. HKCR, ".WSH","",,"WSHFile"
  115. HKCR, "WSHFile","",,"%DESC_DOTWSH%"
  116. HKCR, "WSHFile","IsShortcut",,"Yes"
  117. HKCR, "WSHFile\DefaultIcon","",0x00020002,"%25%\WScript.exe,1"
  118. HKCR, "WSHFile\Shell\Open","",,"%MENU_OPEN%"
  119. HKCR, "WSHFile\Shell\Open\Command",,0x00020002,"%25%\WScript.exe ""%1"" %*"
  120. HKCR, "WSHFile\Shell\Open2","",,"%MENU_DOSOPEN%"
  121. HKCR, "WSHFile\Shell\Open2\Command","",0x00020002,"%13%\CScript.exe ""%1"" %*"
  122. HKCR, "WSHFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  123. HKCR, "WSHFile\ShellEx\DropHandler","",,"%CLSID_WSHEXT%"
  124.  
  125. ; .VBS
  126. HKCR, ".VBS","",,"VBSFile"
  127. HKCR, "VBSFile","",,"%DESC_DOTVBS%"
  128. HKCR, "VBSFile\DefaultIcon","",0x00020002,"%25%\WScript.exe,2"
  129. HKCR, "VBSFile\ScriptEngine","",,"VBScript"
  130. HKCR, "VBSFile\Shell\Open","",,"%MENU_OPEN%"
  131. HKCR, "VBSFile\Shell\Open\Command","",0x00020002,"%25%\WScript.exe ""%1"" %*"
  132. HKCR, "VBSFile\Shell\Open2","",,"%MENU_DOSOPEN%"
  133. HKCR, "VBSFile\Shell\Open2\Command","",0x00020002,"%13%\CScript.exe ""%1"" %*"
  134. HKCR, "VBSFile\Shell\Edit","",,"%MENU_EDIT%"
  135. HKCR, "VBSFile\Shell\Edit\Command","",0x00020002,"%25%\Notepad.exe %1"
  136. HKCR, "VBSFile\Shell\Print","",,"%MENU_PRINT%"
  137. HKCR, "VBSFile\Shell\Print\Command","",0x00020002,"%25%\Notepad.exe /p %1"
  138. HKCR, "VBSFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  139. HKCR, "VBSFile\ShellEx\DropHandler","",,"%CLSID_WSHEXT%"
  140.  
  141. ; .VBE
  142. HKCR, ".VBE","",,"VBEFile"
  143. HKCR, "VBEFile","",,"%DESC_DOTVBS%"
  144. HKCR, "VBEFile\DefaultIcon","",0x00020002,"%25%\WScript.exe,2"
  145. HKCR, "VBEFile\ScriptEngine","",,"VBScript.Encode"
  146. HKCR, "VBEFile\Shell\Open","",,"%MENU_OPEN%"
  147. HKCR, "VBEFile\Shell\Open\Command","",0x00020002,"%25%\WScript.exe ""%1"" %*"
  148. HKCR, "VBEFile\Shell\Open2","",,"%MENU_DOSOPEN%"
  149. HKCR, "VBEFile\Shell\Open2\Command","",0x00020002,"%13%\CScript.exe ""%1"" %*"
  150. HKCR, "VBEFile\Shell\Edit","",,"%MENU_EDIT%"
  151. HKCR, "VBEFile\Shell\Edit\Command","",0x00020002,"%25%\Notepad.exe %1"
  152. HKCR, "VBEFile\Shell\Print","",,"%MENU_PRINT%"
  153. HKCR, "VBEFile\Shell\Print\Command","",0x00020002,"%25%\Notepad.exe /p %1"
  154. HKCR, "VBEFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  155. HKCR, "VBEFile\ShellEx\DropHandler","",,"%CLSID_WSHEXT%"
  156.  
  157.  
  158. ; .JS
  159. HKCR, ".JS","",,"JSFile"
  160. HKCR, "JSFile","",,"%DESC_DOTJS%"
  161. HKCR, "JSFile\DefaultIcon","",0x00020002,"%25%\WScript.exe,3"
  162. HKCR, "JSFile\ScriptEngine","",,"JScript"
  163. HKCR, "JSFile\Shell\Open","",,"%MENU_OPEN%"
  164. HKCR, "JSFile\Shell\Open\Command","",0x00020002,"%25%\WScript.exe ""%1"" %*"
  165. HKCR, "JSFile\Shell\Open2","",,"%MENU_DOSOPEN%"
  166. HKCR, "JSFile\Shell\Open2\Command","",0x00020002,"%13%\CScript.exe ""%1"" %*"
  167. HKCR, "JSFile\Shell\Edit","",,"%MENU_EDIT%"
  168. HKCR, "JSFile\Shell\Edit\Command","",0x00020002,"%25%\Notepad.exe %1"
  169. HKCR, "JSFile\Shell\Print","",,"%MENU_PRINT%"
  170. HKCR, "JSFile\Shell\Print\Command","",0x00020002,"%25%\Notepad.exe /p %1"
  171. HKCR, "JSFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  172. HKCR, "JSFile\ShellEx\DropHandler","",,"%CLSID_WSHEXT%"
  173.  
  174. ; .JSE
  175. HKCR, ".JSE","",,"JSEFile"
  176. HKCR, "JSEFile","",,"%DESC_DOTJS%"
  177. HKCR, "JSEFile\DefaultIcon","",0x00020002,"%25%\WScript.exe,3"
  178. HKCR, "JSEFile\ScriptEngine","",,"JScript.Encode"
  179. HKCR, "JSEFile\Shell\Open","",,"%MENU_OPEN%"
  180. HKCR, "JSEFile\Shell\Open\Command","",0x00020002,"%25%\WScript.exe ""%1"" %*"
  181. HKCR, "JSEFile\Shell\Open2","",,"%MENU_DOSOPEN%"
  182. HKCR, "JSEFile\Shell\Open2\Command","",0x00020002,"%13%\CScript.exe ""%1"" %*"
  183. HKCR, "JSEFile\Shell\Edit","",,"%MENU_EDIT%"
  184. HKCR, "JSEFile\Shell\Edit\Command","",0x00020002,"%25%\Notepad.exe %1"
  185. HKCR, "JSEFile\Shell\Print","",,"%MENU_PRINT%"
  186. HKCR, "JSEFile\Shell\Print\Command","",0x00020002,"%25%\Notepad.exe /p %1"
  187. HKCR, "JSEFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  188. HKCR, "JSEFile\ShellEx\DropHandler","",,"%CLSID_WSHEXT%"
  189.  
  190. ; .WSF
  191. HKCR, ".WSF","",,"WSFFile"
  192. HKCR, "WSFFile","",,"%DESC_DOTWS%"
  193. HKCR, "WSFFile\DefaultIcon","",0x00020002,"%25%\WScript.exe,2"
  194. HKCR, "WSFFile\Shell\Open","",,"%MENU_OPEN%"
  195. HKCR, "WSFFile\Shell\Open\Command","",0x00020002,"%25%\WScript.exe ""%1"" %*"
  196. HKCR, "WSFFile\Shell\Open2","",,"%MENU_CONOPEN%"
  197. HKCR, "WSFFile\Shell\Open2\Command","",0x00020002,"%13%\CScript.exe ""%1"" %*"
  198. HKCR, "WSFFile\Shell\Edit","",,"%MENU_EDIT%"
  199. HKCR, "WSFFile\Shell\Edit\Command","",0x00020002,"%25%\Notepad.exe %1"
  200. HKCR, "WSFFile\Shell\Print","",,"%MENU_PRINT%"
  201. HKCR, "WSFFile\Shell\Print\Command","",0x00020002,"%25%\Notepad.exe /p %1"
  202. HKCR, "WSFFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  203. HKCR, "WSFFile\ShellEx\DropHandler","",,"%CLSID_WSHEXT%"
  204.  
  205. [AddReg.Extensions.NT]
  206. ; Register WScript
  207. HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnce","Regsister WScript",,"wscript -regserver"
  208.  
  209. ; .WSH
  210. HKCR, ".WSH","",,"WSHFile"
  211. HKCR, "WSHFile","",,"%DESC_DOTWSH%"
  212. HKCR, "WSHFile","IsShortcut",,"Yes"
  213. HKCR, "WSHFile\DefaultIcon","",0x00020002,"%11%\WScript.exe,1"
  214. HKCR, "WSHFile\Shell\Open","",,"%MENU_OPEN%"
  215. HKCR, "WSHFile\Shell\Open\Command",,0x00020002,"%11%\WScript.exe ""%1"" %*"
  216. HKCR, "WSHFile\Shell\Open2","",,"%MENU_CONOPEN%"
  217. HKCR, "WSHFile\Shell\Open2\Command","",0x00020002,"%11%\CScript.exe ""%1"" %*"
  218. HKCR, "WSHFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  219. HKCR, "WSHFile\ShellEx\DropHandler","",,"%CLSID_WSHEXT%"
  220.  
  221. ; .VBS
  222. HKCR, ".VBS","",,"VBSFile"
  223. HKCR, "VBSFile","",,"%DESC_DOTVBS%"
  224. HKCR, "VBSFile\DefaultIcon","",0x00020002,"%11%\WScript.exe,2"
  225. HKCR, "VBSFile\ScriptEngine","",,"VBScript"
  226. HKCR, "VBSFile\Shell\Open","",,"%MENU_OPEN%"
  227. HKCR, "VBSFile\Shell\Open\Command","",0x00020002,"%11%\WScript.exe ""%1"" %*"
  228. HKCR, "VBSFile\Shell\Open2","",,"%MENU_CONOPEN%"
  229. HKCR, "VBSFile\Shell\Open2\Command","",0x00020002,"%11%\CScript.exe ""%1"" %*"
  230. HKCR, "VBSFile\Shell\Edit","",,"%MENU_EDIT%"
  231. HKCR, "VBSFile\Shell\Edit\Command","",0x00020002,"%11%\Notepad.exe %1"
  232. HKCR, "VBSFile\Shell\Print","",,"%MENU_PRINT%"
  233. HKCR, "VBSFile\Shell\Print\Command","",0x00020002,"%11%\Notepad.exe /p %1"
  234. HKCR, "VBSFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  235. HKCR, "VBSFile\ShellEx\DropHandler","",,"%CLSID_WSHEXT%"
  236.  
  237. ; .VBE
  238. HKCR, ".VBE","",,"VBEFile"
  239. HKCR, "VBEFile","",,"%DESC_DOTVBS%"
  240. HKCR, "VBEFile\DefaultIcon","",0x00020002,"%11%\WScript.exe,2"
  241. HKCR, "VBEFile\ScriptEngine","",,"VBScript.Encode"
  242. HKCR, "VBEFile\Shell\Open","",,"%MENU_OPEN%"
  243. HKCR, "VBEFile\Shell\Open\Command","",0x00020002,"%11%\WScript.exe ""%1"" %*"
  244. HKCR, "VBEFile\Shell\Open2","",,"%MENU_CONOPEN%"
  245. HKCR, "VBEFile\Shell\Open2\Command","",0x00020002,"%11%\CScript.exe ""%1"" %*"
  246. HKCR, "VBEFile\Shell\Edit","",,"%MENU_EDIT%"
  247. HKCR, "VBEFile\Shell\Edit\Command","",0x00020002,"%11%\Notepad.exe %1"
  248. HKCR, "VBEFile\Shell\Print","",,"%MENU_PRINT%"
  249. HKCR, "VBEFile\Shell\Print\Command","",0x00020002,"%11%\Notepad.exe /p %1"
  250. HKCR, "VBEFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  251. HKCR, "VBEFile\ShellEx\DropHandler","",,"%CLSID_WSHEXT%"
  252.  
  253. ; .JS
  254. HKCR, ".JS","",,"JSFile"
  255. HKCR, "JSFile","",,"%DESC_DOTJS%"
  256. HKCR, "JSFile\DefaultIcon","",0x00020002,"%11%\WScript.exe,3"
  257. HKCR, "JSFile\ScriptEngine","",,"JScript"
  258. HKCR, "JSFile\Shell\Open","",,"%MENU_OPEN%"
  259. HKCR, "JSFile\Shell\Open\Command","",0x00020002,"%11%\WScript.exe ""%1"" %*"
  260. HKCR, "JSFile\Shell\Open2","",,"%MENU_CONOPEN%"
  261. HKCR, "JSFile\Shell\Open2\Command","",0x00020002,"%11%\CScript.exe ""%1"" %*"
  262. HKCR, "JSFile\Shell\Edit","",,"%MENU_EDIT%"
  263. HKCR, "JSFile\Shell\Edit\Command","",0x00020002,"%11%\Notepad.exe %1"
  264. HKCR, "JSFile\Shell\Print","",,"%MENU_PRINT%"
  265. HKCR, "JSFile\Shell\Print\Command","",0x00020002,"%11%\Notepad.exe /p %1"
  266. HKCR, "JSFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  267. HKCR, "JSFile\ShellEx\DropHandler","",,"%CLSID_WSHEXT%"
  268.  
  269. ; .JSE
  270. HKCR, ".JSE","",,"JSEFile"
  271. HKCR, "JSEFile","",,"%DESC_DOTJS%"
  272. HKCR, "JSEFile\DefaultIcon","",0x00020002,"%11%\WScript.exe,3"
  273. HKCR, "JSEFile\ScriptEngine","",,"JScript.Encode"
  274. HKCR, "JSEFile\Shell\Open","",,"%MENU_OPEN%"
  275. HKCR, "JSEFile\Shell\Open\Command","",0x00020002,"%11%\WScript.exe ""%1"" %*"
  276. HKCR, "JSEFile\Shell\Open2","",,"%MENU_CONOPEN%"
  277. HKCR, "JSEFile\Shell\Open2\Command","",0x00020002,"%11%\CScript.exe ""%1"" %*"
  278. HKCR, "JSEFile\Shell\Edit","",,"%MENU_EDIT%"
  279. HKCR, "JSEFile\Shell\Edit\Command","",0x00020002,"%11%\Notepad.exe %1"
  280. HKCR, "JSEFile\Shell\Print","",,"%MENU_PRINT%"
  281. HKCR, "JSEFile\Shell\Print\Command","",0x00020002,"%11%\Notepad.exe /p %1"
  282. HKCR, "JSEFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  283. HKCR, "JSEFile\ShellEx\DropHandler","",,"%CLSID_WSHEXT%"
  284.  
  285. ; .WSF
  286. HKCR, ".WSF","",,"WSFFile"
  287. HKCR, "WSFFile","",,"%DESC_DOTWS%"
  288. HKCR, "WSFFile\DefaultIcon","",0x00020002,"%11%\WScript.exe,2"
  289. HKCR, "WSFFile\Shell\Open","",,"%MENU_OPEN%"
  290. HKCR, "WSFFile\Shell\Open\Command","",0x00020002,"%11%\WScript.exe ""%1"" %*"
  291. HKCR, "WSFFile\Shell\Open2","",,"%MENU_CONOPEN%"
  292. HKCR, "WSFFile\Shell\Open2\Command","",0x00020002,"%11%\CScript.exe ""%1"" %*"
  293. HKCR, "WSFFile\Shell\Edit","",,"%MENU_EDIT%"
  294. HKCR, "WSFFile\Shell\Edit\Command","",0x00020002,"%11%\Notepad.exe %1"
  295. HKCR, "WSFFile\Shell\Print","",,"%MENU_PRINT%"
  296. HKCR, "WSFFile\Shell\Print\Command","",0x00020002,"%11%\Notepad.exe /p %1"
  297. HKCR, "WSFFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  298. HKCR, "WSFFile\ShellEx\DropHandler","",,"%CLSID_WSHEXT%"
  299.  
  300. [ActiveSetupReg]
  301. HKLM,%ActiveSetupRegKey%,,0,%Product%
  302. HKLM,%ActiveSetupRegKey%,"IsInstalled",0x00010001,0x01
  303. HKLM,%ActiveSetupRegKey%,"Version",0,"5,6,0,7426"
  304. HKLM,%ActiveSetupRegKey%,"Locale",0,"%Lang%"
  305. HKLM,%ActiveSetupRegKey%,"ComponentID",0,"MSVBScript"
  306.  
  307. [Strings]
  308. VersionWarning= "This setup requires a newer version of the Setup API."
  309. DiskName= "Windows Script Version 5.6"
  310. ActiveSetupRegKey= "SOFTWARE\Microsoft\Active Setup\Installed Components\{4f645220-306d-11d2-995d-00c04f98bbc9}"
  311. Product= "Windows Script version 5.6"
  312.  
  313. ; Unlocalizable strings
  314. REG_WSH             = "Software\Microsoft\Windows Script Host"
  315. REG_APPROVE         = "Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved"
  316. REG_UNINSTALL       = "Software\Microsoft\Windows\CurrentVersion\Uninstall\WindowsScriptHost"
  317. CLSID_WSHEXT        = "{60254CA5-953B-11CF-8C96-00AA00B8708C}"
  318.  
  319. ; Localizable strings
  320. DISP_WSH            = "Microsoft Windows Script Host"
  321.  
  322. DESC_DOTWSH         = "Windows Script Host Settings File"
  323. DESC_DOTVBS         = "VBScript Script File"
  324. DESC_DOTJS          = "JScript Script File"
  325. DESC_DOTWS          = "Windows Script File"
  326.  
  327. DESC_WSHEXT         = "Shell extensions for Windows Script Host"
  328.  
  329. MENU_OPEN           = "&Open"
  330. MENU_CONOPEN        = "Open &with Command Prompt"
  331. MENU_DOSOPEN        = "Open &with MS-DOS Prompt"
  332. MENU_EDIT           = "&Edit"
  333. MENU_PRINT          = "&Print"
  334. Lang=EN
  335.