Sunteți pe pagina 1din 1

Copyright (c) Microsoft Corporation. All rights reserved.

Windows Installer utility scripts for use with Windows Scripting Host WiLstPrd.vbs WiImport.vbs WiExport.vbs WiSubStg.vbs WiStream.vbs WiMerge.vbs WiGenXfm.vbs WiUseXfm.vbs WiLstXfm.vbs WiDiffDb.vbs WiLstScr.vbs WiSumInf.vbs WiPolicy.vbs WiLangId.vbs WiToAnsi.vbs WiFilVer.vbs WiMakCab.vbs WiRunSQL.vbs WiTextIn.vbs WiCompon.vbs WiFeatur.vbs WiDialog.vbs lists products, product properties, features, and components imports files to an MSI database exports files from an MSI database adds a transform or nested MSI as a substorage adds an external stream to a MSI package (e.g CAB file) merges two MSI databases generates a transform from two databases, or compares them applies a transform to an MSI database lists an MSI transform file (CSCRIPT only) lists the differences between two databases (CSCRIPT only) lists an installer script file (CSCRIPT only) displays and updates summary information stream manages installer policy settings reports and updates the language and codepage of a package copies a Unicode text file to the same or a new Ansi text file updates File table sizes and versions from source file tree generates compressed file cabinets and updates package executes SQL statements against an installer database copies an ANSI text file into a database string column value lists components and their composition in an installer database lists features and their composition in an installer database previews all or specified dialogs in an installer database

All scripts display help screens describing their command line arguments, either if the first argument contains a ?, or if too few arguments are given. Scripts return a value of 0 for success, 1 if help invoked, or 2 if failure. Windows Scripting Host is actually two hosts, use //? to obtain help: Cscript.exe displays to standard out - useful for batch files and build scripts Wscript.exe displays the output in a window - the default for extension .VBS When run from a Win NT DOS box, only the base name needs to be specified, and if the tools are on the PATH, then they will be found like EXE or BAT files. To redirect output to a file, you must use Cscript {scriptname}.VBS > {file}. To download and install Windows Scripting Host (not required for Windows2000): http://msdn.microsoft.com/scripting/windowshost/download/default.htm To download and update Windows scripting engines: http://msdn.microsoft.com/scripting/vbscript/download/vbsdown.htm or http://www.microsoft.com/msdownload/vbscript/scripting.asp The utility makecab.exe is located in the Windows Installer SDK at \Patching\makecab.exe. For more information about these samples, see the section "Windows Installer Scripting Examples" in the Windows Installer help files.

S-ar putea să vă placă și