Deployment Tools Foundation
Archive Pack/Unpack Tool
Development Guide > Samples > XPack

    Usage: CabPack.exe <directory> <package.cab>
    Usage: XPack /P <archive.cab> <directory>
    Usage: XPack /P <archive.zip> <directory>

    Packs all files in a directory tree into an archive,
    using either the cab or zip format. Any existing archive
    with the same name will be overwritten.

    Usage: XPack /U <archive.cab> <directory>
    Usage: XPack /U <archive.zip> <directory>

    Unpacks all files from a cab or zip archive to the
    specified directory. Any existing files with the same
    names will be overwritten.