-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexecinstall.h
More file actions
39 lines (35 loc) · 813 Bytes
/
execinstall.h
File metadata and controls
39 lines (35 loc) · 813 Bytes
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
#ifndef EXECINSTALL_H
#define EXECINSTALL_H
#include <QObject>
#include <QThread>
#include <QFile>
#include <QDir>
#include <QProcess>
#include <qt_windows.h>
#include <QSettings>
#include <QStandardPaths>
#include "installinfo.h"
/*!
* \brief 执行安装
*/
class execInstall : public QThread {
Q_OBJECT
public:
explicit execInstall(QObject* parent = nullptr);
signals:
void signalNowFile(const QString& file_name);
void signalDone();
void signalError(int, QString);
void signalProgress(int);
protected:
void run();
private:
bool releaseArchive(const QString &target_path);
void addVCRunTime();
void addSysInfo();
void addVoicemeeter();
// bool load7zData();
// void* ar7z_data_ = nullptr;
// uint ar7z_size_ = 0;
};
#endif // EXECINSTALL_H