Need4Viz setup hangs during installation

Anonymised summary of support ticket #815813 (2025-01-10)

Symptom

The installer for Need4Viz release 2024.4.9 freezes during execution and does not respond, requiring a forced termination. The process may eventually complete after an extended period (e.g., 30 minutes).

Environment

Windows server environment with Need4Viz services installed. The issue may be related to the size of the `ce_works` directory in the Node.js modules folder.

Resolution

  1. Before launching a Need4Viz update setup, manually delete the contents of the `Need4Viz\nodejs\node_modules\custom_element\ce_works` directory to ensure a faster setup and service restart process.
  2. If the setup still hangs, check Windows Event Viewer for errors related to Node.js or service restarts, particularly those mentioning Application SID mismatches.

Other resolution

The issue may be exacerbated if the `ce_works` directory contains a large number of files (e.g., due to extensive HTML/PNG/CSV exports). Clearing this directory before installation can prevent delays.