You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

48 lines
760 B

#ifndef INNOEXTRACT_SETUPTYPEENTRY_HPP
#define INNOEXTRACT_SETUPTYPEENTRY_HPP
#include <iostream>
#include "Version.hpp"
#include "WindowsVersion.hpp"
#include "Flags.hpp"
#include "Enum.hpp"
FLAGS(SetupTypeOptions,
CustomSetupType,
)
NAMED_ENUM(SetupTypeOptions::Enum)
struct SetupTypeEntry {
// introduced after 1.3.26
enum Type {
User,
DefaultFull,
DefaultCompact,
DefaultCustom
};
std::string name;
std::string description;
std::string languages;
std::string check;
WindowsVersion minVersion;
WindowsVersion onlyBelowVersion;
SetupTypeOptions options;
Type type;
u64 size;
void load(std::istream & is, const InnoVersion & version);
};
NAMED_ENUM(SetupTypeEntry::Type)
#endif // INNOEXTRACT_SETUPTYPEENTRY_HPP