bootstrapper: use WinAPI progress bar window instead of toast notific… (#8210)

* bootstrapper: use WinAPI progress bar window instead of toast notifications

* remove obsolete msi action
This commit is contained in:
Andrey Nekrasov
2020-11-27 00:31:00 +03:00
committed by GitHub
parent 9757a4574f
commit 9735459552
13 changed files with 246 additions and 135 deletions

View File

@@ -234,21 +234,6 @@ int WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
}
}
}
else if (action == L"-install_dotnet")
{
if (updating::dotnet_is_installed())
{
return 0;
}
const bool success = updating::install_dotnet();
MessageBoxW(nullptr,
GET_RESOURCE_STRING(IDS_DOTNET_CORE_DOWNLOAD_FAILURE).c_str(),
GET_RESOURCE_STRING(IDS_DOTNET_CORE_DOWNLOAD_FAILURE_TITLE).c_str(),
MB_OK | MB_ICONERROR);
return !success;
}
else if (action == L"-uninstall_msi")
{
return uninstall_msi_action();