diff --git a/SabreTools.Serialization/Wrappers/InstallShieldCabinet.cs b/SabreTools.Serialization/Wrappers/InstallShieldCabinet.cs
index 13734eb6..941410ae 100644
--- a/SabreTools.Serialization/Wrappers/InstallShieldCabinet.cs
+++ b/SabreTools.Serialization/Wrappers/InstallShieldCabinet.cs
@@ -18,22 +18,22 @@ namespace SabreTools.Serialization.Wrappers
///
/// Number of components in the cabinet set
///
- public int ComponentCount => Model.Components!.Length;
+ public int ComponentCount => Model.Components?.Length ?? 0;
///
/// Number of directories in the cabinet set
///
- public ushort DirectoryCount => Model.Descriptor!.DirectoryCount;
+ public ushort DirectoryCount => Model.Descriptor?.DirectoryCount ?? 0;
///
/// Number of files in the cabinet set
///
- public uint FileCount => Model.Descriptor!.FileCount;
+ public uint FileCount => Model.Descriptor?.FileCount ?? 0;
///
/// Number of file groups in the cabinet set
///
- public int FileGroupCount => Model.FileGroups!.Length;
+ public int FileGroupCount => Model.FileGroups?.Length ?? 0;
///
/// The major version of the cabinet