Automatically uninstalling the original ZfD4 agent
Novell Cool Solutions: Feature
By Shaun Pond
Digg This -
Posted: 18 Jun 2003
If you upgrade the ZENworks for Desktops 4.x Management Agent from the shipping (InstallShield) version to the Support Pack (MSI) version on Windows 98SE, you are required to uninstall the old version, before you can install the new version. The agent does not come with an automatic way to do this.
The sequence shown below has been tested with an agent installed on W98SE, and should allow you to automate the first part of the upgrade.
To uninstall the original agent from the command line
- Get autoit from http://www.hiddensoft.com/AutoIt (it's free).
- Run autoit with this script.
; This script will remove the ZfD4 shipping agent and reboot
Run, "C:\\PROGrAM FILES\\COMMON FILES\\INSTALLSHIELD\\DRIVER\\7\\INTEL 32\\IDRIVER.EXE"
WinWaitActive, InstallShield Wizard,&Remove
WinWaitActive, Confirm Uninstall
winWaitActive, Novell ZENworks Management Agent Installation, reboot of the workstation
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com