Update SetupScriptLabo.ps1
This commit is contained in:
@@ -182,6 +182,16 @@ function InstallExe {
|
||||
createShortcut -exe $appFilePath -app $appName
|
||||
}
|
||||
|
||||
function InstallZipSetup {
|
||||
param (
|
||||
[string] $zip
|
||||
[string] $exe
|
||||
)
|
||||
$zipName = [System.IO.Path]::GetFileNameWithoutExtension($zip)
|
||||
Expand-Archive -Path (Join-Path $tmpPath $zip) -DestinationPath $tmpPath -Force
|
||||
Start-Process -FilePath $(Join-Path $tmpPath $zipName $exe) -ArgumentList "/allusers /s" -Wait
|
||||
}
|
||||
|
||||
function InstallZip {
|
||||
param (
|
||||
[string] $zip
|
||||
@@ -223,7 +233,6 @@ choco install audacity -y
|
||||
choco install avogadro -y
|
||||
choco install arduino -y --install-arguments="/allusers" --force
|
||||
|
||||
# Regressi
|
||||
InstallExeSetup -app "winstars_installer.exe"
|
||||
InstallZip -zip "Tectoglob3D-win32-ia32.zip" -exe "Tectoglob3D.exe" -app "Tectoglob3D"
|
||||
InstallExe -app "Sismolog.exe"
|
||||
@@ -231,6 +240,12 @@ InstallZip -zip "Tectoglob_11_complet.zip" -exe "TectoGlob.exe" -app "TectoGlob"
|
||||
InstallExe -app "Respipoisson.exe"
|
||||
InstallMsi -app "regressi-mpeg-setup.msi"
|
||||
InstallZip -zip "regavi.zip" -exe "regavi.exe" -app "Regavi"
|
||||
InstallExe -app "Radiochr.exe"
|
||||
InstallZip -zip "Phylogene-Lycee-2021.zip" -exe "Programmes\Phylo.exe" -app "Phylogene"
|
||||
InstallZip -zip "paleoterre_el32.zip" -exe "paleoTerre.exe" -app "PaleoTerre"
|
||||
InstallExeSetup -app "Eduanat2_Setup_2.0.0.exe"
|
||||
InstallZip -zip "couvac_exe.zip" -exe "couvac.exe" -app "Couvac"
|
||||
InstallZipSetup -zip "ACDLabs202311_ChemSketch_FInstall.zip" -exe "setup.exe"
|
||||
|
||||
|
||||
# Update Windows
|
||||
|
||||
Reference in New Issue
Block a user