home *** CD-ROM | disk | FTP | other *** search
/ SupaNet - Free Internet Access / Supanet.iso / Ie5 / VBSCRIPT.CAB / vbscript.inf < prev    next >
INI File  |  1999-11-05  |  13KB  |  299 lines

  1.  
  2. [version]
  3. signature="$CHICAGO$"
  4. AdvancedINF=2.5
  5.  
  6. [DefaultInstall]
  7. RequiredEngine=Setupapi,%BadSetupVer%
  8. ComponentName="IE5BAKEX"
  9. ComponentVersion=5.0
  10. CustomDestination=MSIExploreDestinationSection
  11. CopyFiles=SysDir.Files,WinDir.Files,Command.Files,Inf.Install
  12. AddReg=!VB.Uninst.Reg,Register.AddReg,AddReg.Extensions
  13. RegisterOCXs=RegisterOCX.VB
  14. BackupPath=%49000%\%UninstallData%
  15. PerUserInstall=PUI
  16.  
  17. [DefaultInstall.NT]
  18. RequiredEngine=Setupapi,%BadSetupVer%
  19. ComponentName="IE5BAKEX"
  20. ComponentVersion=5.0
  21. CustomDestination=MSIExploreDestinationSection
  22. CopyFiles=SysDir.Files,SysDir.Files.NT,Inf.Install
  23. AddReg=!VB.Uninst.Reg,Register.AddReg,AddReg.Extensions.NT
  24. RegisterOCXs=RegisterOCX.VB
  25. BackupPath=%49000%\%UninstallData%
  26. PerUserInstall=PUI
  27.  
  28. [PUI]
  29. DisplayName=%DisplayDesc%
  30. ComponentID=MSVBScript
  31. GUID={4f645220-306d-11d2-995d-00c04f98bbc9} 
  32. Version="5,0,3,18"
  33. Locale=%Locale%
  34. IsInstalled=1
  35. RollbackUninstall=1
  36.  
  37. [MSIExploreDestinationSection]
  38. 49000=MSIExploreLDIDSection,5
  39.  
  40. [MSIExploreLDIDSection]
  41. HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\IEXPLORE.EXE","Path",,"%24%\%LProgramF%\%LMSIE4%"
  42.  
  43. [SourceDisksNames]
  44. 55=%DisplayDesc%,,0
  45.  
  46. [DestinationDirs]
  47. Inf.Install      =17
  48. SysDir.Files     =11
  49. SysDir.Files.NT  =11
  50. WinDir.Files     =25
  51. Command.Files    =25,Command
  52.  
  53. [SourceDisksFiles]
  54. vbscript.dll=55
  55. unie5bak.inf=55
  56. vbscript.inf=55
  57. scrrun.dll  =55
  58. cscript.exe =55
  59. wscript.exe =55
  60. wshext.dll  =55
  61. wshom.ocx   =55
  62.  
  63. [SysDir.Files]
  64. wshom.ocx,,,33
  65. wshext.dll,,,33
  66. vbscript.dll,,,33
  67. scrrun.dll,,,33
  68.  
  69. [SysDir.Files.NT]
  70. wscript.exe,,,33
  71. cscript.exe,,,33
  72.  
  73. [WinDir.Files]
  74. wscript.exe,,,33
  75.  
  76. [Command.Files]
  77. cscript.exe,,,33
  78.  
  79. [Inf.Install]
  80. unie5bak.inf
  81.  
  82. [RegisterOCX.VB]
  83. %11%\wshom.ocx
  84. %11%\wshext.dll
  85. %11%\vbscript.dll
  86. %11%\scrrun.dll
  87.  
  88. [Register.AddReg]
  89. HKLM,"%REG_WSH%\Settings","DisplayLogo",,"1"
  90. HKLM,"%REG_WSH%\Settings","ActiveDebugging",,"1"
  91. HKLM,"%REG_WSH%\Settings","SilentTerminate",,"0"
  92. HKLM,"%REG_APPROVE%","%CLSID_WSHEXT%",,"%DESC_WSHEXT%"
  93.  
  94. [AddReg.Extensions]
  95. ; .VBS
  96. HKCR, ".VBS","",,"VBSFile"
  97. HKCR, "VBSFile","",,"%DESC_DOTVBS%"
  98. HKCR, "VBSFile\DefaultIcon","",FLG_ADDREG_TYPE_EXPAND_SZ,"%25%\WScript.exe,2"
  99. HKCR, "VBSFile\ScriptEngine","",,"VBScript"
  100. HKCR, "VBSFile\Shell\Open","",,"%MENU_OPEN%"
  101. HKCR, "VBSFile\Shell\Open\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%25%\WScript.exe ""%1"" %*"
  102. HKCR, "VBSFile\Shell\Open2","",,"%MENU_DOSOPEN%"
  103. HKCR, "VBSFile\Shell\Open2\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%13%\CScript.exe ""%1"" %*"
  104. HKCR, "VBSFile\Shell\Edit","",,"%MENU_EDIT%"
  105. HKCR, "VBSFile\Shell\Edit\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%25%\Notepad.exe %1"
  106. HKCR, "VBSFile\Shell\Print","",,"%MENU_PRINT%"
  107. HKCR, "VBSFile\Shell\Print\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%25%\Notepad.exe /p %1"
  108. HKCR, "VBSFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  109. HKCR, "VBSFile\ShellEx\DropHandler","",,"%CLSID_WSHEXT%"
  110.  
  111. ; .VBE
  112. HKCR, ".VBE","",,"VBEFile"
  113. HKCR, "VBEFile","",,"%DESC_DOTVBE%"
  114. HKCR, "VBEFile\DefaultIcon","",FLG_ADDREG_TYPE_EXPAND_SZ,"%25%\WScript.exe,2"
  115. HKCR, "VBEFile\ScriptEngine","",,"VBScript.Encode"
  116. HKCR, "VBEFile\Shell\Open","",,"%MENU_OPEN%"
  117. HKCR, "VBEFile\Shell\Open\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%25%\WScript.exe ""%1"" %*"
  118. HKCR, "VBEFile\Shell\Open2","",,"%MENU_DOSOPEN%"
  119. HKCR, "VBEFile\Shell\Open2\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%13%\CScript.exe ""%1"" %*"
  120. HKCR, "VBEFile\Shell\Edit","",,"%MENU_EDIT%"
  121. HKCR, "VBEFile\Shell\Edit\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%25%\Notepad.exe %1"
  122. HKCR, "VBEFile\Shell\Print","",,"%MENU_PRINT%"
  123. HKCR, "VBEFile\Shell\Print\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%25%\Notepad.exe /p %1"
  124. HKCR, "VBEFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  125. HKCR, "VBEFile\ShellEx\DropHandler","",,"%CLSID_WSHEXT%"
  126.  
  127. ; .JS
  128. HKCR, ".JS","",,"JSFile"
  129. HKCR, "JSFile","",,"%DESC_DOTJS%"
  130. HKCR, "JSFile\DefaultIcon","",FLG_ADDREG_TYPE_EXPAND_SZ,"%25%\WScript.exe,3"
  131. HKCR, "JSFile\ScriptEngine","",,"JScript"
  132. HKCR, "JSFile\Shell\Open","",,"%MENU_OPEN%"
  133. HKCR, "JSFile\Shell\Open\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%25%\WScript.exe ""%1"" %*"
  134. HKCR, "JSFile\Shell\Open2","",,"%MENU_DOSOPEN%"
  135. HKCR, "JSFile\Shell\Open2\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%13%\CScript.exe ""%1"" %*"
  136. HKCR, "JSFile\Shell\Edit","",,"%MENU_EDIT%"
  137. HKCR, "JSFile\Shell\Edit\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%25%\Notepad.exe %1"
  138. HKCR, "JSFile\Shell\Print","",,"%MENU_PRINT%"
  139. HKCR, "JSFile\Shell\Print\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%25%\Notepad.exe /p %1"
  140. HKCR, "JSFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  141. HKCR, "JSFile\ShellEx\DropHandler","",,"%CLSID_WSHEXT%"
  142.  
  143. ; .JSE
  144. HKCR, ".JSE","",,"JSEFile"
  145. HKCR, "JSEFile","",,"%DESC_DOTJSE%"
  146. HKCR, "JSEFile\DefaultIcon","",FLG_ADDREG_TYPE_EXPAND_SZ,"%25%\WScript.exe,3"
  147. HKCR, "JSEFile\ScriptEngine","",,"JScript.Encode"
  148. HKCR, "JSEFile\Shell\Open","",,"%MENU_OPEN%"
  149. HKCR, "JSEFile\Shell\Open\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%25%\WScript.exe ""%1"" %*"
  150. HKCR, "JSEFile\Shell\Open2","",,"%MENU_DOSOPEN%"
  151. HKCR, "JSEFile\Shell\Open2\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%13%\CScript.exe ""%1"" %*"
  152. HKCR, "JSEFile\Shell\Edit","",,"%MENU_EDIT%"
  153. HKCR, "JSEFile\Shell\Edit\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%25%\Notepad.exe %1"
  154. HKCR, "JSEFile\Shell\Print","",,"%MENU_PRINT%"
  155. HKCR, "JSEFile\Shell\Print\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%25%\Notepad.exe /p %1"
  156. HKCR, "JSEFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  157. HKCR, "JSEFile\ShellEx\DropHandler","",,"%CLSID_WSHEXT%"
  158.  
  159. ; .WSF
  160. HKCR, ".WSF","",,"WSFFile"
  161. HKCR, "WSFFile","",,"%DESC_DOTWSF%"
  162. HKCR, "WSFFile\DefaultIcon","",FLG_ADDREG_TYPE_EXPAND_SZ,"%25%\WScript.exe,2"
  163. HKCR, "WSFFile\Shell\Open","",,"%MENU_OPEN%"
  164. HKCR, "WSFFile\Shell\Open\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%25%\WScript.exe ""%1"" %*"
  165. HKCR, "WSFFile\Shell\Open2","",,"%MENU_DOSOPEN%"
  166. HKCR, "WSFFile\Shell\Open2\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%13%\CScript.exe ""%1"" %*"
  167. HKCR, "WSFFile\Shell\Edit","",,"%MENU_EDIT%"
  168. HKCR, "WSFFile\Shell\Edit\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%25%\Notepad.exe %1"
  169. HKCR, "WSFFile\Shell\Print","",,"%MENU_PRINT%"
  170. HKCR, "WSFFile\Shell\Print\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%25%\Notepad.exe /p %1"
  171. HKCR, "WSFFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  172. HKCR, "WSFFile\ShellEx\DropHandler","",,"%CLSID_WSHEXT%"
  173.  
  174. [AddReg.Extensions.NT]
  175. ; .WSH
  176. HKCR, ".WSH","",,"WSHFile"
  177. HKCR, "WSHFile","",,"%DESC_DOTWSH%"
  178. HKCR, "WSHFile","IsShortcut",,"Yes"
  179. HKCR, "WSHFile\DefaultIcon","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\WScript.exe,1"
  180. HKCR, "WSHFile\Shell\Open","",,"%MENU_OPEN%"
  181. HKCR, "WSHFile\Shell\Open\Command",,FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\WScript.exe ""%1"" %*"
  182. HKCR, "WSHFile\Shell\Open2","",,"%MENU_CONOPEN%"
  183. HKCR, "WSHFile\Shell\Open2\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\CScript.exe ""%1"" %*"
  184. HKCR, "WSHFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  185. HKCR, "WSHFile\ShellEx\DropHandler","",,"%CLSID_WSHEXT%"
  186.  
  187. ; .VBS
  188. HKCR, ".VBS","",,"VBSFile"
  189. HKCR, "VBSFile","",,"%DESC_DOTVBS%"
  190. HKCR, "VBSFile\DefaultIcon","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\WScript.exe,2"
  191. HKCR, "VBSFile\ScriptEngine","",,"VBScript"
  192. HKCR, "VBSFile\Shell\Open","",,"%MENU_OPEN%"
  193. HKCR, "VBSFile\Shell\Open\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\WScript.exe ""%1"" %*"
  194. HKCR, "VBSFile\Shell\Open2","",,"%MENU_CONOPEN%"
  195. HKCR, "VBSFile\Shell\Open2\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\CScript.exe ""%1"" %*"
  196. HKCR, "VBSFile\Shell\Edit","",,"%MENU_EDIT%"
  197. HKCR, "VBSFile\Shell\Edit\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\Notepad.exe %1"
  198. HKCR, "VBSFile\Shell\Print","",,"%MENU_PRINT%"
  199. HKCR, "VBSFile\Shell\Print\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\Notepad.exe /p %1"
  200. HKCR, "VBSFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  201. HKCR, "VBSFile\ShellEx\DropHandler","",,"%CLSID_WSHEXT%"
  202.  
  203. ; .VBE
  204. HKCR, ".VBE","",,"VBEFile"
  205. HKCR, "VBEFile","",,"%DESC_DOTVBE%"
  206. HKCR, "VBEFile\DefaultIcon","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\WScript.exe,2"
  207. HKCR, "VBEFile\ScriptEngine","",,"VBScript.Encode"
  208. HKCR, "VBEFile\Shell\Open","",,"%MENU_OPEN%"
  209. HKCR, "VBEFile\Shell\Open\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\WScript.exe ""%1"" %*"
  210. HKCR, "VBEFile\Shell\Open2","",,"%MENU_CONOPEN%"
  211. HKCR, "VBEFile\Shell\Open2\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\CScript.exe ""%1"" %*"
  212. HKCR, "VBEFile\Shell\Edit","",,"%MENU_EDIT%"
  213. HKCR, "VBEFile\Shell\Edit\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\Notepad.exe %1"
  214. HKCR, "VBEFile\Shell\Print","",,"%MENU_PRINT%"
  215. HKCR, "VBEFile\Shell\Print\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\Notepad.exe /p %1"
  216. HKCR, "VBEFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  217. HKCR, "VBEFile\ShellEx\DropHandler","",,"%CLSID_WSHEXT%"
  218.  
  219. ; .JS
  220. HKCR, ".JS","",,"JSFile"
  221. HKCR, "JSFile","",,"%DESC_DOTJS%"
  222. HKCR, "JSFile\DefaultIcon","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\WScript.exe,3"
  223. HKCR, "JSFile\ScriptEngine","",,"JScript"
  224. HKCR, "JSFile\Shell\Open","",,"%MENU_OPEN%"
  225. HKCR, "JSFile\Shell\Open\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\WScript.exe ""%1"" %*"
  226. HKCR, "JSFile\Shell\Open2","",,"%MENU_CONOPEN%"
  227. HKCR, "JSFile\Shell\Open2\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\CScript.exe ""%1"" %*"
  228. HKCR, "JSFile\Shell\Edit","",,"%MENU_EDIT%"
  229. HKCR, "JSFile\Shell\Edit\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\Notepad.exe %1"
  230. HKCR, "JSFile\Shell\Print","",,"%MENU_PRINT%"
  231. HKCR, "JSFile\Shell\Print\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\Notepad.exe /p %1"
  232. HKCR, "JSFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  233. HKCR, "JSFile\ShellEx\DropHandler","",,"%CLSID_WSHEXT%"
  234.  
  235. ; .JSE
  236. HKCR, ".JSE","",,"JSEFile"
  237. HKCR, "JSEFile","",,"%DESC_DOTJSE%"
  238. HKCR, "JSEFile\DefaultIcon","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\WScript.exe,3"
  239. HKCR, "JSEFile\ScriptEngine","",,"JScript.Encode"
  240. HKCR, "JSEFile\Shell\Open","",,"%MENU_OPEN%"
  241. HKCR, "JSEFile\Shell\Open\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\WScript.exe ""%1"" %*"
  242. HKCR, "JSEFile\Shell\Open2","",,"%MENU_CONOPEN%"
  243. HKCR, "JSEFile\Shell\Open2\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\CScript.exe ""%1"" %*"
  244. HKCR, "JSEFile\Shell\Edit","",,"%MENU_EDIT%"
  245. HKCR, "JSEFile\Shell\Edit\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\Notepad.exe %1"
  246. HKCR, "JSEFile\Shell\Print","",,"%MENU_PRINT%"
  247. HKCR, "JSEFile\Shell\Print\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\Notepad.exe /p %1"
  248. HKCR, "JSEFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  249. HKCR, "JSEFile\ShellEx\DropHandler","",,"%CLSID_WSHEXT%"
  250.  
  251. ; .WSF
  252. HKCR, ".WSF","",,"WSFFile"
  253. HKCR, "WSFFile","",,"%DESC_DOTWSF%"
  254. HKCR, "WSFFile\DefaultIcon","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\WScript.exe,2"
  255. HKCR, "WSFFile\Shell\Open","",,"%MENU_OPEN%"
  256. HKCR, "WSFFile\Shell\Open\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\WScript.exe ""%1"" %*"
  257. HKCR, "WSFFile\Shell\Open2","",,"%MENU_CONOPEN%"
  258. HKCR, "WSFFile\Shell\Open2\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\CScript.exe ""%1"" %*"
  259. HKCR, "WSFFile\Shell\Edit","",,"%MENU_EDIT%"
  260. HKCR, "WSFFile\Shell\Edit\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\Notepad.exe %1"
  261. HKCR, "WSFFile\Shell\Print","",,"%MENU_PRINT%"
  262. HKCR, "WSFFile\Shell\Print\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\Notepad.exe /p %1"
  263. HKCR, "WSFFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  264. HKCR, "WSFFile\ShellEx\DropHandler","",,"%CLSID_WSHEXT%"
  265.  
  266. [!VB.Uninst.Reg]
  267. HKLM,"SoftWare\Microsoft\Windows\CurrentVersion\Uninstall\IE5BAKEX","QuietDisplayName",,%DisplayDesc%
  268. HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\IE5BAKEX","QuietUninstallString",,"rundll32 advpack.dll,LaunchINFSectionEx %17%\unie5bak.inf,,,256"
  269. HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\IE5BAKEX","RequiresIESysFile",,"5.00.2900"
  270.  
  271. [Strings]
  272. ; Unlocalizable strings
  273. REG_WSH             = "Software\Microsoft\Windows Script Host"
  274. REG_APPROVE         = "Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved"
  275. CLSID_WSHEXT        = "{60254CA5-953B-11CF-8C96-00AA00B8708C}"
  276.  
  277. ; Localizable strings
  278. LMSIE4              = "Internet Explorer"
  279. LProgramF           = "Program Files"
  280. BadSetupVer         = "Your system is missing the required Setup engine."
  281. UninstallData       = "Uninstall Information"
  282. DisplayDesc         = "Visual Basic Scripting Support"
  283. Locale              = "EN"
  284.  
  285. DESC_DOTWSH         = "Windows Script Host Settings File"
  286. DESC_DOTVBS         = "VBScript File"
  287. DESC_DOTVBE         = "VBScript Encoded File"
  288. DESC_DOTJS          = "JScript File"
  289. DESC_DOTJSE         = "JScript Encoded File"
  290. DESC_DOTWSF         = "Windows Script File"
  291. DESC_WSHEXT         = "Shell extensions for Windows Script Host"
  292.  
  293. MENU_OPEN           = "&Open"
  294. MENU_CONOPEN        = "Open &with Command Prompt"
  295. MENU_DOSOPEN        = "Open &with MS-DOS Prompt"
  296. MENU_EDIT           = "&Edit"
  297. MENU_PRINT          = "&Print"
  298.  
  299.