安装程序不允许我选择安装位置

安装程序不允许我选择安装位置

本文介绍了Git Windows 安装程序不允许我选择安装位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用

现在如果我点击 next 它应该带我到这个屏幕:

问题是我从来没有在这个屏幕上选择我想安装 git 的位置.我从来没有在上面看到这个屏幕,我的电脑试图将它安装到我的系统中,只有 100Mb.

我尝试了多个不同版本的 git.

是什么导致 git 不允许我选择安装位置?

解决方案

如果您从命令行运行安装可执行文件并通过 /help 您将获得可以运行的其他命令列表.您需要的是:

/DIR="x:\dirname";

以下是可用参数列表:

I am trying to install git using their windows installer from https://git-scm.com/downloads (I have windows 10). When I try to install Git I get unable to get system config then I get " C:\Users\Me\Appdata\Local\Temp\is-VML96.tmp\git-config-get.txt"

Its weird but If I click okay through both it takes me to the standard install setup as seen below:

Now if I click next it SHOULD take me to this screen:

The problem is I never get this screen to choose where I want to install git. I never get this screen above, my computer tries to install it to my system reserved which is only 100Mb.

I have tried multiple different versions of git.

What is causing git not to allow me to choose an install location?

解决方案

If you run the installation executable from a command line and pass /help you'll get a list of additional commands you can run. The one you need is:

/DIR="x:\dirname"

Here's the list of available arguments:

这篇关于Git Windows 安装程序不允许我选择安装位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-30 06:31