3CXPhone install raises Visual C++ Redistributable Error

Discussion in 'Clients' started by mcbsys, Feb 9, 2018.

  1. mcbsys

    mcbsys New Member

    Joined:
    Oct 8, 2008
    Messages:
    164
    Likes Received:
    9
    Today I installed the new 3CXPhone for Windows version 15.5.8801.3 on Windows 10 Pro 1709 Build 16299.192. During the installation, it asked me if it could install a Visual C++ 2015 Redistributable (x86) 14.0.23918 and I chose OK. I expected it to ask for elevated permission (UAC) but instead the install failed with "Error 0x80070666: Cannot install a product when a newer version is installed." The error log is below.

    Apparently the installer is trying to install version 14.0.23918 (Update 2) but I already have 14.0.23415 (Update 3).

    As far as I can tell, 3CXPhone is working fine with the Update 3 version.

    Could 3CX please distribute the latest redistributable to avoid this issue?

    https://www.microsoft.com/en-us/download/details.aspx?id=52685

    Thanks.

    Code:
    [2584:44CC][2018-02-09T10:27:36]i001: Burn v3.7.3813.0, Windows v10.0 (Build 16299: Service Pack 0), path: C:\ProgramData\3CXPhone for Windows\PhoneApp\redist\vc_redist.x86.exe, cmdline: '/install'
    [2584:44CC][2018-02-09T10:27:36]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\Mark\AppData\Local\Temp\dd_vcredist_x86_20180209102736.log'
    [2584:44CC][2018-02-09T10:27:36]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\ProgramData\3CXPhone for Windows\PhoneApp\redist\vc_redist.x86.exe'
    [2584:44CC][2018-02-09T10:27:36]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\ProgramData\3CXPhone for Windows\PhoneApp\redist\'
    [2584:44CC][2018-02-09T10:27:36]i000: Setting string variable 'WixBundleName' to value 'Microsoft Visual C++ 2015 Redistributable (x86) - 14.0.23918'
    [2584:44CC][2018-02-09T10:27:37]i100: Detect begin, 10 packages
    [2584:44CC][2018-02-09T10:27:37]i000: Setting version variable 'windows_uCRT_DetectKey' to value '10.0.16299.125'
    [2584:44CC][2018-02-09T10:27:37]i000: Setting numeric variable 'windows_uCRT_DetectKeyExists' to value 1
    [2584:44CC][2018-02-09T10:27:37]i102: Detected related bundle: {e2803110-78b3-4664-a479-3611a381656a}, type: Upgrade, scope: PerMachine, version: 14.0.24215.1, operation: Downgrade
    [2584:44CC][2018-02-09T10:27:37]i108: Detected compatible package: vcRuntimeMinimum_x86, provider: Microsoft.VS.VC_RuntimeMinimumVSU_x86,v14, installed: {BBF2AC74-720C-3CB3-8291-5E34039232FA}, version: 14.0.24215, chained: {B5FC62F5-A367-37A5-9FD2-A6E137C0096F}
    [2584:44CC][2018-02-09T10:27:37]i103: Detected related package: {BBF2AC74-720C-3CB3-8291-5E34039232FA}, scope: PerMachine, version: 14.0.24215.0, language: 0 operation: Downgrade
    [2584:44CC][2018-02-09T10:27:37]i108: Detected compatible package: vcRuntimeAdditional_x86, provider: Microsoft.VS.VC_RuntimeAdditionalVSU_x86,v14, installed: {69BCE4AC-9572-3271-A2FB-9423BDA36A43}, version: 14.0.24215, chained: {BD9CFD69-EB91-354E-9C98-D439E6091932}
    [2584:44CC][2018-02-09T10:27:37]i103: Detected related package: {69BCE4AC-9572-3271-A2FB-9423BDA36A43}, scope: PerMachine, version: 14.0.24215.0, language: 0 operation: Downgrade
    [2584:44CC][2018-02-09T10:27:37]i052: Condition '(VersionNT = v6.3 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
    [2584:44CC][2018-02-09T10:27:37]i052: Condition '(VersionNT = v6.3 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
    [2584:44CC][2018-02-09T10:27:37]i052: Condition '(VersionNT = v6.2 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
    [2584:44CC][2018-02-09T10:27:37]i052: Condition '(VersionNT = v6.2 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
    [2584:44CC][2018-02-09T10:27:37]i052: Condition '(VersionNT = v6.1 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
    [2584:44CC][2018-02-09T10:27:37]i052: Condition '(VersionNT = v6.1 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
    [2584:44CC][2018-02-09T10:27:37]i052: Condition '(VersionNT = v6.0 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
    [2584:44CC][2018-02-09T10:27:37]i052: Condition '(VersionNT = v6.0 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
    [2584:44CC][2018-02-09T10:27:37]i101: Detected package: vcRuntimeMinimum_x86, state: Obsolete, cached: None
    [2584:44CC][2018-02-09T10:27:37]i101: Detected package: vcRuntimeAdditional_x86, state: Obsolete, cached: None
    [2584:44CC][2018-02-09T10:27:37]i101: Detected package: Windows81_x86, state: Absent, cached: None
    [2584:44CC][2018-02-09T10:27:37]i101: Detected package: Windows81_x64, state: Absent, cached: None
    [2584:44CC][2018-02-09T10:27:37]i101: Detected package: Windows8_x86, state: Absent, cached: None
    [2584:44CC][2018-02-09T10:27:37]i101: Detected package: Windows8_x64, state: Absent, cached: None
    [2584:44CC][2018-02-09T10:27:37]i101: Detected package: Windows7_MSU_x86, state: Absent, cached: None
    [2584:44CC][2018-02-09T10:27:37]i101: Detected package: Windows7_MSU_x64, state: Absent, cached: None
    [2584:44CC][2018-02-09T10:27:37]i101: Detected package: WindowsVista_MSU_x86, state: Absent, cached: None
    [2584:44CC][2018-02-09T10:27:37]i101: Detected package: WindowsVista_MSU_x64, state: Absent, cached: None
    [2584:44CC][2018-02-09T10:27:37]i052: Condition 'VersionNT >= v6.0 OR (VersionNT = v5.1 AND ServicePackLevel >= 2) OR (VersionNT = v5.2 AND ServicePackLevel >= 1)' evaluates to true.
    [2584:44CC][2018-02-09T10:27:37]i199: Detect complete, result: 0x0
    [2584:12C8][2018-02-09T10:27:43]e000: Error 0x80070666: Cannot install a product when a newer version is installed.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Sopock

    Sopock Member

    Joined:
    Jul 11, 2012
    Messages:
    443
    Likes Received:
    18
    Please note that even 24123 is just RC. There is newer update 3:
    This website requires users to log in...:cool:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #2 Sopock, Feb 14, 2018 at 9:34 PM
    Last edited: Feb 14, 2018 at 10:20 PM
  3. mcbsys

    mcbsys New Member

    Joined:
    Oct 8, 2008
    Messages:
    164
    Likes Received:
    9
    Sopock, you're right, the page I linked is for an RC version, probably 24123. I hadn't noticed that.

    As shown in the error log, I have 24215 on my system, which is apparently the final (non-RC) release 3. The page you linked points to this download: https://my.visualstudio.com/Downloads?pid=2082.

    If 3CX is unable to update to the latest version, perhaps they could at least update the installer to check for 23918 "or later" so as not to raise an error during installation.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Sopock

    Sopock Member

    Joined:
    Jul 11, 2012
    Messages:
    443
    Likes Received:
    18
    For that they will also need newer version of:
    ...this is where Advanced installer outshines InstallShield
    This also sounds familiar:
    • free update for customers with a valid Maintenance Plan
    • Your Maintenance Plan can be extended while valid. The extension is appended at the end of your current maintenance plan. After expiration, the Maintenance Plan can be renewed anytime.
    Probably installed by something else, not by end user which can't obtain one. 3CX installer should not even start downloading of redist. if required is already installed.
    Not only that. When you run same installer again and use Modify it's clear that it also installs 2010 SP1!
    @drewswiz | @accentlogic: If 3CX can add the redistributable Visual C++ DLLs to the 3CX application local folder, then the installer is not required.

    This reflects the fact that both the runtime libraries and the applications compiled with either version of the compiler are--for the most part--binary compatible.


    @Nick Galea: Make sure your PBX is always up to date
    Of course we could run several code bases and keep updating our old versions. Yes, but it would mean the cost of 3CX would easily triple. And that’s assuming we could find developers that would want to do that – updating old stuff instead of innovating and building new features for the latest platform.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #4 Sopock, Feb 15, 2018 at 2:28 AM
    Last edited: Feb 15, 2018 at 12:20 PM