Adding data to _Streams Table of MSI (Windows Installer)

Posted on 2009-12-30
Last Modified: 2013-12-12

I am explicitly adding a cabinet file to _Streams table as,

msidb.exe -d MySetup.msi -a MyCab.CAB

But I have to manually make entries to File, Component etc. tables for the files that are present in this CAB (CAB that was explicitly added as shown above). If there are 100 files, it actually kills my patience. Is there any way, any tool that will do this for me. I am looking for something that will make entries to File, Component etc. tables the moment I explicitly add CAB file.

Thanks in advance!!
Question by:milindsm
    LVL 8

    Author Comment

    LVL 5

    Accepted Solution

    You can use the Windows Installer WMI object to create your own script to manipulate an MSI:

    See for examples here:

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Join & Write a Comment

    This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
    I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
    The viewer will learn how to set up a document for the web and print and the recommended PPI for printing.
    The viewer will learn how to create multiple layers to apply various filters and how to delete areas from each layer’s filter.

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now