Search code examples
gitinstallationfilenames

Git installer cannot run, windows 11. Has weird file name


I'm trying to install git (2.42.0) 64-bit version of Git for Windows from https://git-scm.com/download/win. After downloading the installer, it has a strange name and I can't run it: enter image description here

file name: 255edd25-cca0-4294-909c-b46bced63e3f

If I double click the file, Windows asks me to select an app to open this file. That's not normal. It's just supposed to start the installer.


Solution

  • If you're sure this is the file you downloaded from Git's website, you can rename the file to Git-2.24.0.2-64-bit.exe (you might need to change version numbers) and then run it. enter image description here

    The file has all the data for the installer, it just needed to be ran as an executable. Renaming it like this makes that possible. Hope this helps anyone else who had the same issue.

    Note: Only do this if you're sure this is the file you downloaded from git's download portal. If you don't trust the file, delete it and try again.