Home

Results 1 to 5 of 5

Thread: Monitor the end of a deployment of a bundle via NalWin

Threaded View

  1. #1
    Join Date
    Jun 2012
    Posts
    4

    Monitor the end of a deployment of a bundle via NalWin

    Hi,
    For automation purposes, I need to know when the deployment of a package is finished.

    This is the command I use in a batch script/cmd :

    Code:
    start "Nalwin" "C:\Program files\novell\zenworks\nalwin.exe" : /A=MyApplicationJob.App.XP.Install.Nal.Zen.COMP
    I just need a way to know when the package is finished to deploy. Monitoring the process "nalwin.exe" is not really an option because there can be other nalwin processes in the background.
    Another way would be to make nalwin run in foreground in the cmd, but I did not found any option for that.

    I tried do monitor the RegSet* operations but no luck, the last RegSet is on "HKCU\Software\Novell\ZENworks\NALExplorer\ViewsSh owing" set to "0", just before the launch of the MSI package.

    I tried to enable debug mode :

    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\NetWare\NAL\1.0\Debug]
    "Level"=dword:0000000f
    "LogFileLocation"="C:\\ZFDNAL.CSV"
    "Browser"=dword:00000001
    "Explorer"=dword:00000001
    "Reporting"=dword:00000001
    But I don't see anything useful for what I need in the log (a line that indicates the successful end of the job) :


    Code:
    ==================================================
    NalShell logging for process 0xb68 initialized: 06/13/12 15:33:28
    Computer name: MYCOMP
    Command Line: "C:\Program files\novell\zenworks\nalwin.exe"  : /A=MyAppJob.App.XP.Install.Nal.Zen.COMP
    File versions:
    	 zenlite.dll:  7.0.1.14
    	 zennw32.dll:  7.0.1.5
    	nalshell.dll:  7.0.1.11
    	zenappws.dll:  7.0.1.7
    	  nalwin.exe:  7.0.1.0
    	nalagent.exe:  7.0.1.12
    	 nalview.exe:  7.0.1.0
    	nalntsrv.exe:  7.0.1.12
    ==================================================
    
    
    INFO, 15:33:28.405, USER, 0xb68, 0x5f0, NalWin, Initializing NalWin
    
    ==================================================
    NalShell logging for process 0xb68 initialized: 06/13/12 15:33:28
    Computer name: MYCOMP
    Command Line: "C:\Program files\novell\zenworks\nalwin.exe"  : /A=MyAppJob.App.XP.Install.Nal.Zen.COMP
    File versions:
    	 zenlite.dll:  7.0.1.14
    	 zennw32.dll:  7.0.1.5
    	nalshell.dll:  7.0.1.11
    	zenappws.dll:  7.0.1.7
    	  nalwin.exe:  7.0.1.0
    	nalagent.exe:  7.0.1.12
    	 nalview.exe:  7.0.1.0
    	nalntsrv.exe:  7.0.1.12
    ==================================================
    
    
    INFO, 15:33:28.530, USER, 0xb68, 0x5f0, NalShell, NalShell.dll loaded by "C:\Program files\novell\zenworks\NalWin.exe"
    INFO, 15:33:28.545, USER, 0xb68, 0x5f0, NalShell, Initializing NalShell
    INFO, 15:33:28.545, USER, 0xb68, 0x5f0, NS UI Thread, Created NAL Shell UI Thread
    INFO, 15:33:28.545, USER, 0xb68, 0xb74, NS UI Thread, Created NAL Shell UI thread window "NalShellWindow:2920"
    INFO, 15:33:28.545, USER, 0xb68, 0xb74, NS UI Thread, Entering message loop
    INFO, 15:33:28.545, USER, 0xb68, 0xb74, NS UI Thread, Starting NalAgent
    INFO, 15:33:28.561, USER, 0xb68, 0xb74, NS UI Thread, Queried for IUnknown
    INFO, 15:33:28.561, USER, 0xb68, 0xb74, NS UI Thread, CNalShellUIThread::AddRef() 2
    INFO, 15:33:28.561, USER, 0xb68, 0xb74, NS UI Thread, CNalShellUIThread::AddRef() 3
    INFO, 15:33:28.561, USER, 0xb68, 0xb74, NS UI Thread, CNalShellUIThread::Release() 2
    INFO, 15:33:28.561, USER, 0xb68, 0xb74, NS UI Thread, Queried for _INalEvents
    INFO, 15:33:28.561, USER, 0xb68, 0xb74, NS UI Thread, CNalShellUIThread::AddRef() 3
    INFO, 15:33:28.561, USER, 0xb68, 0xb74, NS UI Thread, CNalShellUIThread::AddRef() 4
    INFO, 15:33:28.561, USER, 0xb68, 0xb74, NS UI Thread, NAL engine is processing the command line...
    INFO, 15:33:31.76, USER, 0xb68, 0xb74, NS UI Thread, Queried for _INalEvents
    INFO, 15:33:31.76, USER, 0xb68, 0xb74, NS UI Thread, CNalShellUIThread::AddRef() 5
    INFO, 15:33:31.170, USER, 0xb68, 0xb74, NS UI Thread, Enter OnNEEndRefresh
    INFO, 15:33:31.233, USER, 0xb68, 0xb74, NS UI Thread, Exit OnNEEndRefresh
    CRIT, 15:33:31.233, USER, 0xb68, 0x5f0, NalWin, NalWin failed to initialize
    INFO, 15:33:31.248, USER, 0xb68, 0x5f0, NalShell, NalShell is unloading...
    INFO, 15:33:31.248, USER, 0xb68, 0xb74, NS UI Thread, Exiting message loop - Received WM_QUIT
    INFO, 15:33:31.248, USER, 0xb68, 0xb74, NS UI Thread, In CNalShellUIThread::StopViews
    INFO, 15:33:31.248, USER, 0xb68, 0xb74, NS UI Thread, Entering StopNalEngine
    INFO, 15:33:31.248, USER, 0xb68, 0xb74, NS UI Thread, CNalShellUIThread::Release() 4
    INFO, 15:33:31.248, USER, 0xb68, 0xb74, NS UI Thread, CNalShellUIThread::Release() 3
    INFO, 15:33:31.248, USER, 0xb68, 0xb74, NS UI Thread, CNalShellUIThread::Release() 2
    INFO, 15:33:31.248, USER, 0xb68, 0xb74, NS UI Thread, CNalShellUIThread::Release() 1
    INFO, 15:33:31.248, USER, 0xb68, 0xb74, NS UI Thread, Exiting StopNalEngine
    INFO, 15:33:31.248, USER, 0xb68, 0xb74, NS UI Thread, Uninitialized Com
    INFO, 15:33:31.248, USER, 0xb68, 0xb74, NS UI Thread, Closing Nal Shell Thread
    INFO, 15:33:31.342, USER, 0xb68, 0x5f0, NS UI Thread, Destroyed NAL Shell UI Thread
    INFO, 15:33:31.342, USER, 0xb68, 0x5f0, NS UI Thread, CNalShellUIThread::Release() 0
    INFO, 15:33:31.342, USER, 0xb68, 0x5f0, NalWin, Terminating NalWin
    Thks.
    Last edited by aiovell; 13-Jun-2012 at 03:01 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •