Problem:
When "dotnet" command outputs in local language
Trwa określanie projektów do przywrócenia...
Przywrócono element C:\1\console.msbuildproj (w 725 ms).
It's not properly detected by install script and gives error.
Solution:
According to this posts: Switch CLI to a non-system language #8686, How to change display language to English? #821.
One should set environment variable "DOTNET_CLI_UI_LANGUAGE=en".
I did it globally but IMHO it should be done during installation.