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.
 
 

49 lines
859 B

#ifndef INNOEXTRACT_SETUP_SETUPCOMPONENTENTRY_HPP
#define INNOEXTRACT_SETUP_SETUPCOMPONENTENTRY_HPP
#include <iostream>
#include "setup/Version.hpp"
#include "setup/WindowsVersion.hpp"
#include "util/Enum.hpp"
#include "util/Flags.hpp"
FLAGS(SetupComponentOptions,
coFixed,
coRestart,
coDisableNoUninstallWarning,
coExclusive,
coDontInheritCheck,
)
NAMED_ENUM(SetupComponentOptions::Enum)
struct SetupComponentEntry {
// introduced after 1.3.26
std::string name;
std::string description;
std::string types;
std::string languages;
std::string check;
u64 extraDiskSpaceRequired;
int level;
bool used;
WindowsVersion minVersion;
WindowsVersion onlyBelowVersion;
SetupComponentOptions options;
u64 size;
void load(std::istream & is, const InnoVersion & version);
};
#endif // INNOEXTRACT_SETUP_SETUPCOMPONENTENTRY_HPP