Test
This commit is contained in:
@@ -37,6 +37,9 @@ function InstallZipSetup {
|
|||||||
$zipName = [System.IO.Path]::GetFileNameWithoutExtension($zip)
|
$zipName = [System.IO.Path]::GetFileNameWithoutExtension($zip)
|
||||||
Write-Host "Installing $zipName..."
|
Write-Host "Installing $zipName..."
|
||||||
$expPath = Join-Path $tmpPath $zipName
|
$expPath = Join-Path $tmpPath $zipName
|
||||||
|
Write-Host "ExePath: $expPath"
|
||||||
|
Write-Host "ZipPath: $(Join-Path $tmpPath $zip)"
|
||||||
|
Write-Host "SetupPath: $(Join-Path -Path $expPath -ChildPath (Join-Path -Path $zipName -ChildPath $exe))"
|
||||||
Expand-Archive -Path (Join-Path $tmpPath $zip) -DestinationPath $expPath -Force
|
Expand-Archive -Path (Join-Path $tmpPath $zip) -DestinationPath $expPath -Force
|
||||||
Start-Process -FilePath $(Join-Path -Path $expPath -ChildPath (Join-Path -Path $zipName -ChildPath $exe)) -ArgumentList "/allusers /s" -Wait
|
Start-Process -FilePath $(Join-Path -Path $expPath -ChildPath (Join-Path -Path $zipName -ChildPath $exe)) -ArgumentList "/allusers /s" -Wait
|
||||||
}
|
}
|
||||||
@@ -106,7 +109,7 @@ function InstallApps {
|
|||||||
InstallZip -zip "Tectoglob_11_complet.zip" -exe "TectoGlob.exe" -app "TectoGlob"
|
InstallZip -zip "Tectoglob_11_complet.zip" -exe "TectoGlob.exe" -app "TectoGlob"
|
||||||
InstallExe -app "Respipoisson.exe"
|
InstallExe -app "Respipoisson.exe"
|
||||||
InstallMsi -app "regressi-mpeg-setup.msi"
|
InstallMsi -app "regressi-mpeg-setup.msi"
|
||||||
InstallZip -zip "regavi.zip" -exe "regavi.exe" -app "Regavi" -createSubfolder $true
|
InstallZip -zip "regavi.zip" -exe "regavi.exe" -app "regavi" -createSubfolder $true
|
||||||
InstallExe -app "Radiochr.exe"
|
InstallExe -app "Radiochr.exe"
|
||||||
InstallZip -zip "Phylogene-Lycee-2021.zip" -exe "Programmes\Phylo.exe" -app "Phylogene"
|
InstallZip -zip "Phylogene-Lycee-2021.zip" -exe "Programmes\Phylo.exe" -app "Phylogene"
|
||||||
InstallZip -zip "paleoterre_el32.zip" -exe "paleoTerre.exe" -app "PaleoTerre"
|
InstallZip -zip "paleoterre_el32.zip" -exe "paleoTerre.exe" -app "PaleoTerre"
|
||||||
|
|||||||
Reference in New Issue
Block a user