Error launching bundle that has registry system requirement

  • 7003681
  • 28-Jun-2009
  • 27-Apr-2012

Environment

Novell ZENworks 10 Configuration Management with Support Pack 1 - 10.1 Bundles

Situation

Bundle has System Requirement checking for registry key/value

ERROR: "RegValueExistsRequirementHandler
System.ArgumentOutOfRangeException: Length cannot be less than zero."



Resolution

This is fixed in version 10.2 - see KB 7003225 "ZENworks 10 Configuration Management with SP2 (10.2)" which can be found at https://www.novell.com/support

Additional Information

This error can be seen if either:
a) the requirement looks for a key/value immediately under HKLM (HKEY_Local_Machine) or HKCU (HKEY_Current_User)
or
b) HKEY_Local_Machine or HKEY_Current_User is misspelled in the system requirement