Update setupScriptInfo.ps1

This commit is contained in:
2023-10-16 09:25:56 +00:00
parent f94283d51a
commit 36bea7ae9b

View File

@@ -19,7 +19,7 @@ $filesToDownload = @(
},
@{
Url = "https://downloads.arduino.cc/arduino-ide/arduino-ide_2.2.1_Windows_64bit.msi"
FileName = "arduino-ide_2.2.1_Windows_64bit.exe"
FileName = "arduino-ide_2.2.1_Windows_64bit.msi"
},
@{
Url = "https://cdn.discordapp.com/attachments/704760633379389533/1161288504765059172/RobotProg.zip"
@@ -158,7 +158,7 @@ $shortcut.Save()
Write-Host 'Installing Arduino...'
$msiFilePath = Join-Path -Path $tmpPath -ChildPath "arduino-ide_2.2.1_Windows_64bit.msi"
Start-Process -FilePath "msiexec.exe" -ArgumentList "/i `"$msiFilePath`" ALLUSERS=1 /qn" -Wait
Start-Process -FilePath "msiexec.exe" -ArgumentList "/i `"$msiFilePath`" ALLUSERS=1 /passive" -Wait
choco install ganttproject -y
$msiFilePath = Join-Path -Path $tmpPath -ChildPath "EV3_Classroom_Windows_1.5.3_Global.msi"