java 清单文件 生成,为免注册COM生成清单文件

您可以使用Unattended Make My Manifest spin off直接在自动构建中生成清单 . 它使用脚本文件添加依赖的COM组件 . 这是带有可用命令的示例ini的摘录:

# Unattended MMM script

#

# Command names are case-insensitive. Reference of supported commands:

#

# Command: Identity

#

# Appends assemblyIdentity and description tags.

#

# Parameters [name] [description]

# exe_file file name can be quoted if containing spaces. The containing folder

# of the executable sets base path for relative file names

# name (optional) assembly name. Defaults to MyAssembly

# description (optional) description of assembly

#

# Command: Dependency

#

# Appends dependency tag for referencing dependent assemblies like Common Controls 6.0,

# VC run-time or MFC

#

# Parameters {|} [version] [/update]

# lib_name one of { comctl, vc90crt, vc90mfc }

# assembly_file file name of .NET DLL exporting COM classes

# version (optional) required assembly version. Multiple version of vc90crt can

# be required by a single manifest

# /update (optional) updates assembly_file assembly manifest. Spawns mt.exe

#

# Command: File

#

# Appends file tag and collects information about coclasses and interfaces exposed by

# the referenced COM component typelib.

#

# Parameters [interfaces]

# file_name file containing typelib. Can be relative to base path

# interfaces (optional) pipe (|) separated interfaces with or w/o leading

# underscore

#

# Command: Interface

#

# Appends comInterfaceExternalProxyStub tag for inter-thread marshaling of interfaces

#

# Parameters

# file_name file containing typelib. Can be relative to base path

# interfaces pipe (|) separated interfaces with or w/o leading underscore

#

# Command: TrustInfo

#

# Appends trustInfo tag for UAC user-rights elevation on Vista and above

#

# Parameters [level] [uiaccess]

# level (optional) one of { 1, 2, 3 } corresponding to { asInvoker,

# highestAvailable, requireAdministrator }. Default is 1

# uiaccess (optional) true/false or 0/1. Allows application to gain access to

# the protected system UI. Default is 0

#

# Command: DpiAware

#

# Appends dpiAware tag for custom DPI aware applications

#

# Parameters [on_off]

# on_off (optional) true/false or 0/1. Default is 0

#

# Command: SupportedOS

#

# Appends supportedOS tag

#

# Parameters

# os_type one of { vista, win7 }. Multiple OSes can be supported by a single

# manifest

#

它将在32位或64位Windows上运行 .

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值