Adding Anagene Install

This commit is contained in:
2023-11-13 08:53:43 +01:00
parent 1978e12b80
commit 8e9950c532
3 changed files with 17 additions and 0 deletions

BIN
Setup files/Anagene.zip Executable file

Binary file not shown.

View File

@@ -7,6 +7,18 @@ function InstallMsi {
Start-Process -FilePath "msiexec.exe" -ArgumentList "/i `"$msiFilePath`" /qn" -Wait 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 { function InstallExeSetup {
param ( param (
[string] $app [string] $app
@@ -102,6 +114,7 @@ function InstallApps {
InstallExeSetup -app "Eduanat2_Setup_2.0.0.exe" InstallExeSetup -app "Eduanat2_Setup_2.0.0.exe"
InstallZip -zip "couvac_exe.zip" -exe "couvac.exe" -app "Couvac" InstallZip -zip "couvac_exe.zip" -exe "couvac.exe" -app "Couvac"
InstallZipSetup -zip "ACDLabs202311_ChemSketch_FInstall.zip" -exe "setup.exe" InstallZipSetup -zip "ACDLabs202311_ChemSketch_FInstall.zip" -exe "setup.exe"
InstallZipMsi -zip "Anagene.zip" -msi "Anagène 2.msi"
} }
"Info" { "Info" {
InstallZip -zip "simulation.zip" -exe "simulation.exe" -app "Simulation Domotique" InstallZip -zip "simulation.zip" -exe "simulation.exe" -app "Simulation Domotique"

View File

@@ -80,6 +80,10 @@ function DownloadFiles {
Url = "https://acdusdownload.s3.amazonaws.com/ACDLabs202311_ChemSketch_FInstall.zip" # Validated 07/11/23 Url = "https://acdusdownload.s3.amazonaws.com/ACDLabs202311_ChemSketch_FInstall.zip" # Validated 07/11/23
FileName = "ACDLabs202311_ChemSketch_FInstall.zip" 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 Url = "https://officecdn.microsoft.com/db/492350f6-3a01-4f97-b9c0-c7c6ddf67d60/media/fr-fr/O365ProPlusRetail.img" # Validated 07/11/23
FileName = "O365ProPlusRetail.img" FileName = "O365ProPlusRetail.img"