Package Installation

Example 11-1 shows the script runinst.vbs, which I use to install the packages in the subfolders of $OEM$\$$\APPS. The script runinst.vbs is on this book’s companion CD in the Scripts folder (because the lines in Example 11-1 wrap, making it difficult to retype, I recommend that you copy the script from the CD). It accepts a single command-line option: the folder containing the packages you want to install. This script launches all of the packages that the folder contains, and it can launch different types of package files, including files with the extensions .exe, .msi, .bat, .js, .vbs, .reg, and .inf. It waits to launch a Windows Installer setup database if Windows Installer is already running because you can install only ...

Get Microsoft® Windows® Desktop Deployment Resource Kit now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.