Skip to content

Commit

Permalink
Declare support for Inno Setup 5.5.9
Browse files Browse the repository at this point in the history
Data version is still 5.5.7, however new compiler-only flags have been
added to data entries. Fortunately these do no change the size of the
flags field.
  • Loading branch information
dscharrer committed Apr 10, 2016
1 parent 678a9aa commit 13ae02f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
innoextract 1.7-dev

Known working Inno Setup versions:
Inno Setup 1.2.10 to 5.5.8
Inno Setup 1.2.10 to 5.5.9

Bug tracker:
http://innoextract.constexpr.org/issues
7 changes: 7 additions & 0 deletions src/setup/data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,11 @@ void data_entry::load(std::istream & is, const version & version) {
if(version >= INNO_VERSION(5, 1, 13)) {
flagreader.add(SolidBreak);
}
if(version >= INNO_VERSION(5, 5, 7)) {
// Actually added in Inno Setup 5.5.9 but the data version was not bumped
flagreader.add(Sign);
flagreader.add(SignOnce);
}

options |= flagreader;

Expand Down Expand Up @@ -184,5 +189,7 @@ NAMES(setup::data_entry::flags, "File Location Option",
"chunk encrypted",
"chunk compressed",
"solid break",
"sign",
"sign once",
"bzipped",
)
2 changes: 2 additions & 0 deletions src/setup/data.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ struct data_entry {
ChunkEncrypted,
ChunkCompressed,
SolidBreak,
Sign,
SignOnce,

// obsolete:
BZipped
Expand Down

0 comments on commit 13ae02f

Please sign in to comment.