Update setupScriptInfo.ps1
This commit is contained in:
@@ -18,7 +18,7 @@ $filesToDownload = @(
|
|||||||
FileName = "Scratch%20Setup.exe"
|
FileName = "Scratch%20Setup.exe"
|
||||||
},
|
},
|
||||||
@{
|
@{
|
||||||
Url = "https://downloads.arduino.cc/arduino-ide/arduino-ide_2.2.1_Windows_64bit.exe"
|
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.exe"
|
||||||
},
|
},
|
||||||
@{
|
@{
|
||||||
@@ -155,7 +155,8 @@ $shortcut.WorkingDirectory = (Get-Item $targetExePath).DirectoryName
|
|||||||
$shortcut.Save()
|
$shortcut.Save()
|
||||||
|
|
||||||
Write-Host 'Installing Arduino...'
|
Write-Host 'Installing Arduino...'
|
||||||
Start-Process -FilePath $(Join-Path $tmpPath "arduino-ide_2.2.1_Windows_64bit.exe")
|
$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
|
||||||
|
|
||||||
choco install ganttproject -y
|
choco install ganttproject -y
|
||||||
$msiFilePath = Join-Path -Path $tmpPath -ChildPath "EV3_Classroom_Windows_1.5.3_Global.msi"
|
$msiFilePath = Join-Path -Path $tmpPath -ChildPath "EV3_Classroom_Windows_1.5.3_Global.msi"
|
||||||
|
|||||||
Reference in New Issue
Block a user