Balloon Notification System
Seventy Five Percent of my users are remotely connected through VPN and work on production when connected, so reboots, service packs, and production app upgrades are all tricky to handle. So I decided to put some time into a nifty communication system to notify my users of what I am doing, or what I need them to do.
We've all Been There
Ever needed to push software to a C level that required some software to be closed before installing, or a long install that required the user to decide when to install due to production loss? Maybe you deployed some software and now you need a user to reboot. In my environment we have to be very conscious of the user when we deploy software, updates, and system changes.
Introducing SYSBALLOON.EXE
Sysballoon.exe is a DOTNET 2.0 (2.0 Framework Required) command line utility that allows you to pop up a systemtray notification balloon that is very customizable. You can customize the title, text, frequency, command that runs when the balloon is clicked, how many cycles the balloon goes through, right click menu title, right click menu command, hover title, and more. The tool will create an XML file for you to use if you choose.(Since the command line can get pretty long) This gives you the ability to create customized balloons for many situations and store them on a network share somewhere to use them.
Remember, I developed this for my engineering group and tailored it to our needs. It has worked great for us and I would love to develop some more functionality into it. So please vote and make suggestions. If it gets enough votes, I will just post the zipped up dotnet solution. If not i will have to use future upgrades to get the points. :) (Just being transparent.)
| License: | AJSL By clicking the download link below, you agree to the terms and conditions in the Altiris Juice Software License |
| Support: | User-contributed tools on the Juice are not supported by Altiris Technical Support. If you have questions about a tool, please communicate directly with the author by visiting their profile page and clicking the 'contact' tab. |
Comments
Application error
Mmmm!!1 Keep getting "Application failed to intialize" Error ???
Hojiblanca
App Error
Try copy and pasting one of the example command lines verbatim.
Sample
Hi Yes I've tried that with the same error ??
Update: I googled the error and seems you need .net 2.0 instaleed DOH!!! thanks pogo
C
Hojiblanca
Could you be more specific
Could you be more specific on the usage of this? Can I use this for software delivery?
I really like this tool
But it does seem like it needs some more debugging work and wow nearly 12MB of ram on my system to run!
How can I use this as a notification only tool? I noticed if I put just "" in the OnClickCMD in the xml it will crash out with System.IO.FileNotFoundException once clicked.
Thanks for posting.
Space the Final Frontier
Hi you need to have a space between the quotes that way it will ignore the command/comment at that part in the script
I use it this way just as a popup notification before or after a software install, either run as another job or part of a job
HTH C
Hojiblanca
Hmmmm
[quote=joshargh]But it does seem like it needs some more debugging work and wow nearly 12MB of ram on my system to run![/quote]
That's not the tool only, it is also the .Net Framework, nowadays everybody has enough memory in his machine, so it isn't bad at all, it ensures fast exection.
[quote=joshargh]How can I use this as a notification only tool? I noticed if I put just "" in the OnClickCMD in the xml it will crash out with System.IO.FileNotFoundException once clicked.
[/quote]
It can't find a file (xml most lightly) ensure this is available.
FrankB
______________________________________________
Frank Bastiaens
Senior Technical Consultant
Vanderlet B.V.
My Bad Code
The error you are experiencing is because of my coding. All it needs is an on error resume like statement. What it cant find is "". What I do is slip an "Ipconfig" in there or a "cmd /c dir". Then again if carlsson is correct about just placing a space I would do that. In any case one of these will work.
Does it work with balloon notifications suppressed in the reg?
Does this still work even if you have included the registry hack to disable windows balloon notifications?
It will not
If the balloon notifications are disabled the user will see nothing.
Problem with command window not closing
I've set this up as a NS Software Delivery Task.
My problem is that the command prompt window does not quit after the command specified in the command line runs (ipconfig, cmd /c dir, etc.).
I have to manually choose 'quit' by right clicking on the icon in order for the command prompt window to quit and the task to complete successfully.
Everything else seems to working okay - the balloon notification appears and clicking on the balloon causes the command to run but the command will not terminate completely which causes the icon to remain and the task doesn't finalize. Any ideas on what I need to change? (I would normally run the 'starting window' hidden but I have it set to normal to troubleshoot)
Thanks for any advice,
Gary
Thank you for taking interest in the app...
I have just recieved this message, and I do remember having an issue with not this........
Ah, yes.... The workaround for this flaw is to set your NS job up as "REQUIRE USER INPUT", "HIDDEN", and "RUN AS LOGGED ON USER"
NOW.... The problem your experiencing is that the agent will never let go of the process. In order to work around this your Program can run the below to run in a new window. Also a sample from one of our Programs that shows its valid.
SAMPLE
cmd /c "taskkill /im oodcmd.exe /f & start /I oodcmd /SPACE:C /MAXUSAGE:25 /OUTPUTFILE:C:\drv\ldrs\inventory\DefragResults.txt"
YOUR NEW COMMANDLINE
cmd /c "Start /I SySballoon.exe /x XMLfile.xml"
See if that will let go of the agent for you.
Pogo, Finally had a chance
Pogo,
Finally had a chance to test. Configured exactly as you described above but process still won't quit when finished. Same results as I posted above.
Any ideas what might be going on? Not sure what else to try...
Thanks much,
Gary
Would you like to reply?
Login or Register to post your comment.