Visual Studio 2010 Office Runtime Installation issue

Rohit 226 Reputation points
2024-07-31T07:16:35.26+00:00

Hello,

We have a requirement to install MDS Add in for excel (2019).

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

As a pre-requisite it shows that we have to install : "Visual Studio 2010 Tools for Office Runtime".

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

When trying to install this, for 1 of the users we are facing the below issue. (For the rest the installation has been successful).

User's image

Upon checking the logs we this error:
User's image

c:\\vstor40\vstor40_x64.exe - Signature verification for file vstor40\vstor40_x64.exe (c:\\vstor40\vstor40_x64.exe) failed with error 0x800b0101 (A required certificate is not within its validity period when verifying against the current system clock or the timestamp in the signed file.)

We have used the below script to check if the .NetFramework is installed or not.

$release = Get-ItemPropertyValue -LiteralPath 'HKLM:SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full' -Name Release
switch ($release) {
    { $_ -ge 533320 } { $version = '4.8.1 or later'; break }
    { $_ -ge 528040 } { $version = '4.8'; break }
    { $_ -ge 461808 } { $version = '4.7.2'; break }
    { $_ -ge 461308 } { $version = '4.7.1'; break }
    { $_ -ge 460798 } { $version = '4.7'; break }
    { $_ -ge 394802 } { $version = '4.6.2'; break }
    { $_ -ge 394254 } { $version = '4.6.1'; break }
    { $_ -ge 393295 } { $version = '4.6'; break }
    { $_ -ge 379893 } { $version = '4.5.2'; break }
    { $_ -ge 378675 } { $version = '4.5.1'; break }
    { $_ -ge 378389 } { $version = '4.5'; break }
    default { $version = $null; break }
}
 
if ($version) {
    Write-Host -Object ".NET Framework Version: $version"
} else {
    Write-Host -Object '.NET Framework Version 4.5 or later is not detected.'
}

Also, the time/date of the system is correct.

Can someone help us on how to resolve this issue ?

Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,027 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 28,311 Reputation points Microsoft Vendor
    2024-07-31T10:17:28.7233333+00:00

    Hi @Rohit, 

    Welcome to Microsoft Q&A! 

    Please right-click on the vstor_redist.exe > Properties > Digital Signatures > select signature under the “signature list” > click on “Details” > View certificate > Install certificate > follow the next wizard. 

    Then, re-run vstor_redist.exe to install the Visual Studio Tools for Office runtime. 

    You can refer to: Install the Visual Studio Tools for Office Runtime Redistributable. 

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".  Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

     

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.