Installation ended prematurely with below error. Also found a warning related AF SDK in a step just before installation starts and ends prematurely. Attached installation log.
Tagging some Pi experts for help on this error please Roger Palmen Jose Sanchez Colunga Steve Boyko Rhys Kirk
there was a similar post as below but I couldn't find any solution for this.
What was the warning about AF SDK? What version of the PI AF Client is present?
Have you tried rebooting the machine? It's possible there is a pending install that is waiting for a reboot (.NET 4.8 typically wants this).
Another tactic is to start the setup process, taking note of where it extracts the files. Once it unpacks the files, go to the directory containing the unzipped files and execute the particular MSI package directly. You may get a better error message. From your log it looks like PI_OPCDA2(x64).msi is the one to execute.
Finally, you could also uninstall the PI OPC DA Server yourself in Add/Remove Programs before running the setup program.
OSIsoft technical support can also assist you with a remote session.
Thanks!. I have rebooted machine many time in the process. We have not installed any version of OPC server on this machine before. The installation is attempted for the first time. Since then the installation fails at the last step.
Also Tried below:
Uninstalled all PI components on the machine
Installed AF clinet 2018 Sp1 separately
attempted the OPC DA 2018 server installation. it's the same error.Is there anything to check with PI server version also.
What is the OS version? Looking at the error in the logs, I think you may be missing some C++ redistributables.
I would look specifically for Visual C++ 2013 Redistributable (x64) and 2015 (2015 is packaged with 2017 and 2019 nowadays too)
If you are missing the x64 2013 redistributables, then just download and install them from Microsoft's official website.
OS is Windows 2012 r2.I have done as suggested by installing VS2019 but its the same issue. Also I tried to install 2010 DA server it got installed and then I tried to install PI OPC 2017 DA server triggered same error. Attached today's log here. unfortunately the Middleeast osisoft support team had looked into it remotely but couldn't help!.
As mentioned above, you'll need the x64 2013 C++ redistributables. Still looks like that is what you are missing.
Download Visual C++ Redistributable Packages for Visual Studio 2013 from Official Microsoft Download Center
You can see the installed version in your list of installed programs (appwiz.cpl)
Thanks. something unusual with this package installed you highlighted. As I observed that osisoft support member manually installed it earlier but as per programs and features on the server it looks as below.
I tried to uninstall and install again, installation just started and quickly appeared as setup successful but the it looks same as shown below. Is it due to the newer version of this package is already exist as shown below. I am not sure if I uninstall the 12.0.40660 and try installing 12.0.3050.
Retrieving data ...