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

  1. [Version]
  2. signature = "$Windows NT$"
  3. AdvancedINF=2.5,%VersionWarning%
  4. Class = %ExceptionClassDesc%
  5. ClassGUID = {F5776D81-AE53-4935-8E84-B0B283D8BCEF}
  6. Provider = %Msft%
  7. CatalogFile = scripten.cat
  8. ComponentId = {4f645220-306d-11d2-995d-00c04f98bbc9}
  9. DriverVer = 02-26-2002, 5.6.0.7426
  10.  
  11. [DefaultInstall]
  12. CopyFiles = Copy.ScriptFiles, Copy.WSH, Copy.Help, Copy.INF, DllCacheFiles
  13. CustomDestination = CustomDests
  14. RegisterOCXs = Register.Engines
  15. AddReg = RegisterActiveSetup, AddReg.WSH, AddReg.Extensions.NT
  16.  
  17. [SourceDisksNames]
  18. 1 = %Media%
  19.  
  20. [SourceDisksFiles]
  21. jscript.dll     = 1
  22. vbscript.dll     = 1
  23. scrrun.dll    = 1
  24. dispex.dll    = 1
  25. scrobj.dll    = 1
  26. wshom.ocx    = 1
  27. wshext.dll    = 1
  28. cscript.exe    = 1
  29. wscript.exe    = 1
  30. wshcon.dll    = 1
  31. wscript.hlp    = 1
  32. scripten.inf    = 1
  33.  
  34. [DestinationDirs]
  35. DefaultDestDir     = 11        ;windir\system32
  36. Copy.ScriptFiles     = 11        ;windir\system32
  37. Copy.WSH    = 11        ;windir\system32
  38. Copy.Help     = 18        ;windir\help
  39. Copy.Inf         = 17        ;windir\inf
  40. DllCacheFiles     = 49000        ;windir\system32\dllcache
  41.  
  42. [CustomDests]
  43. 49000 = DllCacheLDID, 85
  44.  
  45. [DllCacheLDID]
  46. HKLM,"Software\Microsoft\Windows NT\CurrentVersion\Winlogon","SfcDllCacheDir",,"%25%\system32\dllcache"
  47.  
  48. [Copy.ScriptFiles]
  49. jscript.dll
  50. vbscript.dll
  51. scrrun.dll
  52. dispex.dll
  53. scrobj.dll
  54.  
  55. [Copy.WSH]
  56. wshom.ocx
  57. wshext.dll
  58. cscript.exe
  59. wscript.exe
  60. wshcon.dll
  61.  
  62. [Copy.Help]
  63. wscript.hlp
  64.  
  65. [Copy.Inf]
  66. scripten.inf
  67.  
  68. [DllCacheFiles]
  69. jscript.dll
  70. vbscript.dll
  71. scrrun.dll
  72. dispex.dll
  73. scrobj.dll
  74. wshext.dll
  75. cscript.exe
  76. wscript.exe
  77. wshom.ocx
  78. wshcon.dll
  79.  
  80. [Register.Engines]
  81. %11%\jscript.dll
  82. %11%\vbscript.dll
  83. %11%\scrrun.dll
  84. %11%\scrobj.dll
  85. %11%\wshext.dll
  86. %11%\wshcon.dll
  87. %11%\wshom.ocx
  88.  
  89. [RegisterActiveSetup]
  90. HKLM,%ActiveSetupRegKey%,,0,%Product%
  91. HKLM,%ActiveSetupRegKey%,"IsInstalled",0x00010001,0x01
  92. HKLM,%ActiveSetupRegKey%,"Version",0,"5,6,0,7426"
  93. HKLM,%ActiveSetupRegKey%,"Locale",0,%Lang%
  94. HKLM,%ActiveSetupRegKey%,"ComponentID",0,"MSVBScript"
  95.  
  96. ;;;
  97. ;;; Add WSH registry entries
  98. ;;;
  99. [AddReg.WSH]
  100. HKLM, "%REG_WSH%\Settings","DisplayLogo",0X00000002,"1"
  101. HKLM, "%REG_WSH%\Settings","ActiveDebugging",0x00000002,"1"
  102. HKLM, "%REG_WSH%\Settings","SilentTerminate",0X00000002,"0"
  103. HKLM, "%REG_WSH%\Settings","TrustPolicy",0X00010003,0
  104. HKLM, "%REG_WSH%\Settings","LogSecurityFailures",0X00000002,"1"
  105. HKLM, "%REG_WSH%\Settings","LogSecuritySuccesses",0X00000002,"0"
  106. HKLM, "%REG_WSH%\Settings","Remote",0X00000002,"0"
  107. HKLM, "%REG_WSH%\Settings","Enabled",0X00000002,"1"
  108. HKLM, "%REG_WSH%\Settings","IgnoreUserSettings",0X00000002,"0"
  109.  
  110. ; Shell Extension
  111. HKLM, "%REG_APPROVE%","%CLSID_WSHEXT%",,"%DESC_WSHEXT%"
  112.  
  113. [AddReg.Extensions.NT]
  114. ; Register WScript
  115. HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnce","Regsister WScript",,"wscript -regserver"
  116.  
  117. ; .WSH
  118. HKCR, ".WSH","",,"WSHFile"
  119. HKCR, "WSHFile","",,"%DESC_DOTWSH%"
  120. HKCR, "WSHFile","IsShortcut",,"Yes"
  121. HKCR, "WSHFile\DefaultIcon","",0x00020002,"%11%\WScript.exe,1"
  122. HKCR, "WSHFile\Shell\Open","",,"%MENU_OPEN%"
  123. HKCR, "WSHFile\Shell\Open\Command",,0x00020002,"%11%\WScript.exe ""%1"" %*"
  124. HKCR, "WSHFile\Shell\Open2","",,"%MENU_CONOPEN%"
  125. HKCR, "WSHFile\Shell\Open2\Command","",0x00020002,"%11%\CScript.exe ""%1"" %*"
  126. HKCR, "WSHFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  127. HKCR, "WSHFile\ShellEx\DropHandler","",,"%CLSID_WSHEXT%"
  128.  
  129. ; .VBS
  130. HKCR, ".VBS","",,"VBSFile"
  131. HKCR, "VBSFile","",,"%DESC_DOTVBS%"
  132. HKCR, "VBSFile\DefaultIcon","",0x00020002,"%11%\WScript.exe,2"
  133. HKCR, "VBSFile\ScriptEngine","",,"VBScript"
  134. HKCR, "VBSFile\Shell\Open","",,"%MENU_OPEN%"
  135. HKCR, "VBSFile\Shell\Open\Command","",0x00020002,"%11%\WScript.exe ""%1"" %*"
  136. HKCR, "VBSFile\Shell\Open2","",,"%MENU_CONOPEN%"
  137. HKCR, "VBSFile\Shell\Open2\Command","",0x00020002,"%11%\CScript.exe ""%1"" %*"
  138. HKCR, "VBSFile\Shell\Edit","",,"%MENU_EDIT%"
  139. HKCR, "VBSFile\Shell\Edit\Command","",0x00020002,"%11%\Notepad.exe %1"
  140. HKCR, "VBSFile\Shell\Print","",,"%MENU_PRINT%"
  141. HKCR, "VBSFile\Shell\Print\Command","",0x00020002,"%11%\Notepad.exe /p %1"
  142. HKCR, "VBSFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  143. HKCR, "VBSFile\ShellEx\DropHandler","",,"%CLSID_WSHEXT%"
  144.  
  145. ; .VBE
  146. HKCR, ".VBE","",,"VBEFile"
  147. HKCR, "VBEFile","",,"%DESC_DOTVBS%"
  148. HKCR, "VBEFile\DefaultIcon","",0x00020002,"%11%\WScript.exe,2"
  149. HKCR, "VBEFile\ScriptEngine","",,"VBScript.Encode"
  150. HKCR, "VBEFile\Shell\Open","",,"%MENU_OPEN%"
  151. HKCR, "VBEFile\Shell\Open\Command","",0x00020002,"%11%\WScript.exe ""%1"" %*"
  152. HKCR, "VBEFile\Shell\Open2","",,"%MENU_CONOPEN%"
  153. HKCR, "VBEFile\Shell\Open2\Command","",0x00020002,"%11%\CScript.exe ""%1"" %*"
  154. HKCR, "VBEFile\Shell\Edit","",,"%MENU_EDIT%"
  155. HKCR, "VBEFile\Shell\Edit\Command","",0x00020002,"%11%\Notepad.exe %1"
  156. HKCR, "VBEFile\Shell\Print","",,"%MENU_PRINT%"
  157. HKCR, "VBEFile\Shell\Print\Command","",0x00020002,"%11%\Notepad.exe /p %1"
  158. HKCR, "VBEFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  159. HKCR, "VBEFile\ShellEx\DropHandler","",,"%CLSID_WSHEXT%"
  160.  
  161. ; .JS
  162. HKCR, ".JS","",,"JSFile"
  163. HKCR, "JSFile","",,"%DESC_DOTJS%"
  164. HKCR, "JSFile\DefaultIcon","",0x00020002,"%11%\WScript.exe,3"
  165. HKCR, "JSFile\ScriptEngine","",,"JScript"
  166. HKCR, "JSFile\Shell\Open","",,"%MENU_OPEN%"
  167. HKCR, "JSFile\Shell\Open\Command","",0x00020002,"%11%\WScript.exe ""%1"" %*"
  168. HKCR, "JSFile\Shell\Open2","",,"%MENU_CONOPEN%"
  169. HKCR, "JSFile\Shell\Open2\Command","",0x00020002,"%11%\CScript.exe ""%1"" %*"
  170. HKCR, "JSFile\Shell\Edit","",,"%MENU_EDIT%"
  171. HKCR, "JSFile\Shell\Edit\Command","",0x00020002,"%11%\Notepad.exe %1"
  172. HKCR, "JSFile\Shell\Print","",,"%MENU_PRINT%"
  173. HKCR, "JSFile\Shell\Print\Command","",0x00020002,"%11%\Notepad.exe /p %1"
  174. HKCR, "JSFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  175. HKCR, "JSFile\ShellEx\DropHandler","",,"%CLSID_WSHEXT%"
  176.  
  177. ; .JSE
  178. HKCR, ".JSE","",,"JSEFile"
  179. HKCR, "JSEFile","",,"%DESC_DOTJS%"
  180. HKCR, "JSEFile\DefaultIcon","",0x00020002,"%11%\WScript.exe,3"
  181. HKCR, "JSEFile\ScriptEngine","",,"JScript.Encode"
  182. HKCR, "JSEFile\Shell\Open","",,"%MENU_OPEN%"
  183. HKCR, "JSEFile\Shell\Open\Command","",0x00020002,"%11%\WScript.exe ""%1"" %*"
  184. HKCR, "JSEFile\Shell\Open2","",,"%MENU_CONOPEN%"
  185. HKCR, "JSEFile\Shell\Open2\Command","",0x00020002,"%11%\CScript.exe ""%1"" %*"
  186. HKCR, "JSEFile\Shell\Edit","",,"%MENU_EDIT%"
  187. HKCR, "JSEFile\Shell\Edit\Command","",0x00020002,"%11%\Notepad.exe %1"
  188. HKCR, "JSEFile\Shell\Print","",,"%MENU_PRINT%"
  189. HKCR, "JSEFile\Shell\Print\Command","",0x00020002,"%11%\Notepad.exe /p %1"
  190. HKCR, "JSEFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  191. HKCR, "JSEFile\ShellEx\DropHandler","",,"%CLSID_WSHEXT%"
  192.  
  193. ; .WSF
  194. HKCR, ".WSF","",,"WSFFile"
  195. HKCR, "WSFFile","",,"%DESC_DOTWS%"
  196. HKCR, "WSFFile\DefaultIcon","",0x00020002,"%11%\WScript.exe,2"
  197. HKCR, "WSFFile\Shell\Open","",,"%MENU_OPEN%"
  198. HKCR, "WSFFile\Shell\Open\Command","",0x00020002,"%11%\WScript.exe ""%1"" %*"
  199. HKCR, "WSFFile\Shell\Open2","",,"%MENU_CONOPEN%"
  200. HKCR, "WSFFile\Shell\Open2\Command","",0x00020002,"%11%\CScript.exe ""%1"" %*"
  201. HKCR, "WSFFile\Shell\Edit","",,"%MENU_EDIT%"
  202. HKCR, "WSFFile\Shell\Edit\Command","",0x00020002,"%11%\Notepad.exe %1"
  203. HKCR, "WSFFile\Shell\Print","",,"%MENU_PRINT%"
  204. HKCR, "WSFFile\Shell\Print\Command","",0x00020002,"%11%\Notepad.exe /p %1"
  205. HKCR, "WSFFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  206. HKCR, "WSFFile\ShellEx\DropHandler","",,"%CLSID_WSHEXT%"
  207.  
  208. [Strings]
  209. Msft = "Microsoft"
  210. Media = "Microsoft Windows Script 5.6 Distribution Media"
  211. Product = "Microsoft Windows Script 5.6"
  212. ExceptionClassDesc = "Microsoft Windows Script 5.6 for Windows 2000"
  213. VersionWarning = "This setup requires a newer version of the Setup API"
  214. ActiveSetupRegKey = "SOFTWARE\Microsoft\Active Setup\Installed Components\{4f645220-306d-11d2-995d-00c04f98bbc9}"
  215.  
  216. DESC_WSHEXT         = "Shell extensions for Windows Script Host"
  217.  
  218. DISP_WSH            = "Microsoft Windows Script Host"
  219.  
  220. DESC_DOTWSH         = "Windows Script Host Settings File"
  221. DESC_DOTVBS         = "VBScript Script File"
  222. DESC_DOTJS          = "JScript Script File"
  223. DESC_DOTWS          = "Windows Script File"
  224.  
  225. MENU_OPEN           = "&Open"
  226. MENU_CONOPEN        = "Open &with Command Prompt"
  227. MENU_DOSOPEN        = "Open &with MS-DOS Prompt"
  228. MENU_EDIT           = "&Edit"
  229. MENU_PRINT          = "&Print"
  230.  
  231. ; Unlocalizable strings
  232. REG_WSH             = "Software\Microsoft\Windows Script Host"
  233. REG_APPROVE         = "Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved"
  234. REG_UNINSTALL       = "Software\Microsoft\Windows\CurrentVersion\Uninstall\WindowsScriptHost"
  235. CLSID_WSHEXT        = "{60254CA5-953B-11CF-8C96-00AA00B8708C}"
  236.  
  237. Lang = "EN"