Client: "0x80070666 Another version of this product is already installed" error on Windows 10.

Created on 22 Apr 2017  路  20Comments  路  Source: keybase/client

While installing keybase_setup_386.exe on Window's 10, setup fails and I encounter the error: "0x80070666 Another version of this product is already installed."

Most helpful comment

I solved that problem! Visual C++ 2017 is blocking Visual C++ 2015 installation, so just delete Visual C++ 2017 and it should work.

All 20 comments

CC: @zanderz

Can you do a keybase log send?

Attached is the log, haven't been able to install once, so can't run keybase with those args.

Thank you. This is because the Visual C++ redistributable, required by our filesystem drivers, seems to fail because a newer version is found (as in https://github.com/dotnet/cli/issues/3371). We've had another such report and are trying to reproduce.

It would be helpful to see your C:\Users\Grant\AppData\Local\Temp\Keybase_20170425212523_001_vcredist_2015_x64.exe.log, or any recent log file in your temp directory with vcredist in the name.

Thank you, that helps to narrow in on this. According to this article, a certain VC Runtime update sometimes deletes a registry value we depend on to detect whether the runtime is installed. There may be another registry value we can use. Can you verify that you have no entry at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DevDiv\vc\Servicing\14.0\RuntimeMinimum\Install but there is something at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\x64\Installed ?

I had already done a repair on VC, but managed to rollback to an earlier snapshot. I'm able to replicate the issue at setup and can confirm no entry at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DevDiv\vc\Servicing\14.0\RuntimeMinimum\Install but there is an entry present at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\x64\Installed.

I'll standby for any further actions before performing the repair.

I made a special release with an installer that should detect this exact condition. Will you please try it? https://s3.amazonaws.com/prerelease.keybase.io/windows/Keybase_1.0.21-20170427130901%2Bca550c1.386.exe
Thanks!

Executed keybase_setup_386.exe - Failed with error 0x80070666.
Executed Keybase_1.0.21-20170427130901%2Bca550c1.386.exe - Installed successfully.

I'm still getting this error. Tried the current version on keybase.io and the patch provided by zanderz above. Both fail with 0x80070666
Running Win10Pro v1703 (builld 15063.296)
I also have a crapton of the VC redistributables installed: (9.0.x , 10.0.x , 11.0.x , 12.0.x, 14.0.x)

Keybase_20170511203959.txt

Looking into your log, @zevisert, I have a hunch you have a registry entry at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\x86 we neglected to add to the ones we check to cover this case. We'll add it and post a test build shortly.

@zevisert Can you try installing this one? Thanks.

No luck with that build. Also no key at ...14.0\VC\Runtimes\x86. I do have an x64 entry there though.
I found other VC\.+\x86 keys in my registry, don't know if they'll help you or not, I also have x64 siblings in all these locations.

  • HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0_Config\VC\Runtimes\x86
  • HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\10.0\VC\VCRedist\x86
  • HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\11.0\VC\Runtimes\x86
  • HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\12.0\VC\Runtimes\x86
  • HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\14.0\VC\Runtimes\x86
  • HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\VC\19.0\x86

Here's the new log from the build you just posted:
Keybase_2017051215542.txt

Same issue occurring for me. vc_redist /repair or /uninstall did not work. Also tried to remove the 2015 runtime with Total Uninstaller, but no luck.

The version in the comment https://github.com/keybase/client/issues/6686#issuecomment-301108467 eventually installed for me. However, the vc_redist.exe itself still errors...

We need to add the x86 case to our installer workaround still - sorry about that. Internally tracked with DESKTOP-4284

I solved that problem! Visual C++ 2017 is blocking Visual C++ 2015 installation, so just delete Visual C++ 2017 and it should work.

Thank you very much @TexiHD

i have the same problem but i think my mine is different ._.
helep.txt
)

From log: Cannot install a product when a newer version is installed.
@Pakyomen

Was this page helpful?
0 / 5 - 0 ratings