this file is invalid for use as the following personal information exchange

Mostafa Ramadan 1 Reputation point
2021-10-11T19:54:02.92+00:00

Peace be upon you, brother
When I tried to install Visual Studio 2019 community edition, I got this error Unable to download installation files. Check your internet connection and try again. And while trying to solve the problem as I found here by installing the certificate files, I got this message Invalid Public Key Security Object File: This file is invalid for use as the following: Personal Information Exchange.
note
I moved the certificate files to C:\ and installed them again but it didn't work
I tried the solution here, and it didn't work either

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.
971 questions
{count} votes

1 answer

Sort by: Most helpful
  1. PengGe-MSFT 3,336 Reputation points
    2021-10-12T07:49:43.033+00:00

    Hi, @Mostafa Ramadan

    Welcome to Microsoft Q&A!

    Could you tell me what your Windows version is? Please check for updates and ensure that all pending and recommended Windows Updates are completed. Then, retry the installation.

    If it still persists, we need the related logs to investigate further. Please download and run this collect.exe tool, go to %temp% folder and find the vslogs.zip file, upload it to https://onedrive.live.com/ and share the link here.

    Sincerely,
    Peng
    *
    If the answer is helpful, please click "Accept Answer" and upvote it.
    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