Как установить visual studio без интернета

Обновлено: 03.07.2024

mexan Мне очень сильно нужна Ваша помощь , у меня проблема ,хочу установить Visual Studio 2017 поймал ошибку: Манифест установщика не прошел проверку подписи . Проделал все как вы сказали ,но в конце я запутался и растерялся ,Вы написали В раскрывшемся диалоге ПКМ по Доверенные корневые центры сертификации - Все задачи - Импорт и поочередно установить 3 сертификата из папки certificates. Но у меня папка certificates которую я нашел ,пустая какие именно сертификаты из папки certificates. необходимы ? Почему их там нету ? Я переустанавливал Windows . Все что я сделал эта ставил драва с помощью пака Solution . Это все что я делал , помню скачивал Visual Studio 2017 на старой Windows , все работало ,ошибки не было с Манифест.


Makey

Манифест установщика не прошел проверку подписи ,решил проблему обновил Windows ,так же установил Microsodt Visual C++ 2013 Redistributable (x86) - 12.0.30501

mexan

Amney

ох уж эти обновления)
Помню, как на семерке всегда наглухо центр обновлений был вырублен, потому, что боялся, что прилетит какая - нибудь обновлялка, и ось в одночасье рассыпется.
Эта фобия осталась со времен Windows XP =)

We designed Visual Studio 2017 to work well in a variety of network and computer configurations. While we recommend that you try the Visual Studio web installer—which is a small file that allows you to stay current with all the latest fixes and features—we understand that you might not be able to.

We designed Visual Studio 2019 and later to work well in a variety of network and computer configurations. While we recommend that you try the Visual Studio web installer—which is a small file that allows you to stay current with all the latest fixes and features—we understand that you might not be able to.

For example, you might have an unreliable internet connection or one that has low bandwidth. If so, you have a few options: You can use the new "Download all, then install" feature to download the files before you install, or you can use the command line to create a local cache of the files.

If you are an enterprise administrator who wants to perform a deployment of Visual Studio to a network of client workstations that are firewalled from the internet, see our Create a network installation of Visual Studio and Install certificates required for Visual Studio offline installation pages.

Добавить все функции

Если вы хотите добавить все функции, затем удалить --includeOptional Пожалуйста, смотрите код

Если вы загружаете половину, затем выключите, вам нужно восстановить, вы можете попытаться использовать его. --fix Ремонт, использование - ввести одну и ту же команду для загрузки в автономном режиме в команду. --fix может

многоязычный

Проходить --lang Можно добавить многоязычный

Если вы добавите смысл zh-CN английский это en-US в состоянии пройти --addProductLang Добавить язык больше

Следующий код - добавить китайский язык в качестве основного языка во время добавления на английский язык.

Если вы добавляете несколько языков одновременно, вы можете --lang Добавить несколько

Use the command line to create a local cache

After you download a small bootstrapper, use the command line to create a local cache. Then, use the local cache to install Visual Studio. (This process replaces the ISO files that were available for previous versions).

After you download a small bootstrapper file, use the command line to create a local cache. Then, use the local cache to install Visual Studio.

Step 1 - Download the Visual Studio bootstrapper

You must have an internet connection to complete this step.

To get the latest bootstrapper for Visual Studio 2017 version 15.9, go to the Visual Studio previous versions page and download one of the following bootstrapper files:

Edition Filename
Visual Studio Professional 2017 version 15.9 vs_professional.exe
Visual Studio Enterprise 2017 version 15.9 vs_enterprise.exe
Visual Studio Build Tools 2017 version 15.9 vs_buildtools.exe

Start by downloading the Visual Studio 2019 bootstrapper from either the Visual Studio downloads page or the Visual Studio 2019 Releases page for your chosen version and edition of Visual Studio. Your setup file—or bootstrapper—will match or be similar to one of the following:

Edition File
Visual Studio 2019 Community vs_community.exe
Visual Studio 2019 Professional vs_professional.exe
Visual Studio 2019 Enterprise vs_enterprise.exe
Visual Studio 2019 Build Tools vs_buildtools.exe

