Update setupScriptInfo.ps1
This commit is contained in:
@@ -130,7 +130,7 @@ choco install audacity -y
|
|||||||
|
|
||||||
choco install scratch -y
|
choco install scratch -y
|
||||||
choco install mblock -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"
|
$targetExePath = "C:\Program Files\Simulation Domotique\simulation.exe"
|
||||||
$shortcutPath = "C:\Users\Public\Desktop\Simulation Domotique.lnk"
|
$shortcutPath = "C:\Users\Public\Desktop\Simulation Domotique.lnk"
|
||||||
$shell = New-Object -ComObject WScript.Shell
|
$shell = New-Object -ComObject WScript.Shell
|
||||||
@@ -141,8 +141,8 @@ $shortcut.WorkingDirectory = (Get-Item $targetExePath).DirectoryName
|
|||||||
$shortcut.Save()
|
$shortcut.Save()
|
||||||
choco install arduino -y
|
choco install arduino -y
|
||||||
choco install ganttproject -y
|
choco install ganttproject -y
|
||||||
Start-Process C:\tmp\EV3_Classroom_Windows_1.5.3_Global.msi -ArgumentList "/quiet"
|
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"
|
Expand-Archive -Path "C:\tmp\RobotProg.zip" -DestinationPath "C:\Program Files\RobotProg" -Force
|
||||||
$targetExePath = "C:\Program Files\RobotProg\RobotProg.exe"
|
$targetExePath = "C:\Program Files\RobotProg\RobotProg.exe"
|
||||||
$shortcutPath = "C:\Users\Public\Desktop\RobotProg.lnk"
|
$shortcutPath = "C:\Users\Public\Desktop\RobotProg.lnk"
|
||||||
$shell = New-Object -ComObject WScript.Shell
|
$shell = New-Object -ComObject WScript.Shell
|
||||||
@@ -154,6 +154,21 @@ $shortcut.Save()
|
|||||||
|
|
||||||
Remove-Item -Path "C:\tmp\" -Recurse -Force
|
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
|
# Update Windows
|
||||||
Install-Module -Name PSWindowsUpdate -Force
|
Install-Module -Name PSWindowsUpdate -Force
|
||||||
|
|||||||
Reference in New Issue
Block a user