Visual Studio 2017 fails to install offline with “Unable to download installation files”

前端 未结 7 1653
野的像风
野的像风 2021-02-05 02:51

So I\'ve created an offline installed of VS 2017 Community on my laptop using this command:

vs_community.exe --layout \"D:\\Downloads\\VS

7条回答
  •  礼貌的吻别
    2021-02-05 03:31

    It worked!! All I had to do was install the certificates into the root CA! Something I missed noticing in the VS 2017 docs:

    How to install from the offline installation folder

    1. Install the certificates (They are in the "certificates" folder, which is in your Layout folder. )

    2. Simply right-click each one and choose Install PFX.

    3. Specify Local machine (not current user)
    4. You can use an empty password
    5. Run the installation file. For example, run: c:\vs2017offline\vs_enterprise.exe

    --- Microsoft Docs

    Edit: Remember to install the certs using the Admin account on the PC, or it won't work...

提交回复
热议问题