[英]How to deploy a WPF application?
I have developed a WPF application and deployed it using Click Once Deployment. 我已经开发了WPF应用程序,并使用“单击一次部署”部署了它。 I installed it on another pc it works fine but the problem is that the application's root folder is being created in a temporary folder in app data/local.
我将其安装在另一台PC上运行正常,但问题是在应用程序数据/本地的临时文件夹中创建了应用程序的根文件夹。 I want to give user the flexibility of installing the software wherever he/she wants.
我想让用户可以在任何地方灵活地安装软件。 How do I do this?
我该怎么做呢?
You simply can't change the installation folder using ClickOnce. 您根本无法使用ClickOnce更改安装文件夹。 If you want to do this you need to choose a different installer technology.
如果要执行此操作,则需要选择其他安装程序技术。
ClickOnce application require no administrative privileges and are always installed per user in the user application cache. ClickOnce应用程序不需要管理特权,并且始终按用户安装在用户应用程序缓存中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.