\
Tips and Tricks
Tools
MSI (Windows Installer) Platform SDK
SDK SAMPLE MSI VB SCRIPTS
SDK: WiTextIn.vbs
| WiTextIn.vbs (SDK Sample Script) |
This is an sample VBSCRIPT installed into the "C:\Program Files\Microsoft Platform SDK\Samples\SysMgmt\Msi\Scripts" directory via the "Platform SDK".
Windows Installer utility to copy a file into a database text field.
The 1st argument is the path to the installation database
The 2nd argument is the database table name
The 3rd argument is the set of primary key values, concatenated with colons
The 4th argument is non-key column name to receive the text data
The 5th argument is the path to the text file to copy
If the 5th argument is omitted, the existing data will be listed
All primary keys values must be specified in order, separated by colons
Copyright (C) Microsoft Corporation. All rights reserved.