We have just installed a ZenWorks 7 Server, now the next challenge is to
install the client on all the workstations. I've written a line in the
login script :-

REMARK **ZENworks Management Agent**
WRITE ""
REGREAD "HKLM,SOFTWARE\NOVELL\ZENWorks,Version"
IF %99 <> "7.0.0.0" THEN
#msiexec /i \\zen01
\sys\public\zenworks\zfdagent\English\ZfDAgent.msi /qn+
STARTUP_APPEXPLORER=1 ADDLOCAL=ALL
MT_SERVER_ADDRESS=zen01.ealingpct.nhs.uk
LOGIN_PASSIVE_MODE=0 ZENWORKS_TREE=EPCT-TREE
ELSE
WRITE "Zenworks Management Agent is already installed."
ENDIF

along with some code to check the registry to see if it's already
installed. It all seems to work OK but it just goes into a reboot every
time, even though it sees that the product is already installed and tells
me so in the Results page.

I used something similar to install the Agent for 4.x but can't for the
life of me remember the exact syntax.

Can someone tell me what I've done wrong?