Visual Studio Installer 2017下载具有管理员权限的文件 [英] Visual Studio Installer 2017 downloads files with admin permission

查看:188
本文介绍了Visual Studio Installer 2017下载具有管理员权限的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Visual Studio Installer以管理员权限启动,并尝试从网上下载文件。


但在我们公司的环境中,admin-account没有互联网 - 访问,因此下载失败。



正常登录用户可以访问互联网。


它是最好使用普通用户信用启动安装程序并使用该用户信用开始下载。要在此之后安装下载的软件包,安装程序应该要求执行管理员权限。

解决方案

您好AndreasBaier,


感谢您在MSDN论坛上发帖。


要安装VS 2017,您可以在网络上部署Visual Studio,只要每台目标计算机符合

最低安装要求
。您可以通过使用--layout开关运行安装文件来创建网络共享(如

创建Visual Studio的离线安装
页面),然后将其从本地计算机复制到网络共享。   


请注意,来自网络共享的安装将"记住"它们来自的源位置。这意味着修复客户端计算机可能需要返回客户端最初安装的网络共享。请仔细选择您的网络位置
,以使其与您希望在组织中运行Visual Studio 2017客户端的生命周期保持一致。


最好的问候,


The Visual Studio Installer starts up with admin-permissions and tries to download the files from the web.

But in our company environment the admin-account has no internet-access, so the download fails.

The normal logged in user has internet access.

It's better to start the installer with normal user credits and start the downloads with that user credits. To install the downloaded packages after that, the installer should ask for admin permissions to execute.

解决方案

Hi AndreasBaier,

Thank you for posting in MSDN forum.

To install VS 2017, you can deploy Visual Studio on a network as long as each target computer meets the minimum installation requirements. You can create a network share by running the setup file with the --layout switch (as described on the Create an Offline Installation of Visual Studio page) and then copying it from the local machine to the network share.   

Note that installations from a network share will "remember" the source location they came from. This means that a repair of a client machine might need to return to the network share that the client originally installed from. Choose your network location carefully so that it aligns to the lifetime that you expect to have Visual Studio 2017 clients running in your organization.

Best Regards,


这篇关于Visual Studio Installer 2017下载具有管理员权限的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