-
Notifications
You must be signed in to change notification settings - Fork 0
/
Setup.h
171 lines (159 loc) · 5.22 KB
/
Setup.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
#ifndef CSETUP_H
#define CSETUP_H
#include <wx/string.h>
#include <wx/textfile.h>
extern const wchar_t* compression[];
extern const wchar_t* backColor[];
extern const wchar_t* backColor2[];
inline wxString bool2string( bool var)
{
return (var ? _T("yes") : _T("no"));
}
class CSetup
{
public:
CSetup( void);
CSetup( wxString AppName, wxString AppVersion);
virtual ~CSetup( void);
void WriteInFile( wxTextFile* File);
void Set( wxString AppName, wxString AppVersion);
void SetOutput( wxString outputBaseFilename, wxString outputDir = _T("."));
void SetCompression( wxString compression, wxString compressionThreads = _T("auto"));
void SetSolidCompression( bool solid);
void SetGroupName( wxString groupName);
void SetPrivileges( wxString privilegesRequired);
void SetChangeAssociations( bool change);
void SetAlwaysUsePersonalGroup( bool Always);
void SetPublisher( wxString publisher);
void SetWebseite( wxString webseite);
void SetDefaultDirName( wxString dirName);
void SetDisableDirPage( bool disable);
void SetCreateAppDir( bool create);
void SetAllowNoIcons( bool allow);
void SetLicenseFile( wxString license);
void SetInfoBefor( wxString info);
void SetInfoAfter( wxString info);
void SetIconFile( wxString icon);
void SetPassword( wxString pass);
void SetAppVerName( wxString name);
void SetAppId( );
wxString GetAppName( void);
wxString GetAppVersion( void);
wxString GetPublisherURL( void);
protected:
wxString m_Compression;
wxString m_CompressionThreads;
wxString m_DiskClusterSize;
wxString m_DiskSliceSize;
wxString m_DiskSpanning;
wxString m_Encryption;
wxString m_InternalCompressLevel;
wxString m_MergeDuplicateFiles;
wxString m_OutputBaseFilename;
wxString m_OutputDir;
wxString m_OutputManifestFile;
wxString m_ReserveBytes;
wxString m_SignedUninstallerDir;
wxString m_SignTool;
wxString m_SlicesPerDisk;
wxString m_SolidCompression;
wxString m_SourceDir;
wxString m_TerminalServicesAware;
wxString m_UseSetupLdr;
wxString m_AllowCancelDuringInstall;
wxString m_AllowNoIcons;
wxString m_AllowRootDirectory;
wxString m_AllowUNCPath;
wxString m_AlwaysRestart;
wxString m_AlwaysShowComponentsList;
wxString m_AlwaysShowDirOnReadyPage;
wxString m_AlwaysShowGroupOnReadyPage;
wxString m_AlwaysUsePersonalGroup;
wxString m_AppendDefaultDirName;
wxString m_AppendDefaultGroupName;
wxString m_AppComments;
wxString m_AppContact;
wxString m_AppId;
wxString m_AppModifyPath;
wxString m_AppMutex;
wxString m_AppName;
wxString m_AppPublisher;
wxString m_AppPublisherURL;
wxString m_AppReadmeFile;
wxString m_AppSupportPhone;
wxString m_AppSupportURL;
wxString m_AppUpdatesURL;
wxString m_AppVerName;
wxString m_AppVersion;
wxString m_ArchitecturesAllowed;
wxString m_ArchitecturesInstallIn64BitMode;
wxString m_ChangesAssociations;
wxString m_ChangesEnvironment;
wxString m_CreateAppDir;
wxString m_CreateUninstallRegKey;
wxString m_DefaultDialogFontName;
wxString m_DefaultDirName;
wxString m_DefaultGroupName;
wxString m_DefaultUserInfoName;
wxString m_DefaultUserInfoOrg;
wxString m_DefaultUserInfoSerial;
wxString m_DirExistsWarning;
wxString m_DisableDirPage;
wxString m_DisableFinishedPage;
wxString m_DisableProgramGroupPage;
wxString m_DisableReadyMemo;
wxString m_DisableReadyPage;
wxString m_DisableStartupPrompt;
wxString m_DisableWelcomePage;
wxString m_EnableDirDoesntExistWarning;
wxString m_ExtraDiskSpaceRequired;
wxString m_InfoAfterFile;
wxString m_InfoBeforeFile;
wxString m_LanguageDetectionMethod;
wxString m_LicenseFile;
wxString m_MinVersion;
wxString m_OnlyBelowVersion;
wxString m_Password;
wxString m_PrivilegesRequired;
wxString m_RestartIfNeededByRun;
wxString m_SetupLogging;
wxString m_ShowLanguageDialog;
wxString m_ShowUndisplayableLanguages;
wxString m_TimeStampRounding;
wxString m_TimeStampsInUTC;
wxString m_TouchDate;
wxString m_TouchTime;
wxString m_Uninstallable;
wxString m_UninstallDisplayIcon;
wxString m_UninstallDisplayName;
wxString m_UninstallDisplaySize;
wxString m_UninstallFilesDir;
wxString m_UninstallLogMode;
wxString m_UninstallRestartComputer;
wxString m_UpdateUninstallLogAppName;
wxString m_UsePreviousAppDir;
wxString m_UsePreviousGroup;
wxString m_UsePreviousLanguage;
wxString m_UsePreviousSetupType;
wxString m_UsePreviousTasks;
wxString m_UsePreviousUserInfo;
wxString m_UserInfoPage;
wxString m_AppCopyright;
wxString m_BackColor;
wxString m_BackColor2;
wxString m_BackColorDirection;
wxString m_BackSolid;
wxString m_FlatComponentsList;
wxString m_SetupIconFile;
wxString m_ShowComponentSizes;
wxString m_ShowTasksTreeLines;
wxString m_WindowShowCaption;
wxString m_WindowStartMaximized;
wxString m_WindowResizable;
wxString m_WindowVisible;
wxString m_WizardImageBackColor;
wxString m_WizardImageFile;
wxString m_WizardImageStretch;
wxString m_WizardSmallImageFile;
};
#endif // CSETUP_H