(done) Offline installation fails with VS 15.5.5
16 posts
• Page 1 of 2 • 1, 2
(done) Offline installation fails with VS 15.5.5
I could install 'PHP Tools for Visual Studio 2017' (v1.25.10474.2017) in VS 15.5.2 without an internet connection - and it worked. With Visual Studio 15.5.5 the installation always fails (I tried v1.25.10474.2017 and vs.1.25.10517.2017), Reporting "failed to download" errors (the dependencies are already installed). I have already tried it with disabled automatic update settings. VS runs on Windows 10 64bit with German language settings.
If I uninstall the extension in an updated VS installation (from 15.5.2 to 15.5.5) I cannot install it again. That means I cannot install any updates of the extension.
I reported the problem to Microsoft: https://developercommunity.visualstudio.com/content/problem/191203/offline-installation-of-php-tool-extension-does-no.html
They replied: "We have determined that this issue belongs to https://www.devsense.com/ "
I have to work without internet connection on my development machine - it's a security policy.
If I uninstall the extension in an updated VS installation (from 15.5.2 to 15.5.5) I cannot install it again. That means I cannot install any updates of the extension.
I reported the problem to Microsoft: https://developercommunity.visualstudio.com/content/problem/191203/offline-installation-of-php-tool-extension-does-no.html
They replied: "We have determined that this issue belongs to https://www.devsense.com/ "
I have to work without internet connection on my development machine - it's a security policy.
- mgnowak
- Posts: 7
- Joined: January 30th, 2018, 9:11 am
Re: Offline installation fails with VS 15.5.5
Hello,
Thanks for contacting us.
Could you please send us VSIX log from the installation. You should get the log after failing to install. That would really help.
Thank you so much!
Thanks for contacting us.
Could you please send us VSIX log from the installation. You should get the log after failing to install. That would really help.
Thank you so much!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Offline installation fails with VS 15.5.5
I'm not the only developer with this issue in our organisation - we have to work without an internet connection and we upgraded to VS2017 15.5.5 weeks ago - nobody can install the plugin.
The attached zip file contains the logs.
The attached zip file contains the logs.
You do not have the required permissions to view the files attached to this post.
- mgnowak
- Posts: 7
- Joined: January 30th, 2018, 9:11 am
Re: Offline installation fails with VS 15.5.5
Hi,
Unfortunatelly this log doesn't contain information from the installation. Could you please send VSIX log? You wil get the log after failing to install of the extension.
Thank you so much,
Unfortunatelly this log doesn't contain information from the installation. Could you please send VSIX log? You wil get the log after failing to install of the extension.
Thank you so much,
You do not have the required permissions to view the files attached to this post.
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Offline installation fails with VS 15.5.5
The logs of multiple PHP-Tool install attempts were included in the Zip-file.
You do not have the required permissions to view the files attached to this post.
- mgnowak
- Posts: 7
- Joined: January 30th, 2018, 9:11 am
Re: Offline installation fails with VS 15.5.5
Second error dialog
You do not have the required permissions to view the files attached to this post.
- mgnowak
- Posts: 7
- Joined: January 30th, 2018, 9:11 am
Re: Offline installation fails with VS 15.5.5
Hi,
sorry I haven't noticed the vsix logs in the original zip.
The error message really doesn't make sense because the guid is our package and you already have vsix downloaded. So I'm convinced it's some Microsoft component we need and it's failing to download.
I would suspect it's ASP.NET and web development tools workload, which is required for HTML,JS and CSS editor which we reuse.
We've tried to install our vsix package on the VS 2017 (15.5 and 15.6) offline and it worked. Both Visual Studios had ASP.NET and web development tools workload installed.
Please try this to get a installer with the workload https://www.hanselman.com/blog/HowToMakeAnOfflineInstallerForVS2017.aspx or let me know if you already have the workload.
Thank you!
sorry I haven't noticed the vsix logs in the original zip.
The error message really doesn't make sense because the guid is our package and you already have vsix downloaded. So I'm convinced it's some Microsoft component we need and it's failing to download.
I would suspect it's ASP.NET and web development tools workload, which is required for HTML,JS and CSS editor which we reuse.
We've tried to install our vsix package on the VS 2017 (15.5 and 15.6) offline and it worked. Both Visual Studios had ASP.NET and web development tools workload installed.
Please try this to get a installer with the workload https://www.hanselman.com/blog/HowToMakeAnOfflineInstallerForVS2017.aspx or let me know if you already have the workload.
Thank you!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Offline installation fails with VS 15.5.5
Hi,
Further analysis shows offline VS installation even with ASP.NET workload still has the issue you are describing. But we've discovered that cause of the issue is different.
VSIX installer (through Windows API) cannot verify our signature signed by DigiCert offline and therefore doesn't allow installation. When you are online Windows API installs necessary certificates automatically.
Here is more information you can give to your admin
https://docs.microsoft.com/en-us/visualstudio/install/install-certificates-for-visual-studio-offline
We are still investigating the issue and we will inform what exact certificates are necessary.
Thank you,
Further analysis shows offline VS installation even with ASP.NET workload still has the issue you are describing. But we've discovered that cause of the issue is different.
VSIX installer (through Windows API) cannot verify our signature signed by DigiCert offline and therefore doesn't allow installation. When you are online Windows API installs necessary certificates automatically.
Here is more information you can give to your admin
https://docs.microsoft.com/en-us/visualstudio/install/install-certificates-for-visual-studio-offline
We are still investigating the issue and we will inform what exact certificates are necessary.
Thank you,
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Offline installation fails with VS 15.5.5
Hi,
Small update.
None of the certificates listed here will not fix that https://docs.microsoft.com/en-us/visualstudio/install/install-certificates-for-visual-studio-offline
I've explained the issue to Microsoft here https://developercommunity.visualstudio.com/content/problem/191203/offline-installation-of-php-tool-extension-does-no.html
The issue is caused by Windows Crypto API trying to check our certificate and failing because it uses internet and VSIX installer is showing a dialog with unhelpful message, that packages failed to download.
We are trying to find a workaround so Windows Crypto API will be satisfied without the need to connect internet.
Thanks
Thanks
Small update.
None of the certificates listed here will not fix that https://docs.microsoft.com/en-us/visualstudio/install/install-certificates-for-visual-studio-offline
I've explained the issue to Microsoft here https://developercommunity.visualstudio.com/content/problem/191203/offline-installation-of-php-tool-extension-does-no.html
The issue is caused by Windows Crypto API trying to check our certificate and failing because it uses internet and VSIX installer is showing a dialog with unhelpful message, that packages failed to download.
We are trying to find a workaround so Windows Crypto API will be satisfied without the need to connect internet.
Thanks
Thanks
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Offline installation fails with VS 15.5.5
One more update:
We've discovered the VSIX installer is hard coded to check the certificate online and there isn't any workaround for this. We've written our findings to original issue posted on visual studio forum. Unfortunatelly now we can just wait for Microsoft to answer and provide solution.
Thank you for your patience
We've discovered the VSIX installer is hard coded to check the certificate online and there isn't any workaround for this. We've written our findings to original issue posted on visual studio forum. Unfortunatelly now we can just wait for Microsoft to answer and provide solution.
Thank you for your patience
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
16 posts
• Page 1 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 53 guests