Could not install C# plug-in downloaded from homepage. The installation aborts with following messages
I have installed Visual Studio 2017 version 15.9.11. Additional Visual Studio 2019 is installed.
Hello,
can you please tell me your installation path of Visual Studio 2017?
On my Machine the installation works fine for VS 2015 and 2017 Professional. I have also installed VS 2019 but it is not supported by the plug-in yet and therefore ignored from the installation.
The default Path is:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\
I have the same problem on installing it, but with visual studio 2017 enterprise. When i try to run the installation file "PLCnext Technology Development Tools for Visual Studio.msi" i get this error:
Ok, the path information did not help to locate the issue.
Could you please tell me the value of the "ShellFolder" registry entry for Visual Studio 2015
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0\
and for Visual Studio 2017 the value of the "15.0" Key found in
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7
- Marcel
Here are the values from my registry:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\14.0\ShellFolder --> C:\Program Files (x86)\Microsoft Visual Studio 14.0\
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\SxS\VS7\15.0 --> C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\
-Stefan
Ok, nothing unexpected again. Now there is one more option to get the information we need.
We force the MSI installer to log everything he is doing into a logfile. For this you have to set the following registry key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer]
"logging"="voicewarmup"
After installing the addin with the error appearing you will find an MSI###.LOG in your %temp% folder.
You can try to analyze it yourself or send it to me via email to mluhmann (at) phoenixcontact.com.
- Marcel
Thanks a lot Marcel. Now i could install it. I have checked the log file and saw that the installation process tried to concat the paths of my Visual Studio 2019 and Visual Studio 2017 installations.
Property(N): VS_INSTALLATIONPATH_ENTERPRISE = C:\Program Files (x86)\Microsoft Visual Studio\2019\EnterpriseC:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise
My quick fix solution for this error was to rename the path from visual studio 2019 installation to a temporary other path. Then the installation was successfull. After installation i renamed the visual studio 2019 back to its origin name.
-Stefan
Share this: #plcnext #iamplcnext