Как установить visual studio 6
Welcome to a new way to install Visual Studio! In this version, we've made it easier for you to choose and install just the features you need. We've also reduced the minimum footprint of Visual Studio so that it installs more quickly and with less system impact than ever before.
Welcome to Visual Studio 2019! In this version, it's easy to choose and install just the features you need. And because of its reduced minimum footprint, it installs quickly and with less system impact.
Welcome to Visual Studio 2022! In this version, it's easy to choose and install just the features you need.
This topic applies to Visual Studio on Windows. For Visual Studio for Mac, see Install Visual Studio for Mac.
Want to know more about what else is new in this version? See our release notes.
Want to know more about what else is new in this version? See our release notes.
Want to know more about what else is new in this version? See our release notes.
Ready to install? We'll walk you through it, step-by-step.
Step 1 - Make sure your computer is ready for Visual Studio
Before you begin installing Visual Studio:
Check the system requirements. These requirements help you know whether your computer supports Visual Studio 2017.
Apply the latest Windows updates. These updates ensure that your computer has both the latest security updates and the required system components for Visual Studio.
Reboot. The reboot ensures that any pending installs or updates don't hinder your Visual Studio install.
Free up space. Remove unneeded files and applications from your system drive by, for example, running the Disk Cleanup app.
Check the system requirements. These requirements help you know whether your computer supports Visual Studio 2019.
Apply the latest Windows updates. These updates ensure that your computer has both the latest security updates and the required system components for Visual Studio.
Reboot. The reboot ensures that any pending installs or updates don't hinder your Visual Studio install.
Free up space. Remove unneeded files and applications from your system drive by, for example, running the Disk Cleanup app.
Check the system requirements. These requirements help you know whether your computer supports Visual Studio 2022.
Apply the latest Windows updates. These updates ensure that your computer has both the latest security updates and the required system components for Visual Studio.
Reboot. The reboot ensures that any pending installs or updates don't hinder your Visual Studio install.
Free up space. Remove unneeded files and applications from your system drive by, for example, running the Disk Cleanup app.
For questions about running previous versions of Visual Studio side by side with Visual Studio 2017, see the Visual Studio compatibility details.
For questions about running previous versions of Visual Studio side by side with Visual Studio 2019, see Visual Studio 2019 Platform Targeting and Compatibility.
You can install Visual Studio 2022 side by side with previous versions. For more information, see Visual Studio 2022 platform targeting and compatibility and Install Visual Studio versions side-by-side.
Step 2 - Download Visual Studio
Next, download the Visual Studio bootstrapper file.
To get a bootstrapper for Visual Studio 2017, see the Visual Studio previous versions download page for details on how to do so.
To do so, choose the following button, choose the edition of Visual Studio that you want, choose Save, and then choose Open folder.
To do so, select the following button, choose the edition of Visual Studio that you want, and then save to your Downloads folder.
Step 3 - Install the Visual Studio Installer
Run the bootstrapper file to install the Visual Studio Installer. This new lightweight installer includes everything you need to both install and customize Visual Studio.
From your Downloads folder, double-click the bootstrapper that matches or is similar to one of the following files:
- vs_community.exe for Visual Studio Community
- vs_professional.exe for Visual Studio Professional
- vs_enterprise.exe for Visual Studio Enterprise
If you receive a User Account Control notice, choose Yes.
We'll ask you to acknowledge the Microsoft License Terms and the Microsoft Privacy Statement. Choose Continue.
Step 4 - Choose workloads
After the installer is installed, you can use it to customize your installation by selecting the feature sets—or workloads—that you want. Here's how.
Find the workload you want in the Visual Studio Installer.
For example, choose the ".NET desktop development" workload. It comes with the default core editor, which includes basic code editing support for over 20 languages, the ability to open and edit code from any folder without requiring a project, and integrated source code control.
After you choose the workload(s) you want, choose Install.
Next, status screens appear that show the progress of your Visual Studio installation.
Find the workload you want in the Visual Studio Installer.
For example, choose the "ASP.NET and web development" workload. It comes with the default core editor, which includes basic code editing support for over 20 languages, the ability to open and edit code from any folder without requiring a project, and integrated source code control.
After you choose the workload(s) you want, choose Install.
Next, status screens appear that show the progress of your Visual Studio installation.
Select the workload you want in the Visual Studio Installer.
After you choose the workload(s) you want, select Install.
Next, status screens appear that show the progress of your Visual Studio installation.
At any time after installation, you can install workloads or components that you didn't install initially. If you have Visual Studio open, go to Tools > Get Tools and Features. which opens the Visual Studio Installer. Or, open the Visual Studio Installer from the Start menu. From there, you can choose the workloads or components that you wish to install. Then, choose Modify.
Step 5 - Choose individual components (optional)
If you don't want to use the Workloads feature to customize your Visual Studio installation, or you want to add more components than a workload installs, you can do so by installing or adding individual components from the Individual components tab. Choose what you want, and then follow the prompts.
Step 6 - Install language packs (optional)
By default, the installer program tries to match the language of the operating system when it runs for the first time. To install Visual Studio in a language of your choosing, choose the Language packs tab from the Visual Studio Installer, and then follow the prompts.
Change the installer language from the command line
Another way that you can change the default language is by running the installer from the command line. For example, you can force the installer to run in English by using the following command: vs_installer.exe --locale en-US . The installer will remember this setting when it is run the next time. The installer supports the following language tokens: zh-cn, zh-tw, cs-cz, en-us, es-es, fr-fr, de-de, it-it, ja-jp, ko-kr, pl-pl, pt-br, ru-ru, and tr-tr.
Another way that you can change the default language is by running the installer from the command line. For example, you can force the installer to run in English by using the following command: vs_installer.exe --locale en-US . The installer will remember this setting when it's run the next time. The installer supports these language locales: zh-cn, zh-tw, cs-cz, en-us, es-es, fr-fr, de-de, it-it, ja-jp, ko-kr, pl-pl, pt-br, ru-ru, and tr-tr.
Step 7 - Select the installation location (optional)
New in 15.7: You can now reduce the installation footprint of Visual Studio on your system drive. You can choose to move the download cache, shared components, SDKs, and tools to different drives, and keep Visual Studio on the drive that runs it the fastest.
You can reduce the installation footprint of Visual Studio on your system drive. You can choose to move the download cache, shared components, SDKs, and tools to different drives, and keep Visual Studio on the drive that runs it the fastest.
You can reduce the installation footprint of Visual Studio on your system drive. For more information, see Select installation locations.
You can select a different drive for Visual Studio IDE or download cache only when you first install Visual Studio. If you've already installed it and want to change drives, you must uninstall Visual Studio and then reinstall it.
If you've installed Visual Studio on your computer before, you won't be able to change the Shared components, tools, and SDKs path and it will appear greyed out. This location is shared by all installations of Visual Studio.
Step 8 - Start developing
After Visual Studio installation is complete, choose the Launch button to get started developing with Visual Studio.
Choose File, and then choose New Project.
Select a project type.
For example, to build a C++ app, choose Installed, expand Visual C++, and then choose the C++ project type that you want to build.
After Visual Studio installation is complete, select the Launch button to get started developing with Visual Studio.
On the start window, choose Create a new project.
In the search box, enter the type of app you want to create to see a list of available templates. The list of templates depends on the workloads that you chose during installation. To see different templates, choose different workloads.
You can also filter your search for a specific programming language by using the Language drop-down list. You can filter by using the Platform list and the Project type list, too.
Visual Studio opens your new project, and you're ready to code!
After your Visual Studio installation is complete, select the Launch button to get started developing with Visual Studio.
On the start window, choose Create a new project.
In the template search box, enter the type of app you want to create to see a list of available templates. The list of templates depends on the workloads that you chose during installation. To see different templates, choose different workloads.
You can also filter your search for a specific programming language by using the Language drop-down list. You can filter by using the Platform list and the Project type list, too.
Visual Studio opens your new project, and you're ready to code!
Support or troubleshooting
Sometimes, things can go wrong. If your Visual Studio installation fails, see Troubleshoot Visual Studio installation and upgrade issues for step-by-step guidance.
Предлагаем ознакомиться с новым способом установки Visual Studio. В этой версии стало проще выбирать и устанавливать только нужные компоненты. Мы также сократили минимальные требования к месту на диске, поэтому установка Visual Studio выполняется еще быстрее и с меньшим влиянием на функционирование системы.
Вас приветствует Visual Studio 2019! В этой версии можно легко выбрать и установить только необходимые компоненты. Поскольку она занимает меньше памяти, она быстро устанавливается и при установке меньше влияет на систему.
Вас приветствует Visual Studio 2022! В этой версии можно легко выбрать и установить только необходимые компоненты.
Этот раздел относится к Visual Studio в Windows. Информацию о Visual Studio для Mac см. в статье Установка Visual Studio для Mac.
Хотите ознакомиться с другими новыми возможностями этой версии? Обратитесь к заметкам о выпуске.
Хотите ознакомиться с другими новыми возможностями этой версии? Обратитесь к заметкам о выпуске.
Хотите ознакомиться с другими новыми возможностями этой версии? Обратитесь к заметкам о выпуске.
Готовы к установке? Мы последовательно опишем каждое действие.
Шаг 1. Подготовка компьютера к установке Visual Studio
Перед началом установки Visual Studio:
Проверьте требования к системе. Так вы узнаете, поддерживает ли ваш компьютер Visual Studio 2017.
Примените актуальные обновления Windows. Эти обновления гарантируют, что на компьютере установлены последние обновления для системы безопасности и необходимые системные компоненты для Visual Studio.
Перезагрузите систему. Перезагрузка гарантирует, что ожидающие установки или обновления компоненты не будут препятствовать установке Visual Studio.
Освободите место. Удалите ненужные файлы и приложения с системного диска. Например, запустите приложение очистки диска.
Проверьте требования к системе. Так вы узнаете, поддерживает ли ваш компьютер Visual Studio 2019.
Примените актуальные обновления Windows. Эти обновления гарантируют, что на компьютере установлены последние обновления для системы безопасности и необходимые системные компоненты для Visual Studio.
Перезагрузите систему. Перезагрузка гарантирует, что ожидающие установки или обновления компоненты не будут препятствовать установке Visual Studio.
Освободите место. Удалите ненужные файлы и приложения с системного диска. Например, запустите приложение очистки диска.
Проверьте требования к системе. Так вы узнаете, может ли ваш компьютер поддерживать Visual Studio 2022.
Примените актуальные обновления Windows. Эти обновления гарантируют, что на компьютере установлены последние обновления для системы безопасности и необходимые системные компоненты для Visual Studio.
Перезагрузите систему. Перезагрузка гарантирует, что ожидающие установки или обновления компоненты не будут препятствовать установке Visual Studio.
Освободите место. Удалите ненужные файлы и приложения с системного диска. Например, запустите приложение очистки диска.
Сведения об использовании предыдущих версий Visual Studio параллельно с Visual Studio 2017 см. в разделе Совместимость с предыдущими версиями.
Сведения об использовании предыдущих версий Visual Studio параллельно с Visual Studio 2019 см. в разделе Целевая платформа и совместимость для Visual Studio 2019.
Visual Studio 2022 можно установить параллельно с предыдущими версиями. Дополнительные сведения см. в разделе Visual Studio 2022: выбор платформы и совместимость и Параллельная установка версий Visual Studio.
Шаг 2. Скачивание Visual Studio
Теперь скачайте файл начального загрузчика Visual Studio.
Сведения о том, как получить начальный загрузчик для Visual Studio 2017, см. на странице скачиваемых материалов Предыдущие версии Visual Studio.
Для этого нажмите кнопку ниже, выберите нужный выпуск Visual Studio, щелкните Сохранить, а затем Открыть папку.
Для этого нажмите кнопку ниже, выберите нужный выпуск Visual Studio и сохраните его в папке Загрузки.
Шаг 3. Установка установщика Visual Studio
Запустите файл начального загрузчика, чтобы установить Visual Studio Installer. Новый установщик имеет меньший размер и включает все необходимое для установки и настройки Visual Studio.
В папке Загрузки дважды щелкните файл начального загрузчика, имя которого совпадает с именем одного из следующих файлов или похоже на них:
- vs_community.exe для Visual Studio Community.
- vs_professional.exe для Visual Studio Professional;
- vs_enterprise.exe для Visual Studio Enterprise;
Если появляется оповещение системы контроля учетных записей, нажмите кнопку Да.
Мы попросим вас принять условия лицензии и заявление о конфиденциальности корпорации Майкрософт. Нажмите Продолжить.
Шаг 4. Выбор рабочих нагрузок
Когда завершится установка программы установки, вы можете с ее помощью выбрать нужные наборы функций (рабочих нагрузок). Вот как это сделать.
Найдите нужную рабочую нагрузку в Visual Studio Installer.
Например, выберите рабочую нагрузку "Разработка классических приложений .NET". В нее входит основной редактор кода по умолчанию, который предоставляет базовую поддержку редактирования кода для более чем 20 языков, возможность открывать и изменять код в любой папке без наличия проекта и интегрированное управление исходным кодом.
Выбрав нужные рабочие нагрузки, нажмите кнопку Установить.
Далее будут отображаться экраны состояния, на которых демонстрируется ход установки Visual Studio.
Найдите нужную рабочую нагрузку в Visual Studio Installer.
Например, выберите рабочую нагрузку "ASP.NET и разработка веб-приложений". В нее входит основной редактор кода по умолчанию, который предоставляет базовую поддержку редактирования кода для более чем 20 языков, возможность открывать и изменять код в любой папке без наличия проекта и интегрированное управление исходным кодом.
Выбрав нужные рабочие нагрузки, нажмите кнопку Установить.
Далее будут отображаться экраны состояния, на которых демонстрируется ход установки Visual Studio.
Выберите нужную рабочую нагрузку в Visual Studio Installer.
Выбрав нужные рабочие нагрузки, нажмите кнопку Установить.
Далее будут отображаться экраны состояния, на которых демонстрируется ход установки Visual Studio.
В любой момент после установки можно установить рабочие нагрузки или компоненты, которые не были установлены изначально. Если среда Visual Studio открыта, выберите пункт Сервис > Получить средства и компоненты. ; откроется Visual Studio Installer. Или откройте Visual Studio Installer из меню "Пуск". Здесь можно выбрать рабочие нагрузки или компоненты, которые нужно установить. Затем выберите Изменить.
Шаг 5. Выбор отдельных компонентов (необязательно)
Если вы не хотите пользоваться функцией рабочих нагрузок для настройки установки Visual Studio или хотите добавить дополнительные компоненты, которые не устанавливает рабочая нагрузка, это можно сделать путем установки или добавления отдельных компонентов на вкладке Отдельные компоненты. Выберите нужные компоненты и следуйте указаниям.
Шаг 6. Установка языковых пакетов (необязательно)
По умолчанию при первом запуске установщик пытается использовать язык операционной системы. Чтобы установить Visual Studio на нужном языке, выберите в Visual Studio Installer вкладку Языковые пакеты и следуйте указаниям.
Изменение языка установщика из командной строки
Язык по умолчанию можно изменить еще одним способом — запустив установщик из командной строки. Например, можно принудительно запустить установщик на английском языке, выполнив команду vs_installer.exe --locale en-US . Программа установки запомнит этот параметр и использует его при следующем запуске. Установщик поддерживает следующие токены языков: zh-cn, zh-tw, cs-cz, en-us, es-es, fr-fr, de-de, it-it, ja-jp, ko-kr, pl-pl, pt-br, ru-ru и tr-tr.
Язык по умолчанию можно изменить еще одним способом — запустив установщик из командной строки. Например, можно принудительно запустить установщик на английском языке, выполнив команду vs_installer.exe --locale en-US . Программа установки запомнит этот параметр и использует его при следующем запуске. Установщик поддерживает следующие языковые стандарты: zh-cn, zh-tw, cs-cz, en-us, es-es, fr-fr, de-de, it-it, ja-jp, ko-kr, pl-pl, pt-br, ru-ru и tr-tr.
Шаг 7. Выбор расположения установки (дополнительно)
Новая возможность в версии 15.7. Теперь можно уменьшить место, занимаемое установкой Visual Studio на системном диске. Вы можете переместить кэш загрузки, общие компоненты, пакеты SDK и средства на другие диски и оставить Visual Studio на самом быстром диске.
Вы можете уменьшить место, занимаемое установкой Visual Studio на системном диске. Вы можете переместить кэш загрузки, общие компоненты, пакеты SDK и средства на другие диски и оставить Visual Studio на самом быстром диске.
Вы можете уменьшить место, занимаемое установкой Visual Studio на системном диске. Дополнительные сведения см. в разделе Выбор расположений установки.
Вы можете выбрать другой диск для Visual Studio IDE или кэша загрузки только в том случае, если вы устанавливаете Visual Studio впервые. Если вы уже установили ее и хотите изменить диск, необходимо удалить Visual Studio, а затем переустановить ее.
Если вы уже установили Visual Studio на компьютере, вы не сможете изменить путь к общим компонентам, инструментам и пакетам SDK, этот пункт будет неактивен. Это общее расположение для всех установок Visual Studio.
Шаг 8. Начало разработки
Когда установка Visual Studio завершится, нажмите кнопку Запустить, чтобы приступить к разработке в Visual Studio.
Выберите Файл, а затем Создать проект.
Выберите тип проекта.
Например, чтобы создать приложение C++, нажмите Установленные, разверните узел Visual C++, а затем выберите тип проекта C++, который нужно создать.
Когда установка Visual Studio завершится, нажмите кнопку Запустить, чтобы приступить к разработке в Visual Studio.
На начальном экране выберите Создать проект.
В поле поиска введите тип приложения, которое вы хотите создать, чтобы просмотреть список доступных шаблонов. Список шаблонов зависит от рабочих нагрузок, выбранных во время установки. Чтобы просмотреть различные шаблоны, выберите разные рабочие нагрузки.
Можно также фильтровать поиск по определенному языку программирования с помощью раскрывающегося списка Язык. Вы также можете выбирать фильтры из списка Платформа и Тип проекта.
Новый проект откроется в Visual Studio, и вы можете приступить к написанию кода!
Когда установка Visual Studio завершится, нажмите кнопку Запустить, чтобы приступить к разработке в Visual Studio.
На начальном экране выберите Создать проект.
В поле поиска шаблонов введите тип приложения, которое вы хотите создать, чтобы просмотреть список доступных шаблонов. Список шаблонов зависит от рабочих нагрузок, выбранных во время установки. Чтобы просмотреть различные шаблоны, выберите разные рабочие нагрузки.
Можно также фильтровать поиск по определенному языку программирования с помощью раскрывающегося списка Язык. Вы также можете выбирать фильтры из списка Платформа и Тип проекта.
Новый проект откроется в Visual Studio, и вы можете приступить к написанию кода!
Поддержка или устранение неполадок
Иногда возникают проблемы. Если установить Visual Studio не удается, воспользуйтесь пошаговыми указаниями в статье Устранение неполадок при установке и обновлении Visual Studio.
Visual Studio поддерживает различные конфигурации сети и компьютера. Для всех сценариев, в которых участвует локальный компьютер, рекомендуется использовать Visual Studio Installer — небольшой файл, который регулярно проверяет наличие обновлений и уведомляет вас о последних исправлениях и новых функциях. На этой странице обсуждается создание пакета установки файлов для установки на локальном компьютере в автономном режиме.
Если вы являетесь ИТ-администратором предприятия и хотите выполнить развертывание Visual Studio в сети клиентских рабочих станций или если вам нужно создать установочный пакет файлов для перемещения или установки на другой компьютер, обратитесь к руководству для администраторов Visual Studio и документации по созданию сетевой установки Visual Studio.
Использование командной строки для создания локального макета
Скачайте начальный загрузчик для нужного выпуска Visual Studio и скопируйте его в каталог, который будет использоваться в качестве исходного расположения локального макета. После создания макета его можно использовать для установки Visual Studio. Начальный загрузчик — это исполняемый файл, который используется для создания, обновления и выполнения других операций для установки Visual Studio. Для выполнения этого действия необходимо подключение к Интернету.
Шаг 1. Скачивание начального загрузчика Visual Studio
Для получения последних начальных загрузчиков Visual Studio 2017 версии 15.9 скачайте один из следующих файлов. Эти начальные загрузчики всегда будут устанавливать последнюю версию Visual Studio 2017 вне зависимости от момента их запуска.
Выпуск | Начальный загрузчик |
---|---|
Visual Studio 2017 Professional версии 15.9 | vs_professional.exe |
Visual Studio 2017 Enterprise версии 15.9 | vs_enterprise.exe |
Visual Studio 2017 Build Tools версии 15.9 | vs_buildtools.exe |
Приведенные ниже начальные загрузчики всегда будут устанавливать последнюю наиболее безопасную версию Visual Studio 2019 вне зависимости от момента их запуска. Если же вы хотите установить конкретную версию Visual Studio 2019, перейдите на страницу выпусков Visual Studio 2019 со ссылками на начальные загрузчики для конкретных версий каждого обслуживаемого выпуска и скачайте нужный. Скопируйте его в каталог, который будет использоваться в качестве исходного расположения локального макета.
Выпуск | Начальный загрузчик |
---|---|
Visual Studio 2019 Professional версии 16.11 | vs_professional.exe |
Visual Studio 2019 Enterprise версии 16.11 | vs_enterprise.exe |
Visual Studio 2019 Build Tools версии 16.11 | vs_buildtools.exe |
Приведенные ниже начальные загрузчики всегда будут устанавливать последнюю наиболее безопасную версию Visual Studio 2022 вне зависимости от момента их запуска. Если же вы хотите установить конкретную версию или конкретный канал Visual Studio 2022, перейдите на страницу выпусков Visual Studio 2022 со ссылками на начальные загрузчики для конкретных версий каждого обслуживаемого выпуска и скачайте нужный. Скопируйте его в каталог, который будет использоваться в качестве исходного расположения локального макета.
Выпуск | Начальный загрузчик |
---|---|
Visual Studio 2022 Community | vs_community.exe |
Visual Studio 2022 Professional | vs_professional.exe |
Visual Studio 2022 Enterprise | vs_enterprise.exe |
Visual Studio 2022 Build Tools | vs_buildtools.exe |
Если вы ранее скачали конкретный файл начального загрузчика и хотите проверить, какую версию он установит, см. следующие инструкции. В Windows откройте проводник, щелкните правой кнопкой мыши файл начального загрузчика, выберите Свойства, перейдите на вкладку Подробно, а затем найдите номер в строке Версия продукта. Чтобы сопоставить этот номер с выпуском Visual Studio, см. таблицу в нижней части страницы Выпуски Visual Studio 2019.
Если вы ранее скачали файл начального загрузчика и хотите проверить, какую версию он установит, см. следующие инструкции. В Windows откройте проводник, щелкните правой кнопкой мыши файл начального загрузчика, выберите Свойства и перейдите на вкладку Подробности. Поле Версия продукта отобразит канал и версию, которые установит начальный загрузчик. Номер версии следует читать как "последняя обслуживаемая конкретная версия", а канал является текущим, если явно не указано иное. Таким образом, начальный загрузчик с версией продукта канала LTSC 17.0 установит последний обслуживаемый выпуск 17.0.x, доступный на канале LTSC 17.0. Начальный загрузчик с версией продукта, указанной как "Visual Studio 2022", установит последнюю версию Visual Studio 2022 с текущего канала.
Шаг 2. Создание локального макета
Для выполнения этого этапа необходимо подключение к Интернету.
Откройте командную строку с правами администратора, перейдите в каталог, в который был скачан начальный загрузчик, и используйте параметры начального загрузчика, как указано в статье Использование параметров командной строки для установки Visual Studio, чтобы создать локальный макет. Распространенные примеры использования начального загрузчика Enterprise показаны ниже и на странице с примерами параметров командной строки. Вы можете установить язык, отличающийся от английского, изменив en-US на языковой стандарт из списка языковых стандартов. Для дальнейшей настройки локального макета можно использовать список компонентов и рабочих нагрузок.
Чтобы предотвратить ошибку, убедитесь, что путь к полной установке содержит менее 80 символов.
Для разработки классических приложений C++ выполните следующую команду:
Чтобы создать локальный макет с поддержкой только английского языка и полным набором компонентов (это будет довольно долго — компонентов у нас очень много), выполните следующую команду:
Для создания локального макета Visual Studio потребуется как минимум 35 ГБ пространства на диске. Дополнительные сведения см. в статье Требования к системе.
Для создания локального макета Visual Studio потребуется как минимум 41 ГБ пространства на диске. Дополнительные сведения см. в статье Требования к системе.
Для создания локального макета Visual Studio потребуется как минимум 45 ГБ пространства на диске. Дополнительные сведения см. в статье Требования к системе.
Шаг 3. Установка Visual Studio из локального макета
При установке Visual Studio из локального макета установщик Visual Studio использует локальные версии файлов. Но если во время установки вы выберете компоненты, которые отсутствуют в макете, установщик Visual Studio попытается скачать их из Интернета. Чтобы установить только те файлы, которые вы уже скачали, все параметры командной строки должны совпадать с теми, которые вы использовали для создания локального макета. Чтобы установщик не попытался подключиться к Интернету, используйте параметр --noweb .
Предположим, что вы создали макет локальной установки с помощью следующей команды:
В этом случае используйте для запуска установки следующую команду.
В этом случае используйте для запуска установки следующую команду.
Если вы используете Visual Studio Community, необходимо активировать его, войдя в продукт в течение 30 дней после установки. Для активации требуется подключение к Интернету.
Список языковых стандартов
Язык-языковой стандарт | Язык |
---|---|
cs-CZ | Чешский |
de-DE | Немецкий |
en-US | Английский |
es-ES | Испанский |
fr-FR | Французский |
it-IT | Итальянский |
ja-JP | Японский |
ko-KR | Корейский |
pl-PL | Польский |
pt-BR | Португальский (Бразилия) |
ru-RU | Русский |
tr-TR | Турецкий |
zh-CN | Китайский (упрощенное письмо) |
zh-TW | Китайский (традиционное письмо) |
Поддержка или устранение неполадок
Иногда возникают проблемы. Если установить Visual Studio не удается, воспользуйтесь пошаговыми указаниями в статье Устранение неполадок при установке и обновлении Visual Studio.
This article will show you how to successfully install Visual Studio 6.0 on the latest version of Windows 10. The installation is possible but requires some additional steps for a successful installation.
Содержание
If you have already attempted to install
If you have already attempted to install Visual Studio 6.0 but have failed to do so you will need to delete some files and some registry entries before trying again. Delete the following files from your computer:
If you are on 32-bit, then the program will be located at C:\Program Files instead of C:\Program Files (x86).
- C:\Program Files (x86)\Microsoft Visual Studio\Common
- C:\Program Files (x86)\Microsoft Visual Studio\MSDN
- C:\Program Files (x86)\Microsoft Visual Studio\MSDN98
- C:\Program Files (x86)\Microsoft Visual Studio\VB98
- C:\Program Files (x86)\Microsoft Visual Studio\VC98
- C:\Program Files (x86)\Microsoft Visual Studio\*.HTM
- C:\Program Files (x86)\Microsoft Visual Studio\*.TXT
- C:\Program Files (x86)\Common Files\Microsoft Shared\MSDesigners98
- C:\Program Files (x86)\Common Files\Microsoft Shared\MSDN
- C:\Program Files (x86)\Common Files\Microsoft Shared\VS98
- C:\Program Files (x86)\Common Files\Microsoft Shared\Wizards98
Delete the following registry entries:
- HKEY_LOCAL_MACHINE\Software\Microsoft\DevStudio
- HKEY_LOCAL_MACHINE\Software\Microsoft\HTML Help Collections
- HKEY_LOCAL_MACHINE\Software\Microsoft\MSVSDG
- HKEY_LOCAL_MACHINE\Software\Microsoft\Visual Basic\6.0
- HKEY_LOCAL_MACHINE\Software\Microsoft\Visual Component Manager
- HKEY_LOCAL_MACHINE\Software\Microsoft\Visual Modeler
- HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\6.0
- HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\DevStudio
- HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\HTML Help Collections
- HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\MSVSDG
- HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Visual Basic\6.0
- HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Visual Component Manager
- HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Visual Modeler
- HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\VisualStudio\6.0
- HKEY_CURRENT_USER\Software\Microsoft\DevStudio
- HKEY_CURRENT_USER\Software\Microsoft\MSVSDG
- HKEY_CURRENT_USER\Software\Microsoft\Visual Basic\6.0
- HKEY_CURRENT_USER\Software\Microsoft\Visual Modeler
- HKEY_CURRENT_USER\Software\Microsoft\VisualFoxPro
- HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\6.0
and then continue on with the tutorial.
Preparing the setup files
First things first, you will need a copy of Visual Studio 6.0 and we will need to extract the files. This has been tested on the Enterprise and Professional versions of Visual Studio. Create a folder on your Desktop named "Setup". Insert your Visual Studio 6.0 CD, or, if you have an ISO file, extract the files from it using 7-Zip or a similar tool. Copy the contents of the CD/ISO into the Setup folder. If you are prompted to overwrite a duplicate file name, skip it.
Open the file named SETUPWIZ.INI in your preferred text editor. This tutorial will use Notepad++. Under a section called [setup wizard], we are going to be looking for an entry called VmPath. It should be on line 21. If you do not have this entry, or the entry is empty, you may skip this step. Otherwise, we need to remove the value ie4\msjavx86.exe. We remove this to prevent the setup Wizard from looking for and trying to install this extremely old version of MS Java which does not work in newer versions of Windows. Your INI file should look similar to this:
Now we need to modify the Setup program so that it will actually run. It's very easy. Locate the SETUP.EXE which should be in the same location as SETUPWIZ.INI. Right click on this file, and choose "Properties". Click on the Compatibility tab and check the box "Run this program in compatibility mode for:". On the drop-down menu, select "Windows XP (Service Pack 3)". Then, check the box that says "run this program as an administrator". Click the Apply button and hit OK.
Now it's time to run the setup wizard. Click on SETUP.EXE. A UAC prompt will appear - hit yes. Once the setup opens, choose all of the defaults for each step and hit continue. It will search for "previously installed components" which might take a bit. When the process is done you will be presented with a dialog choice of what installation type you want. Select Custom. If you are prompted to install "Source Safe", choose No.
Custom Settings
When everything is finally done you should see a "Visual Studio 6.0 - Custom" dialog. For this article, we are installing only Visual Basic 6.0 and Visual C++ 6.0, so you can uncheck the options for Visual FoxPro 6.0, Visual InterDev 6.0 and Visual SourceSafe 6.0. Select the option for Visual C++ 6.0, press the "Change Option. " button and install the UNICODE libraries for MFC.
Installing Unicode Libraries
This part is completely optional, but some programmers may want to support languages such as Chinese, Japanese, Arabic, etc. If you do not plan on having support for those languages in your program or you are not compiling a program with support for those languages you can skip this step. Otherwise, when presented with the next dialog, select the option "VC++ MFC and Template Libraries", press the "Change Option. " button then select the option "MS Foundation Class Libraries" and press the "Change Option. " button. We want to install everything listed so press the "Select All" button. Now you should see the following options:
Disable ADO, RDS and OLE DB Providers
This step is necessary because if you do not disable this, the installation will fail. Select "Data Access", and press "Change Option. ". When the Data Access dialog opens select "ADO, RDS, and OLE DB Providers" and make sure it is unchecked. Although the program will complain that it is an essential part of the application you can safely use Visual Studio without it. Ignore the warning, and press OK. Your options should look like this:
Disable Visual Studio Analyzer
This step is necessary because if you do not disable this, the installation will fail. Select "Enterprise Tools" and press "Change Option. ". When the dialog opens select "Visual Studio Analyzer" and make sure it is unchecked. Press the OK button to continue.
Finishing up
The installation should finally be ready to go. Press the Continue button. When presented with the "Setup Environment Variables" dialog, just leave the Register Environment Variables box unchecked and press the OK button to continue. The installer should now be running and installing everything. Once completed you will be asked to overwrite JIT Settings. Select No and continue. You'll now be asked to restart Windows. Close any open programs, save all your work and restart the machine to continue the install.
MSDN Installation
When Windows restarts you'll get a prompt asking you to install MSDN. You can choose to install it or not, it's up to you. If you want to install MSDN, follow the instructions in the wizard.
Service Pack 6
Your CD may or may not have Service Pack 6 slipstreamed/installed. If you do not have Service Pack 6 you will definitely want to install it. To do so you can either download the SP6 from Microsoft's Website, or, if that's not available, you can download it from the Computernewb mirror. Right click on the SETUPSP6.EXE and make sure the compatibility mode is set to "Windows XP (Service Pack 3)" and that it is set to run as Administrator. Follow the setup to complete the installation.
Once the setup has completed, go to C:\Program Files (x86)\Microsoft Visual Studio\Common\MSDev98\Bin\ and make sure that all of the EXE files in the directory are set to run in compatibility mode as "Windows XP (Service Pack 3)".
Also ensure that you install sp6. You will not be able to do this if you install the OLE stuff.
regarding slating of vc6 in the previous comments. Nothing has changed. With the latest versions of visual studio you are *still* locked in to the supported operating system of the moment. Integrated Development Environments promote Disintegrated Development. Use emacs. Enjoy
Thanks for your reply.
But this setup is also an update : it searches for previous VB6 installations.
And I can't success this initial installation from CD .
thank you for your persistence. you are half done:
you need to copy SETUPSP6.exe inside the folder and put it the same level as
Vs6sp6.exe. run this setupsp6.exe, then you will see Vs6sp6.exe is an executable.
then just run Vs6sp6.exe and you have SP6 installed successfully.
Thanks a lot for this share !
I also got these two links, and many others, but I never success the installation of VS6
on W7 64bits (integral version). In all cases, setup.exe crashes.
Could you explain me how you succeeded your installation from Visual Studio SP6 ?
The corresponding exe (Vs6sp6.exe) is an updater module : when I launch it, it first looks for previous installations, and - of course - fails.
How did you success your INITIAL installation ?
Thank you for all, in advance.
run this vs6sp6b.exe.
When you run this, it asks for a folder. You should use something like. C:\TempVB6SP6B
But, what exactly has it done? it actually unzipped the real install. It hasn't actually installed anything.
Next, open explorer and navigate to the folder you told it in an earlier step (C:\TempVB6SP6B). In that folder, you will find SETUPSP6.exe. When you
run this setup, your version of Vs6sp6.exe will actually be executable. then you can install SP6.
actually I am working on numerical algorithms to solve a dubious classical math question.
you can not escape from reality.
sorry I did not mean to give you one. just now I know I can give rating to comments.
thank you for honest feedback and I will think about your input.
You are missing three very important points:
- It is not the tool (modern or aged), but the skills, that make you a good (or bad) programmer.
- Sometimes one have to use very old tools not by its own will but due to external conditions.
- If you can successfully manage to use an old tool, it is very likely that you will find little trouble with a modern one.
you are absolutely right for my situation. The core part of logic is mathematical algorithms, which were implemented in C/C++ with 40 years old and I have to reuse them.
That is like saying that a movie actor is more skilled than a theater actor because movies are more modern than theaters. The best movie actor proves his skills by playing in theaters.
yeah. i thinks this is the best approach to do.
don't mess your 'sophisticated' system with some old legacy application, unless you will use it regular.
General News Suggestion Question Bug Answer Joke Praise Rant Admin
Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.
Читайте также: