2025-10-23 15:38:51 -04:00
|
|
|
namespace SabreTools.Data.Models.InstallShieldExecutable
|
|
|
|
|
{
|
2026-01-25 13:36:17 -05:00
|
|
|
/// <summary>
|
|
|
|
|
/// Set of attributes for each fileEntry in an InstallShield Executable
|
|
|
|
|
/// </summary>
|
2025-10-23 16:05:12 -04:00
|
|
|
public class FileEntry
|
2025-10-23 15:38:51 -04:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
2025-10-23 16:05:12 -04:00
|
|
|
/// Name of the file
|
2025-10-23 15:38:51 -04:00
|
|
|
/// </summary>
|
2025-10-23 16:05:12 -04:00
|
|
|
/// <remarks>May only contain ASCII (7-bit) characters</remarks>
|
2025-10-31 13:59:28 -04:00
|
|
|
public string Name { get; set; } = string.Empty;
|
2025-10-23 15:38:51 -04:00
|
|
|
|
|
|
|
|
/// <summary>
|
2025-10-23 16:05:12 -04:00
|
|
|
/// Path of the file, seems to usually use \ filepaths
|
2025-10-23 15:38:51 -04:00
|
|
|
/// </summary>
|
2025-10-23 16:05:12 -04:00
|
|
|
/// <remarks>May only contain ASCII (7-bit) characters</remarks>
|
2025-10-31 13:59:28 -04:00
|
|
|
public string Path { get; set; } = string.Empty;
|
2025-10-23 15:38:51 -04:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Version of the file
|
|
|
|
|
/// </summary>
|
2025-10-23 16:05:12 -04:00
|
|
|
/// <remarks>May only contain ASCII (7-bit) characters</remarks>
|
2025-10-31 13:59:28 -04:00
|
|
|
public string Version { get; set; } = string.Empty;
|
2025-10-23 15:38:51 -04:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Length of the file. Stored in the installshield executable as a string.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ulong Length { get; set; }
|
2026-01-25 13:38:52 -05:00
|
|
|
|
2026-01-25 13:36:17 -05:00
|
|
|
/// <summary>
|
|
|
|
|
/// Offset of the file.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <remarks>This is not stored in the installshield executable, but it needs to be stored here for extraction.</remarks>
|
|
|
|
|
public long Offset { get; set; }
|
2025-10-23 15:38:51 -04:00
|
|
|
}
|
2025-10-23 16:05:12 -04:00
|
|
|
}
|