Released versions of Visual Studio 2022 are not yet available, the bootstrappers below are for the preview release of Visual Studio 2022. Start by downloading the Visual Studio 2022 bootstrapper from the Visual Studio downloads page.

Edition Download
Visual Studio 2022 Professional vs_professional.exe
Visual Studio 2022 Enterprise vs_enterprise.exe

If you previously downloaded a bootstrapper file and want to verify what version it is, here's how. In Windows, open File Explorer, right-click the bootstrapper file, choose Properties, choose the Details tab, and then view the Product version number. To match that number to a release of Visual Studio, refer to the Visual Studio build numbers and release dates page.

If you previously downloaded a bootstrapper file and want to verify its version, here's how. In Windows, open File Explorer, right-click the bootstrapper file, choose Properties, choose the Details tab, and then view the Product version number. To match that number to a release of Visual Studio, refer to the Visual Studio 2019 Releases page.

If you previously downloaded a bootstrapper file and want to verify its version, here's how. In Windows, open File Explorer, right-click the bootstrapper file, choose Properties, choose the Details tab, and then view the Product version number. To match that number to a release of Visual Studio, refer to the Visual Studio 2022 Releases page.

Step 2 - Create a local install cache

You must have an internet connection to complete this step.

Open a command prompt and use the bootstrapper's parameters as defined in the Use command-line parameters to install Visual Studio page to create your local installation cache. Common examples using the Enterprise bootstrapper are illustrated below and in the command-line parameter examples page. You can install a language other than English by changing en-US to a locale from the list of language locales, and you can use the list of components and workloads to further customize your cache.

To prevent an error, make sure that your full installation path is less than 80 characters.

For C++ desktop development, run:

To create a complete local layout, English only, with all features (this will take a long time—we have lots of features!), run:

A complete Visual Studio layout requires a minimum of 35 GB of disk space. For more information, see System requirements.

A complete Visual Studio layout requires a minimum of 41 GB of disk space. For more information, see System requirements.

Step 3 - Install Visual Studio from the local cache

When you install Visual Studio from a local install cache, the Visual Studio installer uses the local cached versions of the files. But, if you select components during installation that aren't in the cache, then the Visual Studio installer will attempt to download them from the internet. To make sure that you install only the files that you've previously downloaded, use the same command-line options that you used to create the layout cache.

For example, if you created a local installation cache with the following command:

Then use this command to run the installation:

If you're using Visual Studio Community, you must activate it by logging into the product within 30 days of installation. Activation requires an internet connection.

If you get an error that a signature is invalid, you must install updated certificates. Open the Certificates folder in your offline cache. Double-click each of the certificate files, and then click through the Certificate Manager wizard. If you're asked for a password, leave it blank.

For offline installations, if you get an error message that says "A product matching the following parameters cannot be found", make sure that you are using the --noweb switch with version 16.3.5 or later.

List of language locales

Language-locale Language
cs-CZ Czech
de-DE German
en-US English
es-ES Spanish
fr-FR French
it-IT Italian
ja-JP Japanese
ko-KR Korean
pl-PL Polish
pt-BR Portuguese - Brazil
ru-RU Russian
tr-TR Turkish
zh-CN Chinese - Simplified
zh-TW Chinese - Traditional

Use the "Download all, then install" feature

New in version 15.8: After you download the web installer, select the new Download all, then install option from the Visual Studio Installer. Then, continue with your installation.

The "Download all, then install" option

After you download the web installer, select the new Download all, then install option from the Visual Studio Installer. Then, continue with your installation.

The "Download all, then install" option

We designed the "Download all, then install" feature so that you can download Visual Studio as a single installation for the same computer on which you downloaded it. That way, you can safely disconnect from the web before you install Visual Studio.

Do not use the "Download all, then install" feature to create an offline cache that you intend to transfer to another computer. It's not designed to work that way.

If you want to create an offline cache on the local computer that you can then use to install Visual Studio, see the Use the command line to create a local cache section below. Alternatively, the Create a network installation of Visual Studio page provides information about how to create a cache on the network.

Добавить функцию

Дополнительная функция --add Добавить функцию

На этой странице можно найти дополнительные функцииVisual Studio Community workload and component IDs

