diff --git a/Setup files/Anagene.zip b/Setup files/Anagene.zip new file mode 100755 index 0000000..d2c6aba Binary files /dev/null and b/Setup files/Anagene.zip differ diff --git a/setupApps.ps1 b/setupApps.ps1 index 93e496a..befe794 100644 --- a/setupApps.ps1 +++ b/setupApps.ps1 @@ -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" diff --git a/setupTmp.ps1 b/setupTmp.ps1 index 48603de..b736008 100644 --- a/setupTmp.ps1 +++ b/setupTmp.ps1 @@ -80,6 +80,10 @@ function DownloadFiles { Url = "https://acdusdownload.s3.amazonaws.com/ACDLabs202311_ChemSketch_FInstall.zip" # Validated 07/11/23 FileName = "ACDLabs202311_ChemSketch_FInstall.zip" }, + @{ + Url = "https://git.justw.tf/Lightemerald/setup-script/raw/branch/main/Setup%20files/Anagene.zip" # Validated 13/11/23 + FileName = "Anagene.zip" + } , @{ Url = "https://officecdn.microsoft.com/db/492350f6-3a01-4f97-b9c0-c7c6ddf67d60/media/fr-fr/O365ProPlusRetail.img" # Validated 07/11/23 FileName = "O365ProPlusRetail.img"