home *** CD-ROM | disk | FTP | other *** search
- ;;; Windows Scripting Host Setup Information File
- ;;; Copyright (c) 1996-1997 Microsoft Corporation
- ;;; 97/09/29 15:17:02 (X86 0531 EN WEB)
- ;;;
-
- [Version]
- Signature = "$Chicago$"
- AdvancedINF=2.0
-
- [DefaultInstall]
- Copyfiles = Copy.CScript, Copy.WScript, Copy.OCX, Copy.Inf, Copy.Help, Copy.Samples, Copy.Engines
- AddReg = AddReg.WSH, AddReg.Extensions, AddReg.Uninstall
- RegisterOCXs = RegOCX.WSH
-
- [Uninstall]
- DelFiles = Copy.CScript, Copy.WScript, Copy.OCX, Copy.Inf, Copy.Help, Copy.Samples
- DelReg = DelReg.WSH, DelReg.Extensions, DelReg.Uninstall
- UnRegisterOCXs = UnRegOCX.WSH
-
- [DefaultInstall.NT]
- Copyfiles = Copy.CScript.NT, Copy.WScript.NT, Copy.OCX, Copy.Inf, Copy.Help, Copy.Samples, Copy.Engines
- AddReg = AddReg.WSH, AddReg.Extensions.NT, AddReg.Uninstall.NT
- RegisterOCXs = RegOCX.WSH
-
-
- [Uninstall.NT]
- DelFiles = Copy.CScript.NT, Copy.WScript.NT, Copy.OCX, Copy.Inf, Copy.Help, Copy.Samples
- DelReg = DelReg.WSH, DelReg.Extensions, DelReg.Uninstall
- UnRegisterOCXs = UnRegOCX.WSH
-
-
- [DestinationDirs]
- Copy.Inf = 17 ; %WinDir%\Inf
- Copy.OCX = 11 ; %WinDir%\system
- Copy.Help = 18 ; %WinDir%\Help
- Copy.Samples = 25, "Samples\WSH" ; %WinDir%\Samples\WSH
- Copy.CScript = 13 ; %WinDir%\Command
- Copy.WScript = 25 ; %WinDir%
- Copy.CScript.NT = 11 ; %WinDir%\System32
- Copy.WScript.NT = 11 ; %WinDir%\System32
- Copy.Engines = 11 ; %WinDir%\System32
-
- [Copy.CScript.NT]
- cscript.exe
-
- [Copy.WScript.NT]
- wscript.exe
-
- [Copy.Engines]
- vbscript.dll
- jscript.dll
- scrrun.dll
- ;dispex.dll
-
- [Copy.CScript]
- cscript.exe
-
- [Copy.WScript]
- wscript.exe
-
- [Copy.OCX]
- wshom.ocx
- wshext.dll
-
- [Copy.Inf]
- wsh.inf
-
- [Copy.Help]
- wscript.hlp
-
- [Copy.Samples]
- chart.vbs
- excel.vbs
- network.vbs
- registry.vbs
- shortcut.vbs
- showvar.vbs
-
- chart.js
- excel.js
- network.js
- registry.js
- shortcut.js
-
-
-
- [SourceDisksNames]
- 1="%DESC_DISKS%","wsh.cab",1
-
- [SourceDisksFiles]
- wsh.inf = 1
- wscript.hlp = 1
-
- wscript.exe = 1
- cscript.exe = 1
- wshom.ocx = 1
- wshext.dll = 1
-
- chart.vbs = 1
- excel.vbs = 1
- network.vbs = 1
- registry.vbs = 1
- shortcut.vbs = 1
- showvar.vbs = 1
-
- chart.js = 1
- excel.js = 1
- network.js = 1
- registry.js = 1
- shortcut.js = 1
-
- vbscript.dll = 1
- jscript.dll = 1
- scrrun.dll = 1
- ;dispex.dll = 1
- ;;;
- ;;; Add WSH registry entries
- ;;;
- [AddReg.WSH]
- HKLM, "%REG_WSH%\Settings","DisplayLogo",,"1"
-
- ; Shell Extension
- HKLM, "%REG_APPROVE%","%CLSID_WSHEXT%",,"%DESC_WSHEXT%"
-
- [RegOCX.WSH]
- %11%\wshom.ocx
- %11%\wshext.dll
- %11%\vbscript.dll
- %11%\jscript.dll
- %11%\scrrun.dll
- ;%11%\dispex.dll
-
- [AddReg.Extensions]
- ; .WSH
- HKCR, ".WSH","",,"WSHFile"
- HKCR, "WSHFile","",,"%DESC_DOTWSH%"
- HKCR, "WSHFile","IsShortcut",,"Yes"
- HKCR, "WSHFile\DefaultIcon","",,"%25%\WScript.exe,1"
- HKCR, "WSHFile\Shell\Open","",,"%MENU_OPEN%"
- HKCR, "WSHFile\Shell\Open\Command",,,"%25%\WScript.exe ""%1"" %*"
- HKCR, "WSHFile\Shell\Open2","",,"%MENU_DOSOPEN%"
- HKCR, "WSHFile\Shell\Open2\Command","",,"%13%\CScript.exe ""%1"" %*"
- HKCR, "WSHFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
-
- ; .VBS
- HKCR, ".VBS","",,"VBSFile"
- HKCR, "VBSFile","",,"%DESC_DOTVBS%"
- HKCR, "VBSFile\DefaultIcon","",,"%25%\WScript.exe,2"
- HKCR, "VBSFile\ScriptEngine","",,"VBScript"
- HKCR, "VBSFile\Shell\Open","",,"%MENU_OPEN%"
- HKCR, "VBSFile\Shell\Open\Command","",,"%25%\WScript.exe ""%1"" %*"
- HKCR, "VBSFile\Shell\Open2","",,"%MENU_DOSOPEN%"
- HKCR, "VBSFile\Shell\Open2\Command","",,"%13%\CScript.exe ""%1"" %*"
- HKCR, "VBSFile\Shell\Edit","",,"%MENU_EDIT%"
- HKCR, "VBSFile\Shell\Edit\Command","",,"%25%\Notepad.exe %1"
- HKCR, "VBSFile\Shell\Print","",,"%MENU_PRINT%"
- HKCR, "VBSFile\Shell\Print\Command","",,"%25%\Notepad.exe /p %1"
- HKCR, "VBSFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
-
- ; .JS
- HKCR, ".JS","",,"JSFile"
- HKCR, "JSFile","",,"%DESC_DOTJS%"
- HKCR, "JSFile\DefaultIcon","",,"%25%\WScript.exe,3"
- HKCR, "JSFile\ScriptEngine","",,"JScript"
- HKCR, "JSFile\Shell\Open","",,"%MENU_OPEN%"
- HKCR, "JSFile\Shell\Open\Command","",,"%25%\WScript.exe ""%1"" %*"
- HKCR, "JSFile\Shell\Open2","",,"%MENU_DOSOPEN%"
- HKCR, "JSFile\Shell\Open2\Command","",,"%13%\CScript.exe ""%1"" %*"
- HKCR, "JSFile\Shell\Edit","",,"%MENU_EDIT%"
- HKCR, "JSFile\Shell\Edit\Command","",,"%25%\Notepad.exe %1"
- HKCR, "JSFile\Shell\Print","",,"%MENU_PRINT%"
- HKCR, "JSFile\Shell\Print\Command","",,"%25%\Notepad.exe /p %1"
- HKCR, "JSFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
-
- [AddReg.Extensions.NT]
- ; .WSH
- HKCR, ".WSH","",,"WSHFile"
- HKCR, "WSHFile","",,"%DESC_DOTWSH%"
- HKCR, "WSHFile","IsShortcut",,"Yes"
- HKCR, "WSHFile\DefaultIcon","",,"%11%\WScript.exe,1"
- HKCR, "WSHFile\Shell\Open","",,"%MENU_OPEN%"
- HKCR, "WSHFile\Shell\Open\Command",,,"%11%\WScript.exe ""%1"" %*"
- HKCR, "WSHFile\Shell\Open2","",,"%MENU_CONOPEN%"
- HKCR, "WSHFile\Shell\Open2\Command","",,"%11%\CScript.exe ""%1"" %*"
- HKCR, "WSHFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
-
- ; .VBS
- HKCR, ".VBS","",,"VBSFile"
- HKCR, "VBSFile","",,"%DESC_DOTVBS%"
- HKCR, "VBSFile\DefaultIcon","",,"%11%\WScript.exe,2"
- HKCR, "VBSFile\ScriptEngine","",,"VBScript"
- HKCR, "VBSFile\Shell\Open","",,"%MENU_OPEN%"
- HKCR, "VBSFile\Shell\Open\Command","",,"%11%\WScript.exe ""%1"" %*"
- HKCR, "VBSFile\Shell\Open2","",,"%MENU_CONOPEN%"
- HKCR, "VBSFile\Shell\Open2\Command","",,"%11%\CScript.exe ""%1"" %*"
- HKCR, "VBSFile\Shell\Edit","",,"%MENU_EDIT%"
- HKCR, "VBSFile\Shell\Edit\Command","",,"%11%\Notepad.exe %1"
- HKCR, "VBSFile\Shell\Print","",,"%MENU_PRINT%"
- HKCR, "VBSFile\Shell\Print\Command","",,"%11%\Notepad.exe /p %1"
- HKCR, "VBSFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
-
- ; .JS
- HKCR, ".JS","",,"JSFile"
- HKCR, "JSFile","",,"%DESC_DOTJS%"
- HKCR, "JSFile\DefaultIcon","",,"%11%\WScript.exe,3"
- HKCR, "JSFile\ScriptEngine","",,"JScript"
- HKCR, "JSFile\Shell\Open","",,"%MENU_OPEN%"
- HKCR, "JSFile\Shell\Open\Command","",,"%11%\WScript.exe ""%1"" %*"
- HKCR, "JSFile\Shell\Open2","",,"%MENU_CONOPEN%"
- HKCR, "JSFile\Shell\Open2\Command","",,"%11%\CScript.exe ""%1"" %*"
- HKCR, "JSFile\Shell\Edit","",,"%MENU_EDIT%"
- HKCR, "JSFile\Shell\Edit\Command","",,"%11%\Notepad.exe %1"
- HKCR, "JSFile\Shell\Print","",,"%MENU_PRINT%"
- HKCR, "JSFile\Shell\Print\Command","",,"%11%\Notepad.exe /p %1"
- HKCR, "JSFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
-
- ;;;
- ;;; Uninstall
- ;;; Called by: [DefaultInstall]
- ;;;
- [AddReg.Uninstall]
- HKLM, "%REG_UNINSTALL%","DisplayName",,"%DISP_WSH%"
- HKLM, "%REG_UNINSTALL%","UninstallString",,"rundll32 advpack.dll,LaunchINFSection %17%\wsh.inf,Uninstall"
-
- [AddReg.Uninstall.NT]
- HKLM, "%REG_UNINSTALL%","DisplayName",,"%DISP_WSH%"
- HKLM, "%REG_UNINSTALL%","UninstallString",,"rundll32 advpack.dll,LaunchINFSection %17%\wsh.inf,Uninstall.NT"
-
- [DelReg.Uninstall]
- HKLM, "%REG_UNINSTALL%"
-
- ;;;
- ;;; Uninstallation
- ;;; Called by [Uninstall]
- ;;;
- [DelReg.WSH]
- HKLM, "%REG_WSH%"
-
- HKCU, "%REG_WSH%"
- HKCR, ".VBS"
- HKCR, "VBSFile"
-
- HKCR, ".JS"
- HKCR, "JSFile"
-
- HKCR, ".WSH"
- HKCR, "WSHFile"
-
- HKLM, "%REG_APPROVE%","%CLSID_WSHEXT%"
-
- ;;;
- ;;; Unregister OCXs
- ;;; Called by [Uninstall]
- ;;;
- [UnRegOCX.WSH]
- %11%\wshom.ocx
- %11%\wshext.dll
-
-
- [Strings]
- ; Unlocalizable strings
- REG_WSH = "Software\Microsoft\Windows Scripting Host"
- REG_APPROVE = "Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved"
- REG_UNINSTALL = "Software\Microsoft\Windows\CurrentVersion\Uninstall\WindowsScriptingHost"
- CLSID_WSHEXT = "{60254CA5-953B-11CF-8C96-00AA00B8708C}"
-
- ; Localizable strings
- DISP_WSH = "Microsoft Windows Scripting Host"
- DESC_WSH = "Windows Scripting Host"
- DESC_DISKS = "Windows Scripting Host Files"
- TIPS_WSH = "Write scripts to help automate tasks in Windows"
-
- DESC_DOTWSH = "Windows Scripting Host Settings File"
- DESC_DOTVBS = "VBScript Script File"
- DESC_DOTJS = "JScript Script File"
-
- DESC_WSHEXT = "Shell extensions for Windows Scripting Host"
-
- DESC_WSHOMLIB = "Microsoft Windows Scripting Host Object Model (V1.0)"
- DESC_WSHSHELL = "Windows Scripting Host Shell Object"
- DESC_WSHNETWORK = "Windows Scripting Host Network Object"
-
- MENU_OPEN = "&Open"
- MENU_CONOPEN = "Open &with Command Prompt"
- MENU_DOSOPEN = "Open &with MS-DOS Prompt"
- MENU_EDIT = "&Edit"
- MENU_PRINT = "&Print"
-
-