Visual Studio 2017 installer fails to install KB2533623 - windows-7

I'm trying to install Visual Studio 2017 Community via web installer on my Windows 7 laptop and it fails, returning me this log:
dd_setup_..._error.log (translated into English from me, since it was in German)
Package "WindowsUpdates.KB2533623,version=15.0.26711.1,chip=x64" could not be installed.
Search-URL
https://aka.ms/VSSetupErrorReports?q=PackageId=WindowsUpdates.KB2533623;PackageAction=Install;ReturnCode=1168
Details
Command executed: "C:\Windows\system32\dism.exe" /online /quiet /norestart /add-package /packagepath:"C:\Users\User\AppData\Local\Temp\462b07d7-22c4-4fb6-8bd8-78e9e210c711\Windows6.1-KB2533623-x64.cab" /logPath:"C:\Users\User\AppData\Local\Temp\dd_setup_20170916213606_141_WindowsUpdates.KB2533623.log"
Code returned: 1168
Codedetails returned: Element not found.
KB2533623 is not installed at my Laptop, so I tried to install KB2533623 x64 by myself, but it's rejecting with the words "The update is not applicable to your computer".
After some research I found SCCMENTOR who is claiming KB2533623 is superseded by KB2758857, so I tried to uninstall KB2758857, first. There was an error that I could not uninstall all updates. Repeating the step in a local system CMD with wusa /uninstall /kb:2758857 returned 0x80070490. Microsoft suggests to scan the system for corrupt files with sfc /scannow, so I did. It found some errors and fixed them.
I repeated wusa /uninstall /kb:2758857 and it returned 0x80070bc9. Then I restarted and tried it another time and it gives me 0x80070490, again.
I'm not sure I'm on the right path, maybe KB2533623 is not the problem here. How can I fix the problem, so the Visual Studio installer is able to install KB2533623 that is required by so many components of the suite? If KB2533623 is really superseded by KB2758857, why the installer tries to install KB2533623 at all, if KB2758857 is already installed on my laptop?

Microsoft fixed it in Visual Studio 2017 15.5 Preview 3
Visual Studio 2017 15.3 installation fails with „Failed to install WindowsUpdates.KB2533623“ error message.
Visual Studio 2017 install fails due to missing Windows6.1-KB2533623-x64.cab.
So wait for the Final of the Visual Studio 2017 version 15.5 and use the updated installer.

​Hello people!
I had the same problem, and I found that the KB2533623 superseded by KB2758857.
I checkout if this update was installed in my PC. You can check it running this command:
wmic qfe list | find "2758857"
This will show something like this if it was installed:
http://support.microsoft.com/?kbid=2758857 MyMachine Security Update KB2758857 AUTORIDADE NT\SISTEMA 9/2/2016
So, I removed it with this command:
wusa /uninstall /kb:2758857
After this I can install with success the visual studio 2017.
I hope it can help you.

Related

Couldn't install "packageName" and "anotherPackageName"

I am switching to Visual Studio 2022 for .Net core 3.1 but Installer can't install two packages.
I tried uninstall and reinstall too much but it cannot resolve this problem.
Errors:
Couldn't install Microsoft.VisualStudio.MinShell.Interop.Shared.Msi
Couldn't install Microsoft.AspNetCore.SharedFramework.6.0.6.0.1-servicing.21567.14.x64
How can I fix it? Can you help me?
Deep Note: I'm using Windows 10 home single language.
I fixed this problem, my message code is 1911 (you can see on logs).
If you have same problem you can follow this way:
Open Command prompt as administrator.
Type "sfc /scannow".
Reboot your computer when the process is complete.
Repair the Visual Studio installation.

How do I fix visual studio installer (2019 community) is empty?

I downloaded the visual studio 2019 community installer and ran it. It ran successfully but instead of opening the visual studio installer when it completed it just closed. I located the visual studio installer 'setup.exe' (under C:/Program Files (x86)/Microsoft Visual Studio/Installer) and ran it. It opens the installer but instead of allowing me to select tools to install it just has 2 empty tabs labeled 'installed' and 'available' and a side bar that shows developer news.
I don't have any antivirus or firewall running. I uninstalled every version of visual studio I had in case the installer was assuming I already have VS2019. I updated windows and my drivers.
EDIT:
I had a hunch that I might find something out by using 'setup -h' in command prompt. It appears that it may be possible to install vs2019 by using the right tags.
I guessed
setup install --productid Microsoft.VisualStudio.Product.Community --channelid VisualStudio.15.Release
might work but the installer says "
A product matching the following parameters cannot be found:
channelId: VisualStudio.15.Release
productId: Microsoft.VisualStudio.Product.Community
"
If you know what the right tags are that might be an adequate solution.
Please try to reinstall it:
1) run cmd as Administrator and then type:
"%programfiles(x86)%\Microsoft Visual Studio\Installer\resources\app\layout\InstallCleanup.exe" -full
2) restart vs_installer again.

(VisualStudio) The feature you are trying to use is on a network resource that is unavailable

