Visual Studio 2010安装项目:如何设置默认安装位置中使用的公司名称?

问题描述:

在同一解决方案中,我有一个控制台应用程序项目和一个相关的安装项目.当我运行生成的.msi时,安装向导将显示以下默认安装位置:

I have a console app project and a related setup project in the same solution. When I run the generated .msi, the install wizard shows following default Install location:

C:\Program Files (x86)\Default Company Name\myApp\

我如何输入自己的公司名称?

How can I put my own company name?

打开属性"窗口(不要在设置项目上单击鼠标右键)

Open the Properties Window (NOT the right-click on the set-up project)

使用工具栏视图->属性窗口

VS 2013/2017 : 键盘快捷键 F4

VS 2010 : 键盘快捷键顺序:先按 Ctrl + W ,然后先按 Ctrl + P

VS 2010 on windows 7: Keyboard shortcut sequence Ctrl + W and then Ctrl + P

现在在解决方案资源管理器"窗口中选择您的设置项目,属性"窗口应填充您可以编辑的信息(例如作者,语言,程序标题等)

Now select your set-up project in the Solution Explorer window, the Properties window should populate with the info (e.g. author, language, program title etc.) that you can edit