Installation of some prerequisites fails even after machine restart
Problem1: Due to the presence of a value in the PendingFileRenameOperations registry key, installation of the following prerequisites fails even after restarting the machine.
Platform Prerequisites
- WinCC OA
- Microsoft SQL Server 2019
- Automation License Manager
Extension Prerequisites
- S7 Communication Layer (Simatic S7 extension prerequisite)
Cause: A registry key PendingFileRenameOperations exists in the registry that stores file paths. After restarting the machine when installing Desigo CC , it is expected that Windows should replace, rename, or delete these file paths and then clear the value of the PendingFileRenameOperations key. However, in some cases the value of the PendingFileRenameOperations key is not cleared even after machine restart. During installation of the above mentioned prerequisites, a check is performed to determine if the value of the PendingFileRenameOperations key is empty. If the value is not empty, then the installation of the prerequisite is aborted and the installation fails.
Solution: If the prerequisite installation fails even after restarting the machine, then delete the PendingFileRenameOperations key (if present) at the following registry locations:
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager
- HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired
Problem2: Installation of any of the following prerequisites fails:
- ASP.NET Core 6.0 Runtime Hosting Bundle (v6.0.16)
- Microsoft .NET Desktop Runtime 6.0.16
Cause: Due to presence of higher version of .NET Runtime, the installation of any of the above prerequisites fails.
Solution: You must first uninstall prerequisites with higher version of .NET Runtime.
- Navigate to Control Panel > Programs > Programs and Features.
- Uninstall the higher .NET Runtime versions.
- Install the prerequisites manually from installation media ...Installer DVD\Install Files\GMS\Prerequisites\Microsoft .net:
- ASP.NET Core 6.0 Runtime Hosting Bundle (v6.0.16)
- Microsoft .NET Desktop Runtime 6.0.16