C# | Visual Basic | Visual C++ | F# |
public void Consolidate( string mediaCabinet )
Public Sub Consolidate ( mediaCabinet As String )
public: void Consolidate( String^ mediaCabinet )
member Consolidate : mediaCabinet : string -> unit
- 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.11.1.2318)