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