void registry_entry::load(std::istream & is, const version & version) { if(version < INNO_VERSION(1, 3, 21)) { (void)util::load<boost::uint32_t>(is); // uncompressed size of the entry } is >> util::encoded_string(key, version.codepage()); if(version.bits != 16) { is >> util::encoded_string(name, version.codepage()); } else {
void run_entry::load(std::istream & is, const version & version) { if(version < INNO_VERSION(1, 3, 21)) { ::load<uint32_t>(is); // uncompressed size of the directory entry structure } is >> encoded_string(name, version.codepage()); is >> encoded_string(parameters, version.codepage()); is >> encoded_string(working_dir, version.codepage()); if(version >= INNO_VERSION(1, 3, 21)) { is >> encoded_string(run_once_id, version.codepage()); } else {
void header::load(std::istream & is, const version & version) { options = 0; if(version < INNO_VERSION(1, 3, 21)) { (void)util::load<boost::uint32_t>(is); // uncompressed size of the setup header } is >> util::encoded_string(app_name, version.codepage()); is >> util::encoded_string(app_versioned_name, version.codepage()); if(version >= INNO_VERSION(1, 3, 21)) { is >> util::encoded_string(app_id, version.codepage()); }
void ini_entry::load(std::istream & is, const version & version) { if(version < INNO_VERSION(1, 3, 21)) { ::load<uint32_t>(is); // uncompressed size of the ini entry structure } is >> encoded_string(inifile, version.codepage()); if(inifile.empty()) { inifile = "{windows}/WIN.INI"; } is >> encoded_string(section, version.codepage()); is >> encoded_string(key, version.codepage()); is >> encoded_string(value, version.codepage()); load_condition_data(is, version); load_version_data(is, version); if(version.bits != 16) { options = stored_flags<stored_ini_flags>(is).get(); } else { options = stored_flags<stored_ini_flags, 16>(is).get(); } }