\
Tips and Tricks
Tools
MSI (Windows Installer) Platform SDK
SDK SAMPLE MSI VB SCRIPTS
SDK: WiFilVer.vbs
| WiFilVer.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 updata File table sizes and versions
The 1st argument is the path to MSI database, at the source file root
The 2nd argument can optionally specify separate source location from the MSI
The following options may be specified at any point on the command line
/U to update the MSI database with the file sizes, versions, and languages
/H to populate the MsiFileHash table (and create if it doesn't exist)
Notes:
If source type set to compressed, all files will be opened at the root
Using CSCRIPT.EXE without the /U option, the file info will be displayed
Using the /H option requires Windows Installer version 2.0 or greater
Using the /H option also requires the /U option
Copyright (C) Microsoft Corporation. All rights reserved.