diff --git a/installer/PowerToysBootstrapper/bootstrapper/bootstrapper.cpp b/installer/PowerToysBootstrapper/bootstrapper/bootstrapper.cpp index 7b07727868..10333e8524 100644 --- a/installer/PowerToysBootstrapper/bootstrapper/bootstrapper.cpp +++ b/installer/PowerToysBootstrapper/bootstrapper/bootstrapper.cpp @@ -297,7 +297,6 @@ int bootstrapper() sei.fMask = { SEE_MASK_FLAG_NO_UI | SEE_MASK_NOASYNC | SEE_MASK_NO_CONSOLE }; sei.lpFile = newPTPath->c_str(); sei.nShow = SW_SHOWNORMAL; - sei.lpParameters = UPDATE_REPORT_SUCCESS; ShellExecuteExW(&sei); } diff --git a/src/common/updating/toast_notifications_helper.cpp b/src/common/updating/toast_notifications_helper.cpp index bcde3142a9..73a8f00906 100644 --- a/src/common/updating/toast_notifications_helper.cpp +++ b/src/common/updating/toast_notifications_helper.cpp @@ -25,7 +25,6 @@ namespace localized_strings const wchar_t GITHUB_NEW_VERSION_UPDATE_NOW[] = L"Update now"; const wchar_t GITHUB_NEW_VERSION_UPDATE_AFTER_RESTART[] = L"At next launch"; - const wchar_t UNINSTALLATION_SUCCESS[] = L"Previous version of PowerToys was uninstalled successfully."; const wchar_t UNINSTALLATION_UNKNOWN_ERROR[] = L"Error: please uninstall the previous version of PowerToys manually."; const wchar_t GITHUB_NEW_VERSION_AVAILABLE_OFFER_VISIT[] = L"An update to PowerToys is available. Visit our GitHub page to update.\n"; @@ -131,11 +130,6 @@ namespace updating std::move(toast_params)); } - void show_uninstallation_success() - { - ::notifications::show_toast(localized_strings::UNINSTALLATION_SUCCESS, TOAST_TITLE); - } - void show_uninstallation_error() { ::notifications::show_toast(localized_strings::UNINSTALLATION_UNKNOWN_ERROR, TOAST_TITLE); diff --git a/src/common/updating/toast_notifications_helper.h b/src/common/updating/toast_notifications_helper.h index 1d143f506a..6ae3665e2d 100644 --- a/src/common/updating/toast_notifications_helper.h +++ b/src/common/updating/toast_notifications_helper.h @@ -12,7 +12,6 @@ namespace updating void show_visit_github(const updating::new_version_download_info& info); void show_install_error(const updating::new_version_download_info& info); void show_version_ready(const updating::new_version_download_info& info); - void show_uninstallation_success(); void show_uninstallation_error(); void update_download_progress(const updating::new_version_download_info& info, float progress); diff --git a/src/common/updating/updating.cpp b/src/common/updating/updating.cpp index 547d660800..165cf0a69a 100644 --- a/src/common/updating/updating.cpp +++ b/src/common/updating/updating.cpp @@ -84,7 +84,6 @@ namespace updating const auto uninstall_result = MsiInstallProductW(package_path.c_str(), L"REMOVE=ALL"); if (ERROR_SUCCESS == uninstall_result) { - notifications::show_uninstallation_success(); return true; } else if (auto system_message = get_last_error_message(uninstall_result); system_message.has_value())