语言

InstallationFlags 枚举

定义

与 RegistrationHelper 类一起使用的标志。

此枚举支持其成员值的按位组合。

public enum class InstallationFlags
[System.Flags]
[System.Serializable]
public enum InstallationFlags
[<System.Flags>]
[<System.Serializable>]
type InstallationFlags = 
Public Enum InstallationFlags
继承
InstallationFlags
属性

字段

名称 值 说明
Default 0

执行默认安装,该安装配置、安装和注册,并假定应用程序已存在。

ExpectExistingTypeLib 1

不要导出类型库;可以通过生成的或提供的类型库名称找到一个。

CreateTargetApplication 2

创建目标应用程序。 如果目标已存在,则会发生错误。

FindOrCreateTargetApplication 4

创建应用程序(如果不存在);否则,请使用现有应用程序。

ReconfigureExistingApplication 8

如果使用现有应用程序,请确保此应用程序的属性与程序集中的属性匹配。

ConfigureComponentsOnly 16

仅配置组件,不配置方法或接口。

ReportWarningsToConsole 32

遇到警报文本时,将其写入控制台。

Register 256

不应使用。

Install 512

不应使用。

Configure 1024

不应使用。

适用于