pub struct FileEntry {Show 21 fields
pub source: String,
pub destination: String,
pub install_font_name: String,
pub strong_assembly_name: String,
pub item: ItemBase,
pub excludes: String,
pub download_iss_sig_source: String,
pub download_user_name: String,
pub download_password: String,
pub extract_archive_password: String,
pub verification: FileVerification,
pub location_index: u32,
pub attributes: u32,
pub external_size: u64,
pub permission_index: i16,
pub bitness: Option<Bitness>,
pub bitness_raw: u8,
pub flags: HashSet<FileFlag>,
pub options_raw: Vec<u8>,
pub file_type: Option<FileEntryType>,
pub file_type_raw: u8,
}Expand description
Parsed TSetupFileEntry.
Fields§
§source: StringSource: directive — path on the build machine where the
file came from (with Inno constants like {tmp}).
destination: StringDestName: directive — installation path.
install_font_name: StringFontInstall: directive — empty unless this is a font.
strong_assembly_name: StringStrongAssemblyName: directive (5.2.5+).
item: ItemBaseShared conditions + Windows version range.
excludes: StringExcludes: directive (6.5.0+) — empty on older versions.
download_iss_sig_source: StringDownloadISSigSource: directive (6.5.0+).
download_user_name: StringDownloadUserName: directive (6.5.0+).
download_password: StringDownloadPassword: directive (6.5.0+).
extract_archive_password: StringExtractArchivePassword: directive (6.5.0+).
verification: FileVerificationVerification field (6.5.0+). Empty
FileVerification::iss_sig_allowed_keys etc. on older versions.
location_index: u32Index into the file-location list (block-2 data_entries).
attributes: u32Win32 file attributes mask.
external_size: u64ExternalSize: (Source: external directive). 0 for embedded
files.
permission_index: i16Index into crate::InnoInstaller::permissions; -1 =
no entry. 4.1.0+.
bitness: Option<Bitness>Bitness enum (6.7.0+; replaces the Bits32/Bits64 flag
bits). On older versions the field stays None.
bitness_raw: u8Raw bitness byte (or 0 when absent).
flags: HashSet<FileFlag>Decoded options. May include synthetic
FileFlag::PromptIfOlder / FileFlag::IgnoreVersion /
FileFlag::OnlyIfDoesntExist derived from the pre-3.0.5
CopyMode byte; raw bits are still in Self::options_raw.
options_raw: Vec<u8>Raw Options bytes.
file_type: Option<FileEntryType>FileType: enum.
file_type_raw: u8Raw file-type byte.