Adding Anagene Install
This commit is contained in:
@@ -7,6 +7,18 @@ function InstallMsi {
|
||||
Start-Process -FilePath "msiexec.exe" -ArgumentList "/i `"$msiFilePath`" /qn" -Wait
|
||||
}
|
||||
|
||||
function InstallZipMsi {
|
||||
param (
|
||||
[string] $zip,
|
||||
[string] $msi
|
||||
)
|
||||
$zipName = [System.IO.Path]::GetFileNameWithoutExtension($zip)
|
||||
Write-Host "Installing $zipName..."
|
||||
Expand-Archive -Path (Join-Path $tmpPath $zip) -DestinationPath (Join-Path $tmpPath $zipName) -Force
|
||||
$msiFilePath = Join-Path -Path $tmpPath -ChildPath $msi
|
||||
Start-Process -FilePath "msiexec.exe" -ArgumentList "/i `"$msiFilePath`" /qn" -Wait
|
||||
}
|
||||
|
||||
function InstallExeSetup {
|
||||
param (
|
||||
[string] $app
|
||||
@@ -102,6 +114,7 @@ function InstallApps {
|
||||
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"
|
||||
InstallZipMsi -zip "Anagene.zip" -msi "Anagène 2.msi"
|
||||
}
|
||||
"Info" {
|
||||
InstallZip -zip "simulation.zip" -exe "simulation.exe" -app "Simulation Domotique"
|
||||
|
||||
Reference in New Issue
Block a user