Trying to simply install latest VS 2017 Community Edition in Windows 10 but get a popup error
Common error but have tried all suggested solutions including
1) Clean Boot
2) Running the "Microsoft Fix" Diagnostic tool
3) Running VS2017 Installer as administrator with Repair option
4) Uninstalling VS 2015 first
5) Installing VS 2015 first
6) Running vc_redist.x86.exe
7) Running vcredist_x64.exe
8) Tried uninstalling EVERYTHING related to visual studio using Revo Uninstaller and then reinstalled VS 2017
But I STILL get the popup error. Actually the same error on #'s 3,5,6,7,8 above!! Can anyone help?
Geesh, installing software shouldn't take 3 days googling...
The VS error log shows the following
Package 'Microsoft.VisualCpp.Redist.14,version=14.11.25325,chip=x86'
failed to install.
Search URL
https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualCpp.Redist.14;PackageAction=Install;ReturnCode=1603
Details
Command executed: "C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualCpp.Redist.14,version=14.11.25325,chip=x86\VC_redist.x86.exe"
/q /norestart /log
"C:\Users\art3mis\AppData\Local\Temp\dd_setup_20170815135802_001_Microsoft.VisualCpp.Redist.14.log"
Return code: 1603
Return code details: Fatal error during installation.
Log
C:\Users\foo\AppData\Local\Temp\dd_setup_20170815135802_001_Microsoft.VisualCpp.Redist.14.log
Impacted workloads
Game development...

Visual Studio 2015 Update 3 Installation/Change Fails - "The parameter is incorrect"

I am trying to install the Visual Studio 2015 Update 3, but I am receiving an error each time. I have tried both the web installer and the ISO, and I have also tried going into Control Panel/Programs and modifying the 2015 install. All of these result in the same error: "Setup Engine - The parameter is incorrect". I've read about some of the other issues with the installer, but I'm hoping somebody else might have seen this one or something similar. The logs always have the following error in them:
[1B10:1DA0][2016-07-18T11:39:28]e000: Error 0x80070057: Failed to convert version: to DWORD64 for ProductCode: {284FA9A0-CEDD-81D3-5A19-5858E95FD0C4}
[1B10:1DA0][2016-07-18T11:39:28]e151: Detect failed for package: Win10_Universal_CRT_SDK_Extension_SDK, error: 0x80070057
I have even tried to download the full installer for VS2015, but all installers seem to run through the same error. Any ideas on how I might repair this particular component so the installs will succeed?
Additional information, this is happening on a VM of Windows 10 running in Parallels 11.
Screen shot of installer failing
I found a similar issue here: https://connect.microsoft.com/VisualStudio/feedback/details/974081/visual-studio-update-3-installation-keeps-failing-error-message-setup-engine-the-parameter-is-incorrect
The reply from Heath[MSFT]:
The logs confirm that some of your Windows Installer product
registration is corrupt. For the first issue, open a command prompt
(preferably elevated to avoid multiple UAC prompts later) and run the
following:
start /wait msiexec /fomus {284FA9A0-CEDD-81D3-5A19-5858E95FD0C4} REINSTALL=ALL
That should get
you past the first problem. If it does not, manually remove the
product like so and re-install it from the package cache:
start /wait msiexec /x {284FA9A0-CEDD-81D3-5A19-5858E95FD0C4} IGNOREDEPENDENCIES=ALL
start /wait msiexec /i "C:\ProgramData\Package Cache\{A79F6653-6AF1-4AF2-BC15-F5D6C05E1E6A}v2.0.40326.0\packages\sptoolsDependencies\enu\WorkflowManagerTools_x64.msi" ADDLOCAL=ALL NOVSUI=1
(change the above file
WorkflowManagerTools_x64.msi according to your log file record) After
this, installing VS Update 3 should work.
I had a very similar problem which at its root exhibited the same issue identified above in the Visual Studio 2015 Update 3 setup error (I couldn't install SSMS 17.1 which uses the Visual Studio 2015 Isolated Shell). I tried the solution above which unfortunately did not work for me. I did some more digging through the vs_isoshell.exe log file and found lines similar to those below.
[6BE0:36E0][2017-07-13T13:05:36]i000: Error 0x80070057: Failed to convert version: to DWORD64 for ProductCode: {9A7E3828-17FB-3E0C-9B28-48493E01937A}
The ProductCode refers to the "Microsoft Visual C++ 15 x86 Debug Runtime - 14.10.24269".
A perusal of my installed programs showed I did not have this installed, and I was unable to install it again due to a later version being present (it turns out it was upgraded, or removed, when I installed Visual Studio 2017).
I did some more searching and came across this page which had steps I adapted to my situation. I performed the same registry profiling of the installer with Process Monitor and the same key was missing. I added a key called DisplayVersion (string - REG_SZ) to the path below with a value of 14.10.24629 and that worked.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\8283E7A9BF71C0E3B9828494E31039A7\InstallProperties]
Adding the key/value pair allowed the installation of the VS 2015 Update 3 Isolated Shell to finish successfully which in turn allowed the SSMS 17.1 installation to complete successfully.

Visual Studio 2015 Preview install error

I am trying to install the new preview for Visual studio 2015, every time I run the installer I get the error:
This version of Visual Studio requires the April 2014 update to Windows 8.1 and Windows Server 2012 R2 known as KB 2919355.
I have run the windows updater, so don't know what the problem is.
Has anyone else had this problem, and if so how did you fix it?
When I've tried to install KB 2919355 - I got next message:
this update is not applicable to your windows...
Than from '''Known issues with this update''' section I've installed next updates:
2939087
2975061
Rebooted system and installed 2919355 update again.
This was my major problem after a fresh install of Windows 8.1 Pro. When i was trying to install Visual Studio Community it required the KB 2919355 and i was more careful and downloaded the specific update for x64 system architecture.. and it worked for me !

Resources