Beispiel #1
0
        public UpdaterData(string fileName, UpdaterDataTypeFormat updaterDataType, Checksum checksum, bool mandatory, string downloadURL, Version version, string changelogURL, string commandlineArguments)
        {
            FileName             = fileName;
            UpdaterDataType      = updaterDataType;
            Version              = version;
            DownloadURL          = downloadURL;
            ChangelogURL         = changelogURL;
            Mandatory            = mandatory;
            Checksum             = checksum;
            CommandLineArguments = commandlineArguments;
            CreationTime         = DateTime.Now;
            PostUpdate           = new List <PostUpdateActionData>();
            MessageBoxes         = new List <MessageBoxData>();
            UpdateMode           = AutoUpdaterDotNET.Mode.Normal;

            LogNewInstanceInfo();
        }
Beispiel #2
0
 public UpdaterData(string fileName, UpdaterDataTypeFormat updaterDataType)
     : this(fileName, updaterDataType, new Checksum(), true, Strings.Updater_Download_URL_ZIP_LATEST_RELEASE, Program.Version, Strings.Updater_Changelog_URL)
 {
 }
Beispiel #3
0
 public UpdaterData(string fileName, UpdaterDataTypeFormat updaterDataType, Checksum checksum, bool mandatory)
     : this(fileName, updaterDataType, checksum, mandatory, Strings.Updater_Download_URL_ZIP_LATEST_RELEASE, Program.Version, Strings.Updater_Changelog_URL)
 {
 }
Beispiel #4
0
 public UpdaterData(string fileName, UpdaterDataTypeFormat updaterDataType, Checksum checksum, bool mandatory, string downloadURL)
     : this(fileName, updaterDataType, checksum, mandatory, downloadURL, Program.Version, Strings.Updater_Changelog_URL)
 {
 }
Beispiel #5
0
 public UpdaterData(string fileName, UpdaterDataTypeFormat updaterDataType, Checksum checksum, bool mandatory, string downloadURL, Version version, string changelogURL)
     : this(fileName, updaterDataType, checksum, mandatory, downloadURL, version, changelogURL, string.Empty)
 {
 }