[英]How to create C# application installer in Visual Studio 2022, which can be installed without administrator rights?
My problem is that, I have created an installer for my application in Visual Studio 2022 and it is asking for admin rights if I'm trying to setup it on another computer.我的问题是,我已经在 Visual Studio 2022 中为我的应用程序创建了一个安装程序,如果我试图在另一台计算机上安装它,它会要求管理员权限。 I can only install it on another pc without admin rights.
我只能在没有管理员权限的另一台电脑上安装它。
Is it possible to make an installer which can be runnable without admin rights?是否可以制作一个无需管理员权限即可运行的安装程序?
You can use ClickOnce to solve installation permission problems.您可以使用 ClickOnce 来解决安装权限问题。
ClickOnce is a deployment technology that enables the creation of self-updating Windows-based applications that can be installed and run with minimal user interaction. ClickOnce 是一种部署技术,它支持创建自更新的基于 Windows 的应用程序,这些应用程序只需最少的用户交互即可安装和运行。 ClickOnce deployment overcomes three main problems inherent in deployment:
ClickOnce 部署克服了部署中固有的三个主要问题:
For specific deployment steps, please refer to: https://learn.microsoft.com/en-us/visualstudio/deployment/quickstart-deploy-using-clickonce-folder?view=vs-2022具体部署步骤请参考: https://learn.microsoft.com/en-us/visualstudio/deployment/quickstart-deploy-using-clickonce-folder?view=vs-2022
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.