MAKEMSI quickly and reliably creates MSI files in a non-programmatic way
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
[Bottom][Contents][Prev]: SDK: WiLstXfm.vbs[Next]: SDK: WiMerge.vbs
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
\->Tips and Tricks->Tools->MSI (Windows Installer) Platform SDK->SDK SAMPLE MSI VB SCRIPTS->SDK: WiMakCab.vbs

WiMakCab.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".

WiMakCab.vbs -?

Windows Installer utility to generate compressed file cabinets from MSI database
 The 1st argument is the path to MSI database, at the source file root
 The 2nd argument is the base name used for the generated files (DDF, INF, RPT)
 The 3rd argument can optionally specify separate source location from the MSI
 The following options may be specified at any point on the command line
  /L to use LZX compression instead of MSZIP
  /F to limit cabinet size to 1.44 MB floppy size rather than CD
  /C to run compression, else only generates the .DDF file
  /U to update the MSI database to reference the generated cabinet
  /E to embed the cabinet file in the installer package as a stream
  /S to sequence number file table, ordered by directories
  /R to revert to non-cabinet install, removes cabinet if /E specified
 Notes:
  In order to generate a cabinet, MAKECAB.EXE must be on the PATH
  base name used for files and cabinet stream is case-sensitive
  If source type set to compressed, all files will be opened at the root
  (The /R option removes the compressed bit - SummaryInfo property 15 & 2)
  To replace an embedded cabinet, include the options: /R /C /U /E
  Does not handle updating of Media table to handle multiple cabinets

Copyright (C) Microsoft Corporation.  All rights reserved.


Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006 & 2007 for the Windows SDK (Windows Installer) area.This external link was OK when tested at 27 Dec 2008Please email me any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Prev]: SDK: WiLstXfm.vbs[Next]: SDK: WiMerge.vbs


MAKEMSI© is (C)opyright Dennis Bareis 2003-2008 (All rights reserved).
Saturday December 27 2008 at 3:15pm
Visit MAKEMSI's Home PageThis external link was OK when tested at 7 Dec 2008

HTML page dated Mon, 29 Jan 2007 00:11:11 GMT
Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006 & 2007 for the Windows SDK (Windows Installer) area.This external link was OK when tested at 27 Dec 2008