Install New Applications with The WMI

Category:
System/API
Type:
Snippets
Difficulty:
Beginning
Author:
Anonymous

Version Compatibility: Visual Basic 6, Visual Basic Script

More information:
You can use this script to install applications on a given PC. This can be placed in the startup scripts and run based on certain criteria or even executed remotely for remote administration.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: