Update setupScriptInfo.ps1
This commit is contained in:
@@ -130,7 +130,7 @@ choco install audacity -y
|
||||
|
||||
choco install scratch -y
|
||||
choco install mblock -y
|
||||
Expand-Archive -Path "C:\tmp\simulation.zip" -DestinationPath "C:\Program Files\Simulation Domotique"
|
||||
Expand-Archive -Path "C:\tmp\simulation.zip" -DestinationPath "C:\Program Files\Simulation Domotique" -Force
|
||||
$targetExePath = "C:\Program Files\Simulation Domotique\simulation.exe"
|
||||
$shortcutPath = "C:\Users\Public\Desktop\Simulation Domotique.lnk"
|
||||
$shell = New-Object -ComObject WScript.Shell
|
||||
@@ -141,8 +141,8 @@ $shortcut.WorkingDirectory = (Get-Item $targetExePath).DirectoryName
|
||||
$shortcut.Save()
|
||||
choco install arduino -y
|
||||
choco install ganttproject -y
|
||||
Start-Process C:\tmp\EV3_Classroom_Windows_1.5.3_Global.msi -ArgumentList "/quiet"
|
||||
Expand-Archive -Path "C:\tmp\RobotProg.zip" -DestinationPath "C:\Program Files\RobotProg"
|
||||
Start-Process -FilePath "msiexec.exe" -ArgumentList "/i C:\tmp\EV3_Classroom_Windows_1.5.3_Global.msi /qn" -Wait
|
||||
Expand-Archive -Path "C:\tmp\RobotProg.zip" -DestinationPath "C:\Program Files\RobotProg" -Force
|
||||
$targetExePath = "C:\Program Files\RobotProg\RobotProg.exe"
|
||||
$shortcutPath = "C:\Users\Public\Desktop\RobotProg.lnk"
|
||||
$shell = New-Object -ComObject WScript.Shell
|
||||
@@ -154,6 +154,21 @@ $shortcut.Save()
|
||||
|
||||
Remove-Item -Path "C:\tmp\" -Recurse -Force
|
||||
|
||||
# URL shortcut
|
||||
$wshShell = New-Object -ComObject "WScript.Shell"
|
||||
$urlShortcut = $wshShell.CreateShortcut((Join-Path $env:PUBLIC "Desktop\Office 365.url"))
|
||||
$urlShortcut.TargetPath = "https://office.com/"
|
||||
$urlShortcut.Save()
|
||||
$urlShortcut = $wshShell.CreateShortcut((Join-Path $env:PUBLIC "Desktop\Ecole Direct.url"))
|
||||
$urlShortcut.TargetPath = "https://ecoledirecte.com/"
|
||||
$urlShortcut.Save()
|
||||
$urlShortcut = $wshShell.CreateShortcut((Join-Path $env:PUBLIC "Desktop\PIX.url"))
|
||||
$urlShortcut.TargetPath = "https://pix.fr/"
|
||||
$urlShortcut.Save()
|
||||
$urlShortcut = $wshShell.CreateShortcut((Join-Path $env:PUBLIC "Desktop\Framindmap.url"))
|
||||
$urlShortcut.TargetPath = "https://framindmap.org/"
|
||||
$urlShortcut.Save()
|
||||
|
||||
|
||||
# Update Windows
|
||||
Install-Module -Name PSWindowsUpdate -Force
|
||||
|
||||
Reference in New Issue
Block a user