From 2e36f331f6ad54e6e95c1f49ab83f023c51d0373 Mon Sep 17 00:00:00 2001 From: Lightemerald Date: Mon, 13 Nov 2023 12:14:07 +0100 Subject: [PATCH] Test --- setupApps.ps1 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setupApps.ps1 b/setupApps.ps1 index 9848bdd..1f392e3 100644 --- a/setupApps.ps1 +++ b/setupApps.ps1 @@ -37,6 +37,9 @@ function InstallZipSetup { $zipName = [System.IO.Path]::GetFileNameWithoutExtension($zip) Write-Host "Installing $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 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" InstallExe -app "Respipoisson.exe" 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" InstallZip -zip "Phylogene-Lycee-2021.zip" -exe "Programmes\Phylo.exe" -app "Phylogene" InstallZip -zip "paleoterre_el32.zip" -exe "paleoTerre.exe" -app "PaleoTerre"