The installer for Qlik Sense Enterprise on Windows does not currently allow custom paths for data stored in C:\ProgramData, but you have configured a Symbolic Link in order to move this data to a different drive.
This symbolic link will be removed during an upgrade attempt and, given the local folder is now empty (as it was just a symlink pointer), the installer cannot continue to validate existing settings and fails, usually when validating the Superuser password. An example from the Installer log:
[2560:2C90][2021-10-26T10:39:40]i000: Could not validate database user.
[2D18:0F6C][2021-10-26T10:39:40]e000: Error 0x80070643: Failed to install MSI package.
[2D18:0F6C][2021-10-26T10:39:40]e000: Error 0x80070643: Failed to execute MSI package.
[2560:2C90][2021-10-26T10:39:40]e000: Error 0x80070643: Failed to configure per-machine MSI package.
[2560:2C90][2021-10-26T10:39:40]i000: Detected failing msi: PostgreSQL
Environment
All currently supported versions - Qlik Sense Enterprise on Windows
Resolution
Pending Installer improvement that allows custom paths for local data folders.
Information provided on this defect is given as is at the time of documenting. For up to date information, please review the most recent Release Notes, or contact support at support.qlik.com with the ID QB-7955 for reference.
Workaround:
The following additional steps are needed to upgrade successfully:
Stop all services
Remove symbolik link
Move existing ProgramData content back to C:\ProgramData\Qlik