Error installing ZESM and rollback during system update

  • 7012456
  • 21-May-2013
  • 28-Oct-2013

Environment

Novell ZENworks Configuration Management 11.2

Situation

Error installing ZESM and it rolls back.

ERROR (from zesm_install_log*.txt:

5/9/2013 9:02:02 AM --  Inside Do-While before START call, service name: IP Helper with status: Stopped
5/9/2013 9:02:14 AM --  Exception for checking service state: System.InvalidOperationException: Cannot open iphlpsvc service on computer '.'. ---> System.ComponentModel.Win32Exception: A system shutdown is in progress
   --- End of inner exception stack trace ---
   at System.ServiceProcess.ServiceController.GetServiceHandle(Int32 desiredAccess)
   at System.ServiceProcess.ServiceController.GenerateStatus()
   at System.ServiceProcess.ServiceController.get_Status()
   at q.a(String[] A_0)
5/9/2013 9:02:14 AM --  Action successfull and returning: 0


ERROR: in setup.exe.log:

MSI (s) (F4:48) [09:02:14:488]: Note: 1: 1722 2: AddFeatureZESM 3: C:\Windows\TEMP\{D6C5BB8D-8A3A-495F-8252-DF4E0731209B}\ 4: "C:\Windows\TEMP\{D6C5BB8D-8A3A-495F-8252-DF4E0731209B}\\InstallHelper.exe" "-addFeature" "ZESM"
CustomAction AddFeatureZESM returned actual error code -1073741502 (note this may not be 100% accurate if translation happened inside sandbox)
Error 1722.There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action AddFeatureZESM, location: C:\Windows\TEMP\{D6C5BB8D-8A3A-495F-8252-DF4E0731209B}\, command: "C:\Windows\TEMP\{D6C5BB8D-8A3A-495F-8252-DF4E0731209B}\\InstallHelper.exe" "-addFeature" "ZESM"
MSI (s) (F4:48) [09:02:14:488]: Product: Novell ZENworks Endpoint Security Agent -- Error 1722.There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action AddFeatureZESM, location: C:\Windows\TEMP\{D6C5BB8D-8A3A-495F-8252-DF4E0731209B}\, command: "C:\Windows\TEMP\{D6C5BB8D-8A3A-495F-8252-DF4E0731209B}\\InstallHelper.exe" "-addFeature" "ZESM"




Resolution

This is fixed in version 11.2.4 - see KB 7012027 "ZENworks Configuration Management 11.2.4 - update information and list of fixes" which can be found at http:////support.microfocus.com/kb/doc.php?id=7012027 

Workaround:

Don't shutdown the workstation during system update or manual install.
Re-apply the System update or Manually run the setup outside of System Update.

If the failed setup has rolled back and made the agent dysfunctional, it may be necessary to run setup manually:

setup.exe /V"STRBR=ReallySuppress INSTALLDIR=\"%ZENWORKS_HOME%\esm\" TARGETDIR=\"%ZENWORKS_HOME%\esm\" /lvx* \"C:\Program
Files\Novell\ZENworks\logs\system-update\5011020300fc50000000002013041002\setup.exe.log\"
 INSTALLDRIVERS=0 "


Note the "escaping" of the quotes \" is deliberate

INSTALLDRIVERS can be set to 0 if ZESM is to be disabled and location lite used, or 1 if not.

STRBR=ReallySuppress means the upgrade will NOT automatically reboot the machine once the upgrade is finished. Note that until the device is rebooted, the ZESM component is non-functional, so features such as Location awareness, ZESM policies will not function.