23 #ifndef DOOMSEEKER_UPDATER_UPDATEINSTALLER_H 24 #define DOOMSEEKER_UPDATER_UPDATEINSTALLER_H 40 PEC_UnableToReadUpdateScript = 1,
41 PEC_NoInstallationDirectorySpecified = 2,
42 PEC_UnableToDeterminePathOfUpdater = 3,
43 PEC_GeneralFailure = 10000
52 EC_UpdatePackageMissing,
53 EC_ProcessStartFailure
56 static QString errorCodeToStr(
ErrorCode code);
85 QString copyUpdaterExecutableToTemporarySpace();
86 QString getPercentEncodedCurrentProcessArgs();
87 bool startUpdaterProcess(
const QString &packagesDir,
const QString &scriptFilePath);
ProcessErrorCode
"--update-failed" values.
ErrorCode startInstallation()
Starts update process.