|
|
|
|
@ -266,6 +266,16 @@ void header::load(std::istream & is, const version & version) {
|
|
|
|
|
is >> util::binary_string(architectures_allowed_expr); |
|
|
|
|
is >> util::binary_string(architectures_installed_in_64bit_mode_expr); |
|
|
|
|
} |
|
|
|
|
if(version >= INNO_VERSION(6, 4, 2)) { |
|
|
|
|
is >> util::binary_string(close_applications_filter_excludes); |
|
|
|
|
} else { |
|
|
|
|
close_applications_filter_excludes.clear(); |
|
|
|
|
} |
|
|
|
|
if(version >= INNO_VERSION(6, 5, 0)) { |
|
|
|
|
is >> util::binary_string(seven_zip_library_name); |
|
|
|
|
} else { |
|
|
|
|
seven_zip_library_name.clear(); |
|
|
|
|
} |
|
|
|
|
if(version >= INNO_VERSION(5, 2, 5)) { |
|
|
|
|
is >> util::ansi_string(license_text); |
|
|
|
|
is >> util::ansi_string(info_before); |
|
|
|
|
@ -317,7 +327,13 @@ void header::load(std::istream & is, const version & version) {
|
|
|
|
|
} else { |
|
|
|
|
task_count = 0; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// NumISSigKeyEntries was added in 6.5.0, placed before directory/file counts
|
|
|
|
|
if(version >= INNO_VERSION(6, 5, 0)) { |
|
|
|
|
// We don't use this count yet, but we need to read it to maintain stream position
|
|
|
|
|
(void)util::load<boost::uint32_t>(is); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
directory_count = util::load<boost::uint32_t>(is, version.bits()); |
|
|
|
|
file_count = util::load<boost::uint32_t>(is, version.bits()); |
|
|
|
|
data_entry_count = util::load<boost::uint32_t>(is, version.bits()); |
|
|
|
|
@ -762,6 +778,8 @@ void header::decode(util::codepage_id codepage) {
|
|
|
|
|
util::to_utf8(create_uninstall_registry_key, codepage, &lead_bytes); |
|
|
|
|
util::to_utf8(uninstallable, codepage); |
|
|
|
|
util::to_utf8(close_applications_filter, codepage); |
|
|
|
|
util::to_utf8(close_applications_filter_excludes, codepage); |
|
|
|
|
util::to_utf8(seven_zip_library_name, codepage); |
|
|
|
|
util::to_utf8(setup_mutex, codepage, &lead_bytes); |
|
|
|
|
util::to_utf8(changes_environment, codepage); |
|
|
|
|
util::to_utf8(changes_associations, codepage); |
|
|
|
|
|