Novell Home

Keeping ConsoleOne Current Using ZENworks

Novell Cool Solutions: Tip
By Ashley Fuller

Digg This - Slashdot This

Posted: 23 May 2005
 

Ever wish you could keep ConsoleOne up-to-date on your PC every time you run it using ZENworks? Here's how you do it.
(Editor's Note: "Note that the parameters for C1UPDATE.EXE would normally point to the 1.2 directory (e.g. sys:public\mgmt\consoleone\1.2) of the source and destination, to avoid the risk of copying unnecessary files".)

Create an app object that runs a pre-launch script using c1update.exe to synch it locally. I publish a master copy of ConsoleOne at every site. The App object uses %fileserver as the source_path to keep it generic so when I roam it uses the server you are connected to. I use ZENith to deploy the generic object out to all sites. See the AXT.

Example

AXT_FILE 3.1

[Application Name]
Value=ConsoleOne135-Win32

[Application Caption]
Value=ConsoleOne

[Macro]
Name=TARGET_PATH
Value=C:\Progra~1\Novell\ConsoleOne

[Macro]
Name=SOURCE_PATH
Value= \\%FILESERVER%\Vol1\Apps\Nal\Win32\ConsoleOne135-Win32 

[Application Admin Notes]
File=ADMN4823.TXT

[Application Description]
File=DESC18BE.TXT

[Application Path]
Value=%TARGET_PATH%\1.2\Bin\ConsoleOne.exe

[Application Flags]
Flag=Prompt Before Distribute

[Application Icon]
File=APP6784.ICO

[Application Platform]
Flag=Windows NT

[Application Startup Script]
File=PRE4AE1.TXT

[Application Working Directory]
Value=%TARGET_PATH%\1.2\Bin\

[Directory Create]
Directory=%TARGET_PATH%

[Filter OS Version]
Type=Windows NT
Major Version=5
Minor Version=0
Revision Version=-1
Flag=Less Than or Equal

[Application Custom Folder]
Flag=Launcher
Flag=Start Menu
Path=\Company Name Applications\ConsoleOne

[Application Association Flags]
Flag=Launcher
Flag=Start Menu

[Application Version Number]
Value=1

[Application Launch Script Player]
Value=cmd.exe /c

Pre-launch Script

@echo off
echo.
echo.
echo Checking for ConsoleOne updates, please wait
echo ....

\\%FILESERVER%\sys\public\zenworks\c1update.exe %SOURCE_PATH% %TARGET_PATH% /s

If you have any questions you may contact Ashley at ashley.fuller@wpcorp.com.au


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

© 2014 Novell