如何部署WPF应用程序? [英] How to deploy a WPF application?

查看:218
本文介绍了如何部署WPF应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开发了WPF应用程序,并使用单击一次部署部署了它。我将其安装在另一台PC上运行正常,但问题是该应用程序的根文件夹是在应用程序数据/本地的临时文件夹中创建的。我想让用户可以在任何地方灵活地安​​装软件。我该怎么做?

I have developed a WPF application and deployed it using Click Once Deployment. 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. I want to give user the flexibility of installing the software wherever he/she wants. How do I do this?

推荐答案

您根本无法使用ClickOnce更改安装文件夹。如果要执行此操作,则需要选择其他安装程序技术。

You simply can't change the installation folder using ClickOnce. If you want to do this you need to choose a different installer technology.

ClickOnce应用程序不需要管理特权,并且始终按用户安装在用户应用程序缓存中。

ClickOnce application require no administrative privileges and are always installed per user in the user application cache.

这篇关于如何部署WPF应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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