Uploading changes from CMSource

This commit is contained in:
2025-09-25 11:22:51 -04:00
parent db5ca48a45
commit 1f2d7c5879
2 changed files with 42 additions and 0 deletions

View File

@@ -122,6 +122,18 @@ function Install-ADTDeployment
##================================================
$adtSession.InstallPhase = "Pre-$($adtSession.DeploymentType)"
## Removing the old 2100 Expert B. version if it exists.
Write-ADTLogEntry -Message "Starting Uninstall of the old 2100 Expert Software."
[string]$issUninstallFile = Join-Path -Path $adtSession.DirFiles -ChildPath 'Old_2100Expert_Uninstall.iss'
if (Test-Path 'C:\Program Files (x86)\InstallShield Installation Information\{738F1ECC-9046-4FDB-891A-0FE090746B31}\setup.exe') {
Start-ADTProcess -FilePath 'C:\Program Files (x86)\InstallShield Installation Information\{738F1ECC-9046-4FDB-891A-0FE090746B31}\setup.exe' -ArgumentList "/s /f1`"$issUninstallFile`""
} else {
Write-ADTLogEntry -Message "Old 2100 Expert uninstall setup.exe not found at expected path so it may not be installed." -Severity 2
}
##================================================
## MARK: Install
##================================================