Обратите внимание, что в командной строке нет места, приведенный выше код добавляется к удобству понимания

Если вам все еще нужны параметры в функции, такие как мне нужны 17763 SDK внутри UWP, могут быть изVisual Studio Community workload and component IDsНайти соответствующую функцию, --add Добавить к

Установите автономный скачать

Обратите внимание, что это добавлено --add Нужно ввести так же, как то же самое, что и выше

Для новых функций Visualstudio 2019 см.Visualstudio 2019 Новая функция

Код активации, код активации используется только для попытки VisualStudio, пожалуйста, не используйте в бизнес-среде

Путь хранится

Загрузка в автономном режиме необходимо указать папку, используемую для хранения загруженного файла, пропуск --layout Плюс абсолютный путь можно загрузить в входную папку

2019-4-6-VisualStudio-2019 - Как скачать в автономном режиме

Эта статья рассказывает всем, как скачать автоматический монтаж VisualStudio 2019

Microsoft предоставляет VisualStudio 2019 онлайн-инструмент установки, вам необходимо ввести параметры через командную строку для загрузки

СначалаОфициальный веб-сайтВыберите версию VisualStudio, вам необходимо загрузить, вы можете выбрать версию сообщества, профессиональную и корпоративную версию. Только версия сообщества бесплатна


Когда я выбрал версию сообщества Visual Studio Community Community, загруженная EXE является vs_community.exe, если загружено для скачания Visual Studio Professional, соответствующий EXE, является vs_profession.exe, пожалуйста, замените программу, используемую в этой статье, чтобы загрузить вашу версию.

Get support

Sometimes, things can go wrong. If your Visual Studio installation fails, see Troubleshoot Visual Studio installation and upgrade issues for step-by-step guidance.

We also offer an installation chat (English only) support option for installation-related issues.

Автономный установщик Visual Studio 2017 своими руками? Легко!


Все мы знаем, что сейчас Microsoft уже не выпускает автономные пакеты установки Visual Studio (установка без интернета). Настал момент, когда мне понадобилось собрать автономный установщик для Visual Studio 2017 Enterprise по инструкции Microsoft. Однако я был очень сильно удивлён, когда обнаружил, что он не работает, так как в момент установки Visual Studio всё равно пыталась скачать некоторые пакеты из интернета. Если отказывался скачивать, то установка прекращалась.

Пришлось немного повозиться, чтобы собрать автономный установщик. Всё оказалось довольно просто.

Я использовал инструкцию от Microsoft, в которой они забыли упомянуть, что надо добавлять определённый параметр при сборке установщика, иначе без этого вам всё равно потребуется интернет. Поэтому я кратко их процитирую, но не забыв упомянуть всё что необходимо.

Собираем автономный установщик Visual Studio

Я скачиваю Visual Studio Enterprise – файл «vs_enterprise.exe».
Помещаю данный файл в корень диска «F» (вы можете поместить на любой диск, но помните для Visual Studio Enterprise требуется на диске минимум 39Гб).
Создаю на диске «F» каталог «vs_enterprise2017», в который загрузчик загрузит всё необходимое для автономной установки.
Далее в командной строке запускаю команду:

После этого запускается скачивание ресурсов:

Автономный установщик Visual Studio 2017 своими руками? Легко!

После успешного длительного скачивания, в командной строке появится информация, что скачивание завершено успешно (зелёной надписью) или сообщит, что при скачивании возникли ошибки. Проверяйте этот момент обязательно.

Если возникли ошибки, то снова запускаем указанную выше команду. Все пакеты, которые уже скачались, будут проверены, а недостающие будут докачаны. В моём случае один государственный орган заблокировал доступ к IP Azure Microsoft и оттуда не могли качаться пакеты. Пришлось для этих целей использовать VPN, чтобы загрузчик Visual Studio скачал все необходимые установочные пакеты.

Установка Visual Studio

Язык установки не менять на тот, который отличается от выбранного вами при скачивании языка, так как в образе только установка с тем языком, который вы указали в командной строке. Если выбрать другой языковой пакет, то Visual Studio будет пытаться скачать с сайта Microsoft файлы установки для вновь выбранного языка.

Читайте также: