1. Download the latest installer of Visual Studio 2017 https://visualstudio.microsoft.com/
2. Copy the download folder into another folder. Also, create another folder where the offline installer file of VS 2017 will download.
3. Run cmd on the following path.
4. Copy the following command:
vs_Enterprise.exe --layout C:\atiour\VS2017Enterpriseoffline
-- lang en-us
-- add
Microsoft.VisualStudio.Workload.CoreEditor
Microsoft.VisualStudio.Workload.ManagedDesktop
Microsoft.VisualStudio.Workload.NativeDesktop
Microsoft.VisualStudio.Workload.NetCoreTools
Microsoft.VisualStudio.Workload.NetWeb
Microsoft.VisualStudio.Workload.Node
Microsoft.VisualStudio.Workload.Office
Microsoft.VisualStudio.Workload.Python
Microsoft.VisualStudio.Workload.Universal
Microsoft.VisualStudio.Workload.NetCrossPlat
Microsoft.VisualStudio.Workload.NativeMobile
Microsoft.VisualStudio.Workload.VisualStudioExtension
Microsoft.VisualStudio.Workload.WebCrossPlat
if you need additional component your can choose your required component from the link: https://docs.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-enterprise?view=vs-2017
5. when you copy the command in to cmd it will start downloading
6. After complete download, you will find 2 files.
Response.template.json file contains all the downloaded component. You need to update Response.json file with Response.template.json and remove component which item you need and which item you don't need. In my case I update the Response.json file as following.
{
"installChannelUri":".\\ChannelManifest.json"
,"channelUri":"https://aka.ms/vs/15/release/channel"
,"installCatalogUri":".\\Catalog.json"
,"channelId":"VisualStudio.15.Release"
,"productId":"Microsoft.VisualStudio.Product.Enterprise"
,"includeRecommended": true
,"includeOptional": true
"add":[
"Component.Anaconda2.x64",
"Component.Anaconda2.x86",
"Component.Anaconda3.x64",
"Component.Anaconda3.x86",
"Component.Android.Emulator",
"Component.Android.NDK.R11C",
"Component.Android.NDK.R11C_3264",
"Component.Android.NDK.R12B",
"Component.Android.NDK.R12B_3264",
"Component.Android.NDK.R13B",
"Component.Android.NDK.R13B_3264",
"Component.Android.NDK.R15C",
"Component.Android.NDK.R15C_3264",
"Component.Android.SDK19.Private",
"Component.Android.SDK21.Private",
"Component.Android.SDK22.Private",
"Component.Android.SDK23",
"Component.Android.SDK23.Private",
"Component.Ant",
"Component.Cocos",
"Component.CordovaToolset.6.3.1",
"Component.CPython2.x64",
"Component.CPython2.x86",
"Component.CPython3.x64",
"Component.CPython3.x86",
"Component.Dotfuscator",
"Component.GitHub.VisualStudio",
"Component.HAXM",
"Component.HAXM.Private",
"Component.Incredibuild",
"Component.IncredibuildMenu",
"Component.Linux.CMake",
"Component.MDD.Android",
"Component.MDD.IOS",
"Component.MDD.Linux",
"Component.MDD.Linux.GCC.arm",
"Component.Microsoft.VisualStudio.RazorExtension",
"Component.Microsoft.VisualStudio.Web.AzureFunctions",
"Component.Microsoft.Web.LibraryManager",
"Component.OpenJDK",
"Component.Redgate.ReadyRoll",
"Component.Redgate.SQLPrompt.VsPackage",
"Component.Redgate.SQLSearch.VSExtension",
"Component.UnityEngine.x64",
"Component.UnityEngine.x86",
"Component.Unreal",
"Component.Unreal.Android",
"Component.WebSocket",
"Component.Xamarin",
"Component.Xamarin.Inspector",
"Component.Xamarin.Profiler",
"Component.Xamarin.RemotedSimulator",
"Microsoft.Component.Azure.DataLake.Tools",
"Microsoft.Component.Blend.SDK.WPF",
"Microsoft.Component.ClickOnce",
"Microsoft.Component.CodeAnalysis.SDK",
"Microsoft.Component.CookiecutterTools",
"Microsoft.Component.HelpViewer",
"Microsoft.Component.MSBuild",
"Microsoft.Component.Netfx.Core.Runtime",
"Microsoft.Component.Netfx.Native",
"Microsoft.Component.PythonTools",
"Microsoft.Component.PythonTools.UWP",
"Microsoft.Component.PythonTools.Web",
"Microsoft.Component.VC.Runtime.OSSupport",
"Microsoft.Component.VC.Runtime.UCRTSDK",
"Microsoft.ComponentGroup.Blend",
"Microsoft.ComponentGroup.PythonTools.NativeDevelopment",
"Microsoft.Net.Component.3.5.DeveloperTools",
"Microsoft.Net.Component.4.5.1.TargetingPack",
"Microsoft.Net.Component.4.5.2.TargetingPack",
"Microsoft.Net.Component.4.5.TargetingPack",
"Microsoft.Net.Component.4.6.1.SDK",
"Microsoft.Net.Component.4.6.1.TargetingPack",
"Microsoft.Net.Component.4.6.2.SDK",
"Microsoft.Net.Component.4.6.2.TargetingPack",
"Microsoft.Net.Component.4.6.TargetingPack",
"Microsoft.Net.Component.4.7.1.SDK",
"Microsoft.Net.Component.4.7.1.TargetingPack",
"Microsoft.Net.Component.4.7.2.SDK",
"Microsoft.Net.Component.4.7.2.TargetingPack",
"Microsoft.Net.Component.4.7.SDK",
"Microsoft.Net.Component.4.7.TargetingPack",
"Microsoft.Net.Component.4.TargetingPack",
"Microsoft.Net.ComponentGroup.4.6.2.DeveloperTools",
"Microsoft.Net.ComponentGroup.4.7.1.DeveloperTools",
"Microsoft.Net.ComponentGroup.4.7.2.DeveloperTools",
"Microsoft.Net.ComponentGroup.4.7.DeveloperTools",
"Microsoft.Net.ComponentGroup.DevelopmentPrerequisites",
"Microsoft.Net.ComponentGroup.TargetingPacks.Common",
"Microsoft.Net.Core.Component.SDK",
"Microsoft.Net.Core.Component.SDK.1x",
"Microsoft.Net.Core.Component.SDK.2.1",
"Microsoft.NetCore.1x.ComponentGroup.Web",
"Microsoft.NetCore.ComponentGroup.DevelopmentTools",
"Microsoft.NetCore.ComponentGroup.DevelopmentTools.2.1",
"Microsoft.NetCore.ComponentGroup.Web",
"Microsoft.NetCore.ComponentGroup.Web.2.1",
"Microsoft.VisualStudio.Component.AppInsights.Tools",
"Microsoft.VisualStudio.Component.AspNet45",
"Microsoft.VisualStudio.Component.Azure.AuthoringTools",
"Microsoft.VisualStudio.Component.Azure.ClientLibs",
"Microsoft.VisualStudio.Component.Azure.Compute.Emulator",
"Microsoft.VisualStudio.Component.Azure.MobileAppsSdk",
"Microsoft.VisualStudio.Component.Azure.ResourceManager.Tools",
"Microsoft.VisualStudio.Component.Azure.ServiceFabric.Tools",
"Microsoft.VisualStudio.Component.Azure.Storage.AzCopy",
"Microsoft.VisualStudio.Component.Azure.Storage.Emulator",
"Microsoft.VisualStudio.Component.Azure.Waverton",
"Microsoft.VisualStudio.Component.Azure.Waverton.BuildTools",
"Microsoft.VisualStudio.Component.ClassDesigner",
"Microsoft.VisualStudio.Component.CloudExplorer",
"Microsoft.VisualStudio.Component.CodeClone",
"Microsoft.VisualStudio.Component.CodeMap",
"Microsoft.VisualStudio.Component.Common.Azure.Tools",
"Microsoft.VisualStudio.Component.Cordova",
"Microsoft.VisualStudio.Component.CoreEditor",
"Microsoft.VisualStudio.Component.Debugger.JustInTime",
"Microsoft.VisualStudio.Component.Debugger.Snapshot",
"Microsoft.VisualStudio.Component.DependencyValidation.Enterprise",
"Microsoft.VisualStudio.Component.DiagnosticTools",
"Microsoft.VisualStudio.Component.DockerTools",
"Microsoft.VisualStudio.Component.DockerTools.BuildTools",
"Microsoft.VisualStudio.Component.DslTools",
"Microsoft.VisualStudio.Component.EntityFramework",
"Microsoft.VisualStudio.Component.FSharp",
"Microsoft.VisualStudio.Component.FSharp.Desktop",
"Microsoft.VisualStudio.Component.FSharp.WebTemplates",
"Microsoft.VisualStudio.Component.Git",
"Microsoft.VisualStudio.Component.GraphDocument",
"Microsoft.VisualStudio.Component.Graphics",
"Microsoft.VisualStudio.Component.Graphics.Tools",
"Microsoft.VisualStudio.Component.Graphics.Win81",
"Microsoft.VisualStudio.Component.IISExpress",
"Microsoft.VisualStudio.Component.IntelliTrace.FrontEnd",
"Microsoft.VisualStudio.Component.JavaScript.Diagnostics",
"Microsoft.VisualStudio.Component.JavaScript.ProjectSystem",
"Microsoft.VisualStudio.Component.JavaScript.TypeScript",
"Microsoft.VisualStudio.Component.LinqToSql",
"Microsoft.VisualStudio.Component.LiveUnitTesting",
"Microsoft.VisualStudio.Component.ManagedDesktop.Core",
"Microsoft.VisualStudio.Component.ManagedDesktop.Prerequisites",
"Microsoft.VisualStudio.Component.Merq",
"Microsoft.VisualStudio.Component.MonoDebugger",
"Microsoft.VisualStudio.Component.Node.Build",
"Microsoft.VisualStudio.Component.Node.Tools",
"Microsoft.VisualStudio.Component.NuGet",
"Microsoft.VisualStudio.Component.NuGet.BuildTools",
"Microsoft.VisualStudio.Component.Phone.Emulator",
"Microsoft.VisualStudio.Component.Phone.Emulator.15063",
"Microsoft.VisualStudio.Component.Phone.Emulator.15254",
"Microsoft.VisualStudio.Component.PortableLibrary",
"Microsoft.VisualStudio.Component.R.Open",
"Microsoft.VisualStudio.Component.RHost",
"Microsoft.VisualStudio.Component.Roslyn.Compiler",
"Microsoft.VisualStudio.Component.Roslyn.LanguageServices",
"Microsoft.VisualStudio.Component.RTools",
"Microsoft.VisualStudio.Component.Runtime.Node.x86.6.4.0",
"Microsoft.VisualStudio.Component.Runtime.Node.x86.7.4.0",
"Microsoft.VisualStudio.Component.Sharepoint.Tools",
"Microsoft.VisualStudio.Component.SQL.ADAL",
"Microsoft.VisualStudio.Component.SQL.CLR",
"Microsoft.VisualStudio.Component.SQL.CMDUtils",
"Microsoft.VisualStudio.Component.SQL.DataSources",
"Microsoft.VisualStudio.Component.SQL.LocalDB.Runtime",
"Microsoft.VisualStudio.Component.SQL.NCLI",
"Microsoft.VisualStudio.Component.SQL.SSDT",
"Microsoft.VisualStudio.Component.StartPageExperiment.Cpp",
"Microsoft.VisualStudio.Component.Static.Analysis.Tools",
"Microsoft.VisualStudio.Component.TeamOffice",
"Microsoft.VisualStudio.Component.TestTools.CodedUITest",
"Microsoft.VisualStudio.Component.TestTools.Core",
"Microsoft.VisualStudio.Component.TestTools.FeedbackClient",
"Microsoft.VisualStudio.Component.TestTools.MicrosoftTestManager",
"Microsoft.VisualStudio.Component.TestTools.WebLoadTest",
"Microsoft.VisualStudio.Component.TextTemplating",
"Microsoft.VisualStudio.Component.TypeScript.2.0",
"Microsoft.VisualStudio.Component.TypeScript.2.1",
"Microsoft.VisualStudio.Component.TypeScript.2.2",
"Microsoft.VisualStudio.Component.TypeScript.2.3",
"Microsoft.VisualStudio.Component.TypeScript.2.5",
"Microsoft.VisualStudio.Component.TypeScript.2.6",
"Microsoft.VisualStudio.Component.TypeScript.2.7",
"Microsoft.VisualStudio.Component.TypeScript.2.8",
"Microsoft.VisualStudio.Component.TypeScript.2.9",
"Microsoft.VisualStudio.Component.TypeScript.3.0",
"Microsoft.VisualStudio.Component.TypeScript.3.1",
"Microsoft.VisualStudio.Component.Unity",
"Microsoft.VisualStudio.Component.UWP.Support",
"Microsoft.VisualStudio.Component.UWP.VC.ARM64",
"Microsoft.VisualStudio.Component.VC.140",
"Microsoft.VisualStudio.Component.VC.ATL",
"Microsoft.VisualStudio.Component.VC.ATL.ARM",
"Microsoft.VisualStudio.Component.VC.ATL.ARM.Spectre",
"Microsoft.VisualStudio.Component.VC.ATL.ARM64",
"Microsoft.VisualStudio.Component.VC.ATL.ARM64.Spectre",
"Microsoft.VisualStudio.Component.VC.ATL.Spectre",
"Microsoft.VisualStudio.Component.VC.ATLMFC",
"Microsoft.VisualStudio.Component.VC.ATLMFC.Spectre",
"Microsoft.VisualStudio.Component.VC.ClangC2",
"Microsoft.VisualStudio.Component.VC.CLI.Support",
"Microsoft.VisualStudio.Component.VC.CMake.Project",
"Microsoft.VisualStudio.Component.VC.CoreIDE",
"Microsoft.VisualStudio.Component.VC.DiagnosticTools",
"Microsoft.VisualStudio.Component.VC.MFC.ARM",
"Microsoft.VisualStudio.Component.VC.MFC.ARM.Spectre",
"Microsoft.VisualStudio.Component.VC.MFC.ARM64",
"Microsoft.VisualStudio.Component.VC.MFC.ARM64.Spectre",
"Microsoft.VisualStudio.Component.VC.Modules.x86.x64",
"Microsoft.VisualStudio.Component.VC.Redist.14.Latest",
"Microsoft.VisualStudio.Component.VC.Runtimes.ARM.Spectre",
"Microsoft.VisualStudio.Component.VC.Runtimes.ARM64.Spectre",
"Microsoft.VisualStudio.Component.VC.Runtimes.x86.x64.Spectre",
"Microsoft.VisualStudio.Component.VC.TestAdapterForBoostTest",
"Microsoft.VisualStudio.Component.VC.TestAdapterForGoogleTest",
"Microsoft.VisualStudio.Component.VC.Tools.14.11",
"Microsoft.VisualStudio.Component.VC.Tools.14.12",
"Microsoft.VisualStudio.Component.VC.Tools.14.13",
"Microsoft.VisualStudio.Component.VC.Tools.14.14",
"Microsoft.VisualStudio.Component.VC.Tools.14.15",
"Microsoft.VisualStudio.Component.VC.Tools.ARM",
"Microsoft.VisualStudio.Component.VC.Tools.ARM64",
"Microsoft.VisualStudio.Component.VC.Tools.x86.x64",
"Microsoft.VisualStudio.Component.VisualStudioData",
"Microsoft.VisualStudio.Component.VSSDK",
"Microsoft.VisualStudio.Component.Wcf.Tooling",
"Microsoft.VisualStudio.Component.Web",
"Microsoft.VisualStudio.Component.WebDeploy",
"Microsoft.VisualStudio.Component.Windows10SDK",
"Microsoft.VisualStudio.Component.Windows10SDK.10240",
"Microsoft.VisualStudio.Component.Windows10SDK.10586",
"Microsoft.VisualStudio.Component.Windows81SDK",
"Microsoft.VisualStudio.Component.WinXP",
"Microsoft.VisualStudio.Component.Workflow",
"Microsoft.VisualStudio.ComponentGroup.ArchitectureTools.Managed",
"Microsoft.VisualStudio.ComponentGroup.ArchitectureTools.Native",
"Microsoft.VisualStudio.ComponentGroup.Azure.CloudServices",
"Microsoft.VisualStudio.ComponentGroup.Azure.Prerequisites",
"Microsoft.VisualStudio.ComponentGroup.Azure.ResourceManager.Tools",
"Microsoft.VisualStudio.ComponentGroup.AzureFunctions",
"Microsoft.VisualStudio.ComponentGroup.IISDevelopment",
"Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core",
"Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Win81",
"Microsoft.VisualStudio.ComponentGroup.NativeDesktop.WinXP",
"Microsoft.VisualStudio.ComponentGroup.UWP.Cordova",
"Microsoft.VisualStudio.ComponentGroup.UWP.NetCoreAndStandard",
"Microsoft.VisualStudio.ComponentGroup.UWP.VC",
"Microsoft.VisualStudio.ComponentGroup.UWP.Xamarin",
"Microsoft.VisualStudio.ComponentGroup.VisualStudioExtension.Prerequisites",
"Microsoft.VisualStudio.ComponentGroup.Web",
"Microsoft.VisualStudio.ComponentGroup.Web.CloudTools",
"Microsoft.VisualStudio.ComponentGroup.WebToolsExtensions",
"Microsoft.VisualStudio.ComponentGroup.WebToolsExtensions.TemplateEngine",
"Microsoft.VisualStudio.ComponentGroup.Windows10SDK.15063",
"Microsoft.VisualStudio.ComponentGroup.Windows10SDK.16299",
"Microsoft.VisualStudio.Web.Mvc4.ComponentGroup",
"Microsoft.VisualStudio.Workload.Azure",
"Microsoft.VisualStudio.Workload.CoreEditor",
"Microsoft.VisualStudio.Workload.Data",
"Microsoft.VisualStudio.Workload.DataScience",
"Microsoft.VisualStudio.Workload.ManagedDesktop",
"Microsoft.VisualStudio.Workload.ManagedGame",
"Microsoft.VisualStudio.Workload.NativeCrossPlat",
"Microsoft.VisualStudio.Workload.NativeDesktop",
"Microsoft.VisualStudio.Workload.NativeGame",
"Microsoft.VisualStudio.Workload.NativeMobile",
"Microsoft.VisualStudio.Workload.NetCoreTools",
"Microsoft.VisualStudio.Workload.NetCrossPlat",
"Microsoft.VisualStudio.Workload.NetWeb",
"Microsoft.VisualStudio.Workload.Node",
"Microsoft.VisualStudio.Workload.Office",
"Microsoft.VisualStudio.Workload.Python",
"Microsoft.VisualStudio.Workload.Universal",
"Microsoft.VisualStudio.Workload.VisualStudioExtension",
"Microsoft.VisualStudio.Workload.WebCrossPlat"
],
"addProductLang":[
"en-US"
]
}
7. open cmd and run the command vs_enterprise --quiet --nocache --wait
8. If you Open Task Manager you will see VS installer is running.
Wait until the complete installation.
Comments
Post a Comment