$ git --version --build-options
git version 2.12.0.windows.1
built from commit: d4baef1cdfef9de62d43f9682a98ba57adc842e4
sizeof-long: 4
machine: x86_64
$ cmd.exe /c ver
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.
# One of the following:
> type "C:\Program Files\Git\etc\install-options.txt"
> type "C:\Program Files (x86)\Git\etc\install-options.txt"
> type "%USERPROFILE%\AppData\Local\Programs\Git\etc\install-options.txt"
$ cat /etc/install-options.txt
Path Option: CmdTools
SSH Option: OpenSSH
CRLF Option: CRLFAlways
Bash Terminal Option: MinTTY
Performance Tweaks FSCache: Enabled
Use Credential Manager: Enabled
Enable Symlinks: Enabled
My "D:" drive had failed. I had my previous install of Git on that drive. I was trying to install to a different drive ("K:"), but was not given the opportunity to select a path (I assume my registry pointed to the previous install on the no non-existent drive).
When I assigned a new drive to "D:", I received the error "unable to remove previous version, trying to continue install" or similar during install. Install continued and was successful
bash
Launched the installation app (Git-2.12.0-64-bit.exe)
Successful installation
Install aborted with "invalid path" error
* insert URL here *
The report states:
When I assigned a new drive to "D:", I received the error "unable to remove previous version, trying to continue install" or similar during install. Install continued and was successful
and then it states:
What actually happened instead?
Install aborted with "invalid path" error
Which one is it?
I got too tired waiting for the answer to my question.
Exact same thing. D: drive is gone, go to reinstall, it gets to what I presume is near the end of the install wizard and says, "The drive or UNC share you selected does not exist or is not accessible. Please select another" but there never was an option to select a drive to install to. The previous version can't be uninstalled because it can't find the uninstaller (because the drive is gone).
@aptwebapps try calling the installer with /DIR="X:\where\you\want\git, e.g. /DIR="C:\Program Files\Git.
Most helpful comment
@aptwebapps try calling the installer with
/DIR="X:\where\you\want\git, e.g./DIR="C:\Program Files\Git.