diff --git a/SabreTools.Serialization/Wrappers/InstallShieldCabinet.cs b/SabreTools.Serialization/Wrappers/InstallShieldCabinet.cs index d5b2da59..13734eb6 100644 --- a/SabreTools.Serialization/Wrappers/InstallShieldCabinet.cs +++ b/SabreTools.Serialization/Wrappers/InstallShieldCabinet.cs @@ -15,6 +15,26 @@ namespace SabreTools.Serialization.Wrappers #region Extension Properties + /// + /// Number of components in the cabinet set + /// + public int ComponentCount => Model.Components!.Length; + + /// + /// Number of directories in the cabinet set + /// + public ushort DirectoryCount => Model.Descriptor!.DirectoryCount; + + /// + /// Number of files in the cabinet set + /// + public uint FileCount => Model.Descriptor!.FileCount; + + /// + /// Number of file groups in the cabinet set + /// + public int FileGroupCount => Model.FileGroups!.Length; + /// /// The major version of the cabinet ///