Fixed notification on some upgrade cases
parent
90108a26c8
commit
0862f9ee5e
|
@ -32,6 +32,14 @@ function Invoke-PostUpdateActions {
|
||||||
#log
|
#log
|
||||||
Write-Log "-> $regPath created." "green"
|
Write-Log "-> $regPath created." "green"
|
||||||
}
|
}
|
||||||
|
#Fix Notif where WAU_NotificationLevel is not set
|
||||||
|
$regNotif = Get-ItemProperty $regPath -Name WAU_NotificationLevel -ErrorAction SilentlyContinue
|
||||||
|
if (!$regNotif){
|
||||||
|
New-ItemProperty $regPath -Name WAU_NotificationLevel -Value Full -Force
|
||||||
|
|
||||||
|
#log
|
||||||
|
Write-Log "-> Notification level setting was missing. Fixed with 'Full' option."
|
||||||
|
}
|
||||||
|
|
||||||
#Convert about.xml if exists (previous WAU versions) to reg
|
#Convert about.xml if exists (previous WAU versions) to reg
|
||||||
$WAUAboutPath = "$WorkingDir\config\about.xml"
|
$WAUAboutPath = "$WorkingDir\config\about.xml"
|
||||||
|
|
Loading…
Reference in New Issue