Balloon notification tray icon hangs around

Topics: Archive - General
Oct 28, 2014 at 8:03 PM
Firstly, thanks for the great toolkit - I can't believe I've only just discovered it!

I've been testing it out today to deploy a JRE update to ~650 workstations in my environment and I've found one minor problem, at least on Windows 8.1 - the tray icon used to show balloon notifications seems to hang around until you mouseover it. I've fixed this in my AppDeployToolkitMain.ps1 by adding to the Exit-Script function, just before the Exit call:
    # Dispose of any previous balloon tip notifications
    If ($notifyIcon -ne $null) {
        Start-Sleep -seconds 10
        Try {
            $NotifyIcon.Dispose()
        }
        Catch {}
    }
I didn't notice anyone else complaining about this, so perhaps it's specific to my environment, but thought it worth mentioning anyway. Thanks!
Developer
Nov 4, 2014 at 1:12 AM
Thanks for this fix. It has been integrated into the toolkit with the latest 3.5.0 release.