Wonderware Installation Broken
To circumvent this problem, apply the primary workaround outlined in KB5022083, also referenced here:
Microsoft identified a compatibility workaround for this issue and made a PowerShell script to resolve the issue.
To install the compatibility workaround, complete the following steps.
Download the PowerShell script Microsoft link to PowerShell script (or download the attached file) :
Open a PowerShell prompt as an administrator. Within the prompt, navigate to the directory where the script was downloaded. Run the command within the prompt:
.\kb5022083-compat.ps1 -Install
If the command succeeds, it will print Installation completed. to the console window. If the command fails, it will display the reason for failure. To remove the compatibility workaround, follow the same steps as above, but replace step (4) above with:
.\kb5022083-compat.ps1 -Uninstall
After the compatibility workaround is installed, WPF-based applications which display XPS documents should continue working as they did before the December 2022 and / or January 2023, security updates.
IMPORTANT: KB5022083 also lists an alternate workaround. AVEVA does not recommend the workaround because of potential inherent vulnerabilities. AVEVA recommends applying only the primary workaround listed in Microsoft KB5022083.
No Comments