diff --git a/Status.cpp b/Status.cpp index 6d400a6..12da25b 100644 --- a/Status.cpp +++ b/Status.cpp @@ -25,7 +25,7 @@ extern wxString res_path; extern wxString ico_ext; extern wxBitmapType ico_type; -const int reset_error_count=60; +const int reset_error_count=20; namespace { @@ -120,6 +120,11 @@ Status::Status(wxWindow* parent, wxLongLong_t follow_only_process_id) Show(true); RequestUserAttention(); + if (follow_only_process_id == 0) + { + instance = this; + } + Start(1000); } @@ -128,11 +133,6 @@ Status::Status(wxWindow* parent, wxLongLong_t follow_only_process_id) #endif error_count=reset_error_count; - - if (follow_only_process_id == 0) - { - instance = this; - } } @@ -147,7 +147,6 @@ bool Status::updateStatus(int errcnt) { Stop(); wxMessageBox(_("There was an error. Currently nothing can be backed up."), wxT("UrBackup"), wxOK|wxICON_ERROR); - Hide(); Close(); } return false; diff --git a/urbackup.wxs b/urbackup.wxs index 301a94a..1350fdf 100644 --- a/urbackup.wxs +++ b/urbackup.wxs @@ -5,7 +5,7 @@ Version='$version_full_numeric$' Manufacturer='Martin Raiber' UpgradeCode='87d7bb18-2091-4876-a8de-0c47f7d2e052'> + Manufacturer='Martin Raiber' InstallerVersion='301' Compressed='yes' Platform='$(var.Platform)'/> diff --git a/urbackup_notray.wxs b/urbackup_notray.wxs index 213531b..a605f87 100644 --- a/urbackup_notray.wxs +++ b/urbackup_notray.wxs @@ -5,7 +5,7 @@ Version='$version_full_numeric$' Manufacturer='Martin Raiber' UpgradeCode='87d7bb18-2091-4876-a8de-0c47f7d2e052'> + Manufacturer='Martin Raiber' InstallerVersion='301' Compressed='yes' Platform='$(var.Platform)'/>