Windows7 旗舰版环境
下载离线安装包:
vs_enterprise.exe --layout vs2017 --lang en-US
导入3个证书文件;在下载的目录中,执行 vs_Enterprise.exe
提示出错:
此程序需要管理员权限才能执行安装操作。请以管理员身份重新运行该程序。
找不到与以下参数匹配的产品:
channelId: VisualStudio.15.Release productId: Microsoft.VisualStudio.Product.Enterprise
出错日志摘录:
2017-10-27T15:56:58 : Verbose : Visual Studio Installer (1.12.111.1002 : update4) ["C:\\Program Files\\Microsoft Visual Studio\\Installer\\vs_installershell.exe","/finalizeInstall","install","--layoutPath","I:\\vs2017","--in","I:\\vs2017\\Response.json","--locale","zh-CN","--activityId","40b99311-62d1-4bad-ae95-ea733cc12e33"]
2017-10-27T15:57:00 : Verbose : Creating VS Telemetry Survey
2017-10-27T15:57:01 : Verbose : Received the application ready notification
2017-10-27T15:57:02 : Warning : getExperimentsIpcService called more than once.
2017-10-27T15:57:02 : Verbose : Starting ServiceHub Experimentation client.
2017-10-27T15:57:03 : Verbose : Installation finalized successfully.
2017-10-27T15:57:06 : Error : Experiments Ipc Service creation failed.
error: [Error] Hub Controller process exited prematurely with exit code 0 (Success). at Error: Hub Controller process exited prematurely with exit code 0 (Success).
at ControllerConnection.onControllerProcessExited (C:\Program Files\Microsoft Visual Studio\Installer\resources\app\node_modules\microsoft-servicehub\controllerConnection.js:148:21)
at ChildProcess.<anonymous> (C:\Program Files\Microsoft Visual Studio\Installer\resources\app\node_modules\microsoft-servicehub\controllerConnection.js:104:93)
at Object.onceWrapper (events.js:293:19)
at emitTwo (events.js:111:20)
at ChildProcess.emit (events.js:194:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
From previous event:
at defer (C:\Program Files\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:582:19)
at Promise.then (C:\Program Files\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:828:20)
at ControllerConnection.connectImpl (C:\Program Files\Microsoft Visual Studio\Installer\resources\app\node_modules\microsoft-servicehub\controllerConnection.js:48:14)
at Function.ControllerConnection.connect (C:\Program Files\Microsoft Visual Studio\Installer\resources\app\node_modules\microsoft-servicehub\controllerConnection.js:31:27)
at HubLookup.getLocationService (C:\Program Files\Microsoft Visual Studio\Installer\resources\app\node_modules\microsoft-servicehub\hubLookup.js:19:80)
at HubClient.requestServiceWithRetries (C:\Program Files\Microsoft Visual Studio\Installer\resources\app\node_modules\microsoft-servicehub\hubClient.js:75:21)
at HubClient.requestService (C:\Program Files\Microsoft Visual Studio\Installer\resources\app\node_modules\microsoft-servicehub\hubClient.js:63:21)
at C:\Program Files\Microsoft Visual Studio\Installer\resources\app\main\ipc-rpc-factory.js:37:26
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:109:7)
执行是 “以管理员身份运行此程序” 。微软网站上给出的方法:卸载或删除VisualStudio目录也无效。
网络上有类似的问题的提问,均无解或无效。
解决这个问题,纯粹属于意外: 在Win中,新创建一个Administrator的用户,用这个用户登录Win7,安装VisualStudio2017 ,成功啦!
VS2017安装速度,变的很快了(选择安装)。一会儿就安装好了。但是,遗憾的通知你,你原来的那个用户名,依然无法安装,或者升级VisualStudio2017。废弃它吧!
本文由VS软件圈(vssoft.net)发布,不代表VS软件圈立场,转载联系作者并注明出处:https://vssoft.net/vsazwt/VS2012anzhuangwenti/2020/0725/3983.html