From fa862c4e6d97ded16569f683018edfb9fb433ad3 Mon Sep 17 00:00:00 2001 From: silicer Date: Sat, 25 Mar 2023 20:28:11 +0800 Subject: [PATCH] anaconda3: Fix setup.exe not found error (#10835) --- bucket/anaconda3.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bucket/anaconda3.json b/bucket/anaconda3.json index 600012afd4f64c..95f09ecee41755 100644 --- a/bucket/anaconda3.json +++ b/bucket/anaconda3.json @@ -21,7 +21,7 @@ "Move-Item \"$dir\\setup.exe\" \"$dir\\..\\setup.exe\" | Out-Null", "Write-Host 'Installing Anaconda 3. This can take up to 30 minutes on an HDD.' -ForegroundColor Magenta", "# Using Start-Process as a workaround because the installer will not work properly when args are quoted (e.g. \"`\"/S`\"\")", - "Start-Process \"$dir\\setup.exe\" -ArgumentList @('/S', '/InstallationType=JustMe', '/RegisterPython=1', '/AddToPath=0', '/NoRegistry=1', \"/D=$dir\") -Wait | Out-Null" + "Start-Process \"$dir\\..\\setup.exe\" -ArgumentList @('/S', '/InstallationType=JustMe', '/RegisterPython=1', '/AddToPath=0', '/NoRegistry=1', \"/D=$dir\") -Wait | Out-Null" ] }, "post_install": "Remove-Item \"$dir\\..\\setup.exe\" -Force | Out-Null",