C# | Visual Basic | Visual C++ |
public void Consolidate( string mediaCabinet )
Public Sub Consolidate ( mediaCabinet As String )
public: void Consolidate( String^ mediaCabinet )
- mediaCabinet (String)
This method will also convert a package with all or mostly uncompressed files into a package where all files are compressed.
If the package contains any not-yet-applied binary file patches (for example, a package generated by a call to ApplyPatch(PatchPackage, String)) then this method will apply the patches before compressing the updated files.
This method edits the database summary information and the File, Media and Patch tables as necessary to maintain a valid installation package.
The cabinet compression level used during re-cabbing can be configured with the CompressionLevel property.
Assembly: Microsoft.Deployment.WindowsInstaller.Package (Module: Microsoft.Deployment.WindowsInstaller.Package.dll) Version: 3.0.0.0 (3.9.1006.0)