Upgrade to 4.2.4. Error during component installation. The folder path 'c:' contains an invalid character

roduct: PowerShell Universal
Version: 4.2.4

Operating system: Windows 2022
Upgrading

Error: The folder path ‘C:’ contains an invalid character.

Screenshot included:
image

Can you suggest what has gone wrong here and how it can be resolved.

I set the PowerShell Universal service to disabled start and rebooted the server. The error continues.

The application is installed to the default folder.

There are no related logs in the system or application event log.