![]() For other commands like update or modify, this parameter is Required and denotes the installation directory for the instance to act upon. Parametersįor the default install command, this parameter is Optional and describes where the instance is installed on the client machine. When specifying multiple distinct workloads or components or languages, you must repeat the -add or -remove command-line switch for each item. Works with -quiet and -passive parameters.Įxports installation configuration into a *.vsconfig file. Updates all of the installed products in sequential order. The default command both installs the product, and it is used for all layout maintenance operations. The subsequent optional command line parameters, all prefixed by two dashes (-), further define how that operation is supposed to happen.Īll Visual Studio command-line parameters are case-insensitive, and more examples can be found on the Command-line parameter examples page.The first parameter is the command (the verb) that describes the operation to perform.When invoking the Visual Studio bootstrapper or the installer programmatically to install the product or to maintain a layout: Install, Update, Modify, Repair, Uninstall, and Export commands and command-line parameters A bootstrapper with a Product version that simply says Visual Studio 2022 will install the latest version of Visual Studio 2022 on the Current channel. So, a bootstrapper with a Product version of LTSC 17.0 will install the latest 17.0.x servicing release that is available on the 17.0 LTSC channel. The version number should always be read as "latest servicing version of what is specified", and the channel is Current unless explicitly specified. ![]() The Product version field will describe the channel and version that the bootstrapper will install. In Windows, open File Explorer, right-click the bootstrapper file, choose Properties and then choose the Details tab. If you previously downloaded a bootstrapper file and want to verify what version it will install, here's how. ![]() For example, client machines may only have the installer available for programmatic execution if Visual Studio was installed via a layout. Furthermore, in some scenarios you may not have access to all of these executables described previously. Not all commands or parameters work in each of these situations, and any special caveats or exceptions are documented. More information can be found in the Update or modify your layout article.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |