- VBScript utility classes and documentation.
- C# classes for extending VBScript and documentation.
- Integration tests use an ultralight TestingFramework class ( code | doc ) written in VBScript.
- A VBScript statement interpreter/console.
- A dependency manager ( code | doc ).
- A Configurer class ( code | doc )
- A logger class ( code | doc ).
- A registry classes manager UI.
- An icon extractor UI.
- A startup items editor UI.
- A speech synthesis UI.
- A system tray icon proof of concept.
- A progress bar proof of concept.
- A script for keeping the computer awake while giving a presentation, with a system tray icon.
- A doc generator for the C# classes ( example code | class code | doc ) and a doc generator for the VBScript classes ( example code | class code | doc ), both based on code comments.
- More examples of .vbs and .hta scripts.
- Windows Script Component files.
Windows 11, 10, 8.1, 8, 7, Vista, ... 98.
-
Clone or download the repo. CopyToProgramFiles.vbs can be used, if desired, to make the project available to all users before running Setup.vbs.
-
Double-click Setup.vbs or type the following command in a console window. If the console does not have elevated privileges, then the User Account Control dialog will open, in order to request permission to elevate.
Setup.vbs
or for a non-interactive install, type the following command in an elevated console window:
Setup.vbs /s
This will register the Windows Script Component files, compile and register the VBScript extensions, and create the VBScripting event log source.
Uninstalling unregisters the project .dll files and .wsc files and removes the VBScripting event log source, without removing files.
From a console window, type
Uninstall.vbs
or
Setup.vbs /u
Or type
start ms-settings:appsfeatures
or
control /name Microsoft.ProgramsAndFeatures
and then select VBScripting Utility Classes and Extensions and click Uninstall.
Or for a silent uninstall type the following command from an elevated console window:
Uninstall.vbs /s
or
Setup.vbs /u /s
Note: Uninstalling does not remove files.
After a major Windows 10 version update, rerunning Setup.vbs may be required in order to reregister the project classes. A restart may be required before rerunning Setup.vbs after updating to Windows 10 version 20H2.
Links to the official online documentation:
- VBScript Fundamentals
- VBScript Language Reference
- FileSystemObject
- WshShell object
- WshScriptExec object
- Dictionary object
- Regular expressions
- WScript object
- WshArguments object
- WshNamed object
- WshEnvironment object
- WshNetwork object
- Script Components
- Windows Script Host
- StdRegProv object
- WMI Tasks for Scripts and Applications
- WQL (SQL for WMI)
- Shell object (Shell.Appliction)