Skip to content

Commit

Permalink
Updated logging and correcting setting cma
Browse files Browse the repository at this point in the history
  • Loading branch information
westjake committed Sep 17, 2024
1 parent 0eb6227 commit 96ce19d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/blaise/check_cma_packages.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ else {
$CMAInstalledPackage = $Blaise.CMAInstalledPackage
LogInfo("CMA $CMAInstalledPackage installed")
if ($Blaise.CMAInstalledPackage -eq $env:ENV_CMA_MULTI_PACKAGE) {
"CMA mutli package version already installed"
LogInfo("CMA mutli package version already installed")
}
else {
LogInfo("CMA mutli package version needs to be changed")
. "$CurrentPath\scripts\blaise\install_cma_packages.ps1"
Set-ItemProperty -Path "HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*" -Name "CMAInstalledPackage" -Value $env:ENV_CMA_MULTI_PACKAGE | Where-Object { $_.DisplayName -match 'blaise' }
}
}

0 comments on commit 96ce19d

Please sign in to comment.