VSIX不在非管理员帐户中安装 [英] VSIX not installing in non admin account

查看:198
本文介绍了VSIX不在非管理员帐户中安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi Team,

我在一台机器上有两个用户帐户。一个有管理员权限,另一个没有。我有一个C#应用程序,它具有将VSIX安装到我的Visual Studio 2017中的管理员权限。我使用以下参数为VSIXInstaller.exe安装
VSIX。

I have two user accounts in a machine. One with admin rights and another one hasn't. I have an C# application which has admin rights that installs VSIX into my Visual Studio 2017. I have used the following arguments for the VSIXInstaller.exe to install the VSIX.

参数:

VSIXInstaller.exe" vsixfile" / q

VSIXInstaller.exe "vsixfile" /q

安装我的应用程序时,它只将VSIX安装到具有管理员权限的用户帐户。当我登录到非管理员用户帐户时,Visual Studio 2017中未显示VSIX,因为它未安装。但是在非管理员帐户中在命令提示符(没有管理员)中运行VSIXInstaller.exe
时,VSIX已成功安装。 

While installing my application, it installs the VSIX only to the user account with the admin rights. When I log on to the non-admin user account, VSIX is not displayed in the Visual Studio 2017 as it is not installed. But while running the VSIXInstaller.exe with same arguments in Command Prompt (without admin) in non-admin account, the VSIX is installed successfully. 

你能不能让我知道如何运行将VSIX安装到所有用户帐户的VSIXInstaller.exe?

Could you please let me know how to run the VSIXInstaller.exe which installs the VSIX to all the user accounts?

问候,

Manivannan S. 

Manivannan S. 

推荐答案

您需要为VSIXInstaller添加 / admin 参数,以便为所有用户安装扩展程序。
You need to add the /admin argument for VSIXInstaller to install the extension for all users.


这篇关于VSIX不在非管理员帐户中安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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