WPF部署 [英] WPF Deployment

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

问题描述

我开发了一个WPF应用程序并使用Click Once Deployment部署它。我在另一台电脑上安装它工作正常,但问题是应用程序的根文件夹是在app data / local的临时文件夹中创建的。我想给用户
,无论他/她想要什么,都可以灵活地安装软件。我该怎么做?

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应用程序,无论是本地安装还是在线托管,都存储在ClickOnce应用程序缓存中的客户端计算机。缓存通过保持所有应用程序及其不同版本的程序集和数据文件彼此分离来帮助隔离应用程序。  从
查看
ClickOnce缓存概述

如果您希望为用户提供选择安装位置的灵活性,则设置部署可能更适合您。检查: Visual Studio安装程序部署
或  InstallShield限量版

If you wants to give user flexibility to select installation location, maybe setup deployment is more appropriate to you. Check :Visual Studio Installer Deployment or InstallShield Limited Edition.

希望这对你有所帮助。

最好的问候,

Bob





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

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