如何编写代码以在所需位置设置WPF应用程序安装路径? [英] How to write code to set WPF application installation path at the desired location?

查看:351
本文介绍了如何编写代码以在所需位置设置WPF应用程序安装路径?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到的问题是,我的WPF应用程序(使用Microsoft Visual Basic 2010 Express编写)安装在Windows(而不是用户)随机确定的位置上.

I''m facing problem where my WPF applications(written using Microsoft Visual Basic 2010 Express) are installed at the location randomly determined by Windows, not by user. How to make it installed at the location determined by user, not by windows?

推荐答案

我确定在Express版中不可能安装它.但是,Visual Studio Professional为四种类型的部署项目提供了模板:合并模块项目,安装项目,Web安装项目和CAB项目. MSDN参考上的详细信息: http://msdn.microsoft.com/en-us/library/wx3b589t.aspx [^ ]
I''m sure it is not possible in Express edition. But, Visual Studio professional provides templates for four types of deployment projects: Merge Module Project, Setup Project, Web Setup Project, and CAB Project. Details at MSDN reference: http://msdn.microsoft.com/en-us/library/wx3b589t.aspx[^]


这篇关于如何编写代码以在所需位置设置WPF应用程序安装路径?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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