This commit is contained in:
2023-11-13 12:45:14 +01:00
parent 43a3566eaa
commit 734c6cbb5d
2 changed files with 4 additions and 4 deletions

Binary file not shown.

View File

@@ -43,9 +43,9 @@ function InstallZipSetup {
}
Write-Host "ExpandPath: $expPath"
Write-Host "ZipPath: $(Join-Path $tmpPath $zip)"
Write-Host "SetupPath: $(Join-Path -Path $expPath -ChildPath (Join-Path -Path $zipName -ChildPath $exe))"
Write-Host "SetupPath: $(Join-Path -Path $tmpPath -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
Start-Process -FilePath $(Join-Path -Path $tmpPath -ChildPath (Join-Path -Path $zipName -ChildPath $exe)) -ArgumentList "/allusers /s" -Wait
}
function InstallZipMsi {
@@ -137,8 +137,8 @@ function InstallApps {
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" -createSubfolder $true
InstallZipSetup -zip "ACDLabs202311_ChemSketch_FInstall.zip" -exe "setup.exe"
InstallZipMsi -zip "Anagene.zip" -msi "Anagène 2.msi"
InstallZipSetup -zip "ACDLabs202311_ChemSketch_FInstall.zip" -exe "setup.exe" -createSubfolder $true
InstallZipMsi -zip "Anagene.zip" -msi "Anagene.msi"
}
"Info" {
InstallZip -zip "simulation.zip" -exe "simulation.exe" -app "Simulation Domotique"