WireShark install fails on Windows 10 with error 1603
The error points to not not having the VC++ redistributable installed. However, this is Windows 10 build 17763.615. There is no upgrade available for the VC++R. I only see VC++ 2008,2010,2013 & 2015 in my installed updates.
Build 17763.615 appears to be a not quite up to date variant of 1809, MS lists the current 1809 build as 17763.652 here.
As you say there should be no issue with the VC runtime on that OS.
Which version of Wireshark and is it a regular release, or built by yourself?
Win 10 - 1809, you are correct. WS 3.03 x64 downloaded from the site, no changes made.
Are you using the .exe installer or the .msi version?
exe installer.
The release builds run the VS2017 version of the vc_redist.xxx.exe, using the following command line:
where xxx is x64 for a 64 bit Wireshark build and x86 for a 32 bit build.
Can you grab the appropriate version from here and run it with a simple command line of
...exe /install
from an elevated prompt. I'm hoping that doing that will let the installer will reveal the issue.I had to remove the /quiet to get the error message. VS2017 requires the VS2015 vc_runtimeMinimum_x64.msi to install. I grabbed VS2015 and the install fails with the following error. [9734:978C][2019-08-06T10:14:38]e000: Error 0x80070666: Cannot install a product when a newer version is installed. When I look at the add/remove programs VC 2015 is and isn't there. Since this isn't a WS issue. I'll work on it at another time.
Are you installing Visual Studio or just the vc runtime redistributable? You should only need the latter. MS stated on the page I linked that the redistributables are the same for 2015, 2017 and 2019.
I just tried installing the vcredist_x64.exe (14.16.27029.1) from the current Wireshark release on my Win 10 1903 system that already has a newer version (14.22.27821.0) installed by who knows what and the install failed as you noted:
However, running the actual Wireshark installer succeeded.
There is code in the installer to detect a failure of the vcredist.exe, in particular, if it reports a newer version exists the installer should ignore the error and I've confirmed that the vcredist_x64.exe from the 3.0.3 build does indeed return the expected error code (1638) so the installer should accept this.
So, not sure what's happening on your system.
I've raised bug 15972 for this.
Can you run the vcredist installer on its own without the /quiet flag and when you get the "Setup Failed" dialog, click the link for the "log file" and attach that to the bug entry?
Is the bug section unrelated? My user & password are failing there.
Running the 2015-2019 copy I am stuck looking for a package I cannot find. C:\ProgramData\Package Cache{50A2BC33-C9CD-3BF1-A8FF-53C10A0B183C}v14.0.24215\packages\vcRuntimeMinimum_amd64\
The 2015 version:
(more)part2:
(more)part3:
Unfortunately Bugzilla uses a different credential database.
Given that you've used the 2015 version and Wireshark is attempting to use the 2017 version, so there's a difference, comparing your output to mine if I attempt to install the 2017 version, nothing obvious leaps out at me in your output.
Located {50A2BC33-C9CD-3BF1-A8FF-53C10A0B183C} at https://zzz.buzz/notes/vc-redist-pack...
Ran repair a few times and now am able to run the 2019 version successfully. Rebooting now.
Wireshark 3.0.3 is now installed.