Novell Home

dtMsgBox

Novell Cool Solutions: Cool Tool

Digg This - Slashdot This

In Brief

Inform users about ZENworks application distributions.

Vitals

Product Categories:
  • ZENworks
  • Functional Categories:
  • Administration
  • Application Objects
  • Posted:31 Jan 2007
    File Size:101KB
    License:Free
    Download:/coolsolutions/tools/downloads/dtMsgBox.zip
    Publisher:Denis Tomasevic

    Disclaimer

    Please read the note from our friends in legal before using this file.


    Details

    dtMsgBox.exe is simple tool for displaying message directly on top of current desktop.

    Distributing applications using workstation association can be problematic, since no indication is displayed to user. During distribution user might feel unexpected workstation slow down (since (s)he does not know what is going on in a background) and even do reboot causing unpredictable distribution result.

    There were some CoolSolutions hints/tools in past (Not-so-Silent Install), but they all failed on workstation associated distributions, if NAL is using workstation credentials for distribution (default in ZEN7).

    dtMsgBox.exe is simple tool for displaying message directly on top of current desktop, even if no user is logged in at workstation, workstation is locked or screen saver is active!

    Displayed message window will stay on the top of Windows desktop and it is not selectable so it will not "steal" focus from user current application.

    To display message on screen, call dtMsgBox.exe from Run Before Distribution script. Here is example using %*WinSysDir%\wscript.exe as script engine:

    On Error Resume Next
    MSILine="""%TOOL_PATH%\dtMsgBox.exe"" Distributing application: "&chr(10)&"%*;App:Caption%"
    Set WshShell = WScript.CreateObject("WScript.Shell")
    WshShell.Run MSILine, 1,false

    This script will display message box with 2 lines:

    1. line Distributing application:
    2. line <Name of your application>

    To close window after distribution is finished, call dtMsgBox.exe without parameters from Run After Distribution script. Here is example using %*WinSysDir%\wscript.exe as script engine:

    MSILine="""%TOOL_PATH%\dtMsgBox.exe"""
    Set WshShell = WScript.CreateObject("WScript.Shell")
    WshShell.Run MSILine, 1,false

    Setting in ConsoleOne:

    User screen before login:

    User screen after login:

    User screen - workstation locked:

    In examples, %TOOL_PATH% is macro where you installed dtMsgBox.exe tool. Extra """ are used to enable path containing spaces.

    Enjoy!

    Denis Tomašević

    Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

    © 2014 Novell