Update setupScriptInfo.ps1

This commit is contained in:
2023-10-10 15:00:28 +00:00
parent 0bf3830c97
commit 5be5111a2e

View File

@@ -166,7 +166,8 @@ $shortcut.WorkingDirectory = (Get-Item $targetExePath).DirectoryName
$shortcut.Save()
choco install arduino -y
choco install ganttproject -y
Start-Process -FilePath "msiexec.exe" -ArgumentList "/i (Join-Path $tmpPath EV3_Classroom_Windows_1.5.3_Global.msi) /qn" -Wait
$msiFilePath = Join-Path -Path $tmpPath -ChildPath "EV3_Classroom_Windows_1.5.3_Global.msi"
Start-Process -FilePath "msiexec.exe" -ArgumentList "/i `"$msiFilePath`" /qn" -Wait
Expand-Archive -Path (Join-Path $tmpPath RobotProg.zip) -DestinationPath $env:ProgramFiles -Force
$targetExePath = "C:\Program Files\RobotProg\RobotProg.exe"
$shortcutPath = (Join-Path $env:PUBLIC "Desktop\RobotProg.lnk")