windows 设置窗口安装程序的属性,例如作者、描述

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4979315/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 16:09:47  来源:igfitidea点击:

Setting properties for window installer such as Author, Description

windowsvisual-studio-2010installer

提问by PJUK

Hi I have problem with setting properties for window installer such as Author, Description...

嗨,我在设置窗口安装程序的属性时遇到问题,例如作者、描述...

Project for which I want create installer package is WPF app. I set assembly properties in WPF project.

我要为其创建安装程序包的项目是 WPF 应用程序。我在 WPF 项目中设置了程序集属性。

enter image description here

在此处输入图片说明

I create new project Visual Studio Project -> Setup project and add WPF assembly.

我创建新项目 Visual Studio Project -> Setup 项目并添加 WPF 程序集。

Build this project and try run app. As destionation folder I see:

构建这个项目并尝试运行应用程序。作为目的地文件夹,我看到:

C:\Program Files\Default Company Name\Spirit\

C:\Program Files\默认公司名称\Spirit\

I suppose that Company name will be comapny name of assembly for which I created installation package.

我想公司名称将是我为其创建安装包的程序集的公司名称。

I try find how set this projeties in setup project but I can't find way how can I set this properties on setup project.

我尝试找到如何在安装项目中设置此项目,但我找不到如何在安装项目中设置此属性的方法。

If I try set properties of setup project I see this:

如果我尝试设置安装项目的属性,我会看到:

enter image description here

在此处输入图片说明

I use Visual Studio 2010.

我使用 Visual Studio 2010。

回答by PJUK

I think you are doing what I found myself doing for a while there, right click and choose properties brings up the Projects configuration properties, Build etc like you are getting.

我认为你正在做我发现自己在那里做的事情,右键单击并选择属性会显示项目配置属性,构建等,就像你得到的一样。

I had my other "standard" properties window on auto hide, so I re pinned it and put it in its own window and then selecting the setup project brings up its "standard" properties.

我的另一个“标准”属性窗口处于自动隐藏状态,因此我重新固定它并将其放在自己的窗口中,然后选择安装项目会显示其“标准”属性。

See the screen shot below, hopefully it helps someone, this question isn't too recent

请参阅下面的屏幕截图,希望它可以帮助某人,这个问题不是最近

Standard Properties

标准属性

回答by Cosmin Pirvu

Most of this information is retrieved from the MSI Summary Information. So you can modify them by using a tool that can edit this information, for example Orca: http://msdn.microsoft.com/en-us/library/aa370557(VS.85).aspx

大多数信息是从 MSI 摘要信息中检索的。因此,您可以使用可以编辑此信息的工具来修改它们,例如 Orca:http: //msdn.microsoft.com/en-us/library/aa370557(VS.85) .aspx