[CA-112773] Retry registering assembly with WMI

To avoid issues at start of day where WMI is not fully initialised when the
installer starts, we retry for up to 30 seconds in the event of any
failures.  If unsuccessful we now cause an installer failure rather than
entering an inescapable loop.

Signed-off-by: Ben Chalmers <Ben.Chalmers@citrix.com>