Как запустить visual studio installer
Перейти к содержимому

Как запустить visual studio installer

  • автор:

 

How do I run the Visual Studio (2017) Installer?

It’s probably really obvious once you know the answer, but I can’t find it anywhere.

I’m not talking about making an installer, I’m talking about running the installer that lets me modify which features of Visual Studio 2017 are installed.

The main screen looks like this:

enter image description here

the screen I need is this one:

enter image description here

In Visual Studio 2017, there is a menu entry for «Extensions and Updates» under the Tool menu that doesn’t take me to this application. There is also a «NuGet Package Manager» which isn’t even close.

In my Windows 10 start menu, I see Visual Studio 2017 itself, and a folder named «Visual Studio 2017» that contains a couple of command prompts and a «Debuggable Package Manager».

In the Control Panel — Programs and Features, I see Microsoft Visual Studio 2017 but right-click only gives me «Uninstall».

Name already in use

visualstudio-docs / docs / install / install-visual-studio.md

  • Go to file T
  • Go to line L
  • Copy path
  • Copy permalink

21 contributors

Users who have contributed to this file

  • Open with Desktop
  • View raw
  • Copy raw contents Copy raw contents

Copy raw contents

Copy raw contents

Install Visual Studio

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.

[!NOTE] This topic applies to Visual Studio on Windows. For Visual Studio for Mac, see Install Visual Studio for Mac. If you need to programmatically install Visual Studio, refer to the online command line documentation.

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 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 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 do so, select the following button, and choose the edition of Visual Studio that you want to download to your Downloads folder.

To do so, select the following button, and choose the edition of Visual Studio that you want to download 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
  1. From your Downloads folder, double-click the bootstrapper VisualStudioSetup.exe to start the install.

If you receive a User Account Control notice, choose Yes.

  1. We’ll ask you to acknowledge the Microsoft License Terms and the Microsoft Privacy Statement. Choose Continue.

Screenshot showing the Microsoft License Terms and Privacy Statement.

Screenshot showing the Microsoft License Terms and Privacy Statement.

Step 4 — Choose workloads

After the Visual Studio 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.

Screenshot showing the Workloads tab of 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.

Screenshot showing the Workloads tab of the Visual Studio Installer.

Review the workload summaries to decide which workload supports the features you need. For example, choose the ASP.NET and web development workload to edit ASP.NET Web pages with Web Live Preview or build responsive web apps with Blazor, or choose from Desktop & Mobile workloads to develop cross-platform apps with C#, or C++ projects that target C++20.

After you choose the workload(s) you want, select Install.

Next, status screens appear that show the progress of your Visual Studio installation.

[!TIP] 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.

Screenshot showing the Individual components tab of the Visual Studio Installer.

Screenshot showing the Individual components tab of the Visual Studio Installer.

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.

Screenshot showing the Language packs tab of the Visual Studio Installer.

Screenshot showing the Language packs tab of the Visual Studio Installer.

 

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:

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:

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)

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.

Screenshot showing the Installation locations tab of the Visual Studio Installer.

You can reduce the installation footprint of Visual Studio on your system drive. For more information, see Select installation locations.

Screenshot showing the Installation locations tab of the Visual Studio Installer.

[!IMPORTANT] 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, 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 installer

This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.

Visual studio home link

  • ProfileText
  • Sign in

Answered by:

Question

I’ve had Visual Studio 2017 installed for a few months and it’s been fine, but it wouldn’t update to the latest version — after making me click to update the Visual Studio installer, it extracted files and nothing happened.

I expected uninstalling VS 2017 and installing from scratch to fix this issue, but when I run the installer, it just extracts files and then does nothing. I don’t have any error messages — it just won’t open. I also have VS 2015 installed (it was installed before I installed VS 2017 the first time).

Does anyone have any solutions for this? Thanks 🙂

Answers

Thanks for the reply. (Sorry for the late response, I was expecting to get an email if someone posted.)

I actually solved the problem on my own. The issue is that MSI Afterburner seems to prevent some programs from running on the Creator’s Update (so far, I’ve found that it prevents the flight sim IL-2 Battle of Stalingrad and, of course, the VS 2017 installer from running).

The simple fix: close MSI Afterburner and run the installer. Hope this helps someone else with the same confusing issue.

How to Create a Setup file in Visual Studio 2019 – C# or VB.Net

Today we are going to be talking about how to create a setup file in visual studio 2019! This setup file is a packaged version of your application with a wizard that will guide the user through the entire installation process. This will allow the user to install your latest build with ease!

If you have ever written an application and wanted to create an MSI or EXE installer then this is the guide for you! I’m going to go step by step and show you exactly how to create an installer!

Install Wizard

The entire process is pretty easy and simply requires a visual studio extension that was developed by Microsoft. This extension is not a 3rd party product nor is it terribly complicated to use.

Alright, so let’s get right into it!

The first thing we’re going to need to do is to download the required extension. The extension we will need is called “Microsoft Visual Studio installer project”

You access the Manage Extensions page by clicking on Extensions and then Manage Extensions at the top

Once you are on the Manage Extensions page, search for this extension. It is one of the most downloaded extensions, so it should be at the top of the list. Go ahead and download it, then we can move on to the next step!

Next, we need to restart visual studio to get it to install the extension. Once visual studio closes this little extension installer will install the new extension.

Once the extension installer comes up hit modify and let it progress through. This can take a second to install but it doesn’t take terribly long. It should only take about a minute or so.

VS Extension installer

alright, once that has finished installing, you can open visual studio again.

Now that you have Visual studio open again, you want to open the project that you would like to create the installer for. because it’s going to be a second project inside the same solution.

alright, so now that we’ve got our extension ready to go we are going to right-click on the solution and add a new project. This new project is going to be the setup project. Search for the setup project template and choose that as your new project type.

Setup Project Template

Once you select Setup Project, give it a name and then click create. This will create a second project under your Solution with the name you provided.

If you open that project, you will be greeted with the setup project’s main screen as shown below.

Setup project

Inside of this project, there will be 3 folders:

  • Application folder: This is where your exe and assembly files will be placed.
  • Desktop folder: This will be where we put items destined for the user’s desktop.
  • User’s Program Menu: This will be where we put items to be added to the user’s program menu.

To configure your new setup project follow these steps

    Add a new project output to the application folder.

Select the Application Folder and then right click and select “Add a new Project Output”. This will copy over all of your dll’s and main exe from your other project. This will look just like your typical Debug folder contents. Add -> Project Output -> “Primary Output”

Right click the Primary Output item that was added when you added the new project output to the Application Folder. Select “Create Shortcut” to create a new shortcut that we will later move to the desktop section.

Right click again, select Add and choose to add a file. Browse for an ico file and import it.

Right click on the new shortcut we have created, select “Properties Window”, from here change the icon by clicking browse on the right. Browse into your Application Folder and choose the new icon.

Drag your new shortcut over to the User’s Desktop folder on the left side of the split-screen. This will make the wizard create that shortcut on the user’s desktop when the application is installed.

Now that you have the desktop shortcut in place, we need to create one more identical shortcut. Follow the same process to create the shortcut and set it’s icon. After you have the new setup created, right click on User’s Programs Menu and select to create a new folder. Create a folder for your shortcut to be under and then move your new shortcut into that folder. Now the User’s Programs Menu will have a shortcut created in it.

From this point, I would update a few properties of the setup project.
Author: company or person who wrote the application
Description: simple description about the app
Manufacturer: Used for the install location.
Those are the only properties I updated in my example.

If you right click the Project and select Properties, you can then click on a button that says “Prerequisites…” This will bring up a screen where you can choose to have certain prerequisites such as certain .net framework versions install with your application.

Right-click on the project and choose build. Once it finishes building, right-click again and select “Open Folder in File Explorer”. This will bring up a folder with your install files in it!

Congratulations! That is all there is to it! At this point, you should have a working setup project! I hope this guide was helpful! I’ll see you in the next one!

 

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *