2
我试图下载他们到后安装我.exe
时:系统找不到指定的路径安装.exe和.MSI默默
wget "https://github.com/git-for-windows/git/releases/downloadv2.13.1.windows.2/Git-2.13.1.2-64-bit.exe" -outfile c:\Windows\System32\Bradford\Git-2.13.1.2-64-bit.exe
然而,当我尝试进行静默安装,无需人工互动:
C:\Windows\System32\Bradford\Git-2.13.1.2-64-bit.exe /s /v"/qn"
我收到此错误:
The system cannot find the path specified.
另外我不知道如何安装.msi
文件也是如此。在这种情况下,nodeJS
我正在使用AWS实例实例。具体来说:
Microsoft Windows Server 2012 R2 with SQL Server Express - ami-37b39552
Microsoft Windows Server 2012 R2 Standard edition, 64-bit architecture, Microsoft SQL Server 2016 Express edition. [English]
@BenH对不起,shoudlve更具体。我在AWS上启动了一个Windows实例。 'Microsoft Windows Server 2016语言环境英语,由亚马逊提供的SQL Express 2016 AMI'这是64位 – Liondancer
我认为您需要在可执行文件名称的前面放置。\以执行它:'。\ Git-2.13.1.2- 64-bit.exe/s/v/qn'也不认为你需要引号。 –
如果您在该文件上使用'Test-Path',结果如何? – TheIncorrigible1