{"id":243621,"date":"2023-06-12T15:25:02","date_gmt":"2023-06-12T22:25:02","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/visualstudio\/?p=243621"},"modified":"2023-06-14T15:05:24","modified_gmt":"2023-06-14T22:05:24","slug":"installing-visual-studio-from-an-internal-website","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/installing-visual-studio-from-an-internal-website\/","title":{"rendered":"Installing Visual Studio from an Internal Intranet Website"},"content":{"rendered":"<p><span data-contrast=\"none\">We\u2019re happy to announce that starting with Visual Studio 2022 version 17.6, <a href=\"https:\/\/learn.microsoft.com\/visualstudio\/install\/create-a-network-installation-of-visual-studio\">Visual Studio layouts<\/a> are available to install from an internal intranet website!<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"none\">Enterprise customers have long been able to download a particular version of Visual Studio, host it on a private network file share, and make it available for their clients to install. This download cache of Visual Studio product files is commonly known as a layout.\u202f There are a few reasons why a company would choose to use layouts.\u00a0 For example, the administrator may want control what version of the product their organization uses. Or sometimes, the client machines or users don\u2019t have sufficient access permissions, and thus they cannot download or install Visual Studio from Microsoft servers.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"none\">Several administrators<\/span><span data-contrast=\"none\">\u00a0have asked<\/span><span data-contrast=\"none\"> for the ability to install a Visual Studio layout from an internal intranet website instead of from a network file share so that they can more easily<\/span><\/p>\n<ul>\n<li><span data-contrast=\"none\">deal with complicated scripting logic that manages client-to-layout connections in different geographical areas. A static internal website sitting in front of these distributed file share servers simplifies their deployment code. <\/span><\/li>\n<li><span data-contrast=\"none\">take advantage of website caching and realize download performance improvements. <\/span><\/li>\n<li><span data-contrast=\"none\">manage access permissions on websites as compared to file network shares.\u00a0 <\/span><\/li>\n<li><span data-contrast=\"none\">adjust Visual Studio&#8217;s update source by configuring a single website&#8217;s binding as opposed to updating multiple client update channels.\u00a0 <\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<\/ul>\n<h4>How to setup a web hosted layout<\/h4>\n<p><span data-contrast=\"auto\">The process for setting up a web hosted layout involves three main steps. <\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<ol>\n<li data-leveltext=\"%1.\" data-font=\"Calibri\" data-listid=\"21\" data-list-defn-props=\"{&quot;335552541&quot;:0,&quot;335559684&quot;:-1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769242&quot;:[65533,0],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;%1.&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><a href=\"https:\/\/learn.microsoft.com\/visualstudio\/install\/create-a-network-installation-of-visual-studio#making-your-layout-accessible-via-an-intranet-site\"><span data-contrast=\"none\">Create, maintain, and update a regular layout<\/span><\/a><span data-contrast=\"auto\">\u00a0on a network file share just like normal.\u00a0<\/span><\/li>\n<li data-leveltext=\"%1.\" data-font=\"Calibri\" data-listid=\"21\" data-list-defn-props=\"{&quot;335552541&quot;:0,&quot;335559684&quot;:-1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769242&quot;:[65533,0],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;%1.&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><a href=\"https:\/\/learn.microsoft.com\/visualstudio\/install\/create-a-network-installation-of-visual-studio#making-your-layout-accessible-via-an-intranet-site\"><span data-contrast=\"none\">Create and configure an internal website<\/span><\/a><span data-contrast=\"auto\"> and bind the website&#8217;s source to the layout\u2019s network file location. Make sure that permissions are set and the MIME types are registered properly on the internal website. You&#8217;ll likely want to c<\/span><span data-contrast=\"auto\">onfigure the layout&#8217;s response.json file so that client updates are sourced from the internal website.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"%1.\" data-font=\"Calibri\" data-listid=\"21\" data-list-defn-props=\"{&quot;335552541&quot;:0,&quot;335559684&quot;:-1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769242&quot;:[65533,0],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;%1.&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><a href=\"https:\/\/learn.microsoft.com\/en-us\/visualstudio\/install\/deploy-a-layout-onto-a-client-machine?view=vs-2022#install-from-an-internal-intranet-location\"><span data-contrast=\"none\">Run an initialization script on the client<\/span><\/a><span data-contrast=\"auto\"> to perform the initial installation from the internal website. Once the admin has done this, then Visual Studio will be ready for normal use. <\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<\/ol>\n<p><span data-contrast=\"none\">Even though this feature is new, this functionality extends to all supported versions of Visual Studio now that <\/span><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/visual-studio-2022-17-6-now-available\/#enterprise\"><span data-contrast=\"none\">the latest Visual Studio installer is shipping everywhere<\/span><\/a><span data-contrast=\"none\"> Just be sure you use the latest bootstrappers and installers that were released on or after June 1, 2023.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"none\">We hope that this new feature will provide more options to successfully acquire and update Visual Studio within your organization.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<h4>Let us know what you think<\/h4>\n<p><span data-contrast=\"none\">We welcome your feedback on this experience! Feel free to add comments to this blog post or submit a problem report on the\u202f<\/span><a href=\"https:\/\/aka.ms\/vs\/admin\/feedback\"><span data-contrast=\"none\">Visual Studio IT Administrator feedback page<\/span><\/a><span data-contrast=\"none\"> about any challenges you have or improvements you\u2019d like to see regarding this internal website acquisition solution. We welcome your feedback on other topics too &#8211; please <\/span><a href=\"https:\/\/aka.ms\/vs-suggest\"><span data-contrast=\"none\">leave a suggestion for another experience<\/span><\/a><span data-contrast=\"none\">\u202fyou\u2019d like us to <\/span><span data-contrast=\"none\">deliver and<\/span><span data-contrast=\"none\"> fill out our <a href=\"https:\/\/aka.ms\/vs\/admin\/partner\">Customer Deployment Profile survey<\/a>, so we have a better understanding of your operational environments.\u00a0\u00a0<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\n<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We\u2019re happy to announce that starting with Visual Studio 2022 version 17.6, Visual Studio layouts are available to install from an internal intranet website!\u00a0 Enterprise customers have long been able to download a particular version of Visual Studio, host it on a private network file share, and make it available for their clients to install. [&hellip;]<\/p>\n","protected":false},"author":584,"featured_media":255385,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[6904],"tags":[6906,6865,6905,1355,12],"class_list":["post-243621","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-installation-and-updates","tag-install","tag-it-admin","tag-layouts","tag-offline","tag-visual-studio"],"acf":[],"blog_post_summary":"<p>We\u2019re happy to announce that starting with Visual Studio 2022 version 17.6, Visual Studio layouts are available to install from an internal intranet website!\u00a0 Enterprise customers have long been able to download a particular version of Visual Studio, host it on a private network file share, and make it available for their clients to install. [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/243621","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/users\/584"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=243621"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/243621\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/255385"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=243621"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=243621"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=243621"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}