namespace SabreTools.Data.Models.AdvancedInstaller
{
///
/// Single entry in the file table
///
public class FileEntry
{
///
/// Unknown
///
///
/// Observed values:
/// - 00 00 00 00 (INI)
/// - 01 00 00 00 (MSI, CAB)
/// - 05 00 00 00 (DLL)
///
public uint Unknown0 { get; set; }
///
/// Unknown
///
///
/// Observed values:
/// - 00 00 00 00 (MSI)
/// - 01 00 00 00 (CAB)
/// - 03 00 00 00 (INI)
/// - 0C 00 00 00 (DLL)
///
public uint? Unknown1 { get; set; }
///
/// Unknown, always 0?
///
///
/// Observed values:
/// - 00 00 00 00 (DLL, MSI, CAB, INI)
///
public uint? Unknown2 { get; set; }
///
/// Size of the file
///
public uint FileSize { get; set; }
///
/// Offset of the file relative to the start
/// of the SFX stub
///
public uint FileOffset { get; set; }
///
/// Size of the file name in characters
///
public uint NameSize { get; set; }
///
/// Unicode-encoded file name
///
public string Name { get; set; } = string.Empty;
}
}