如何预先设置“属性"中未定义的MSI SecureCustomProperties,以允许静默安装? [英] How to pre-set MSI SecureCustomProperties that are not defined in Properties to allow silent installation?

查看:96
本文介绍了如何预先设置“属性"中未定义的MSI SecureCustomProperties,以允许静默安装?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通常通过EXE包装程序安装特定供应商的MSI,但是我试图通过GPO使用静默安装进行部署.我正在努力预设SecureCustomProperties.

An particular vendor's MSI is usually installed via an EXE wrapper, but I'm trying to deploy using silent installation via GPO. I am struggling to pre-set the SecureCustomProperties.

供应商记录了可以传递给EXE包装程序的大写命令行选项,我假定它们会传递给MSI.使用Orca,我可以看到MSI的属性表包含SecureCustomProperties.该键的值是用分号分隔的大写形式的所有已记录参数的列表.

The vendor documents UPPERCASE command-line options that can be passed to the EXE wrapper, which I assume passes them on to the MSI. Using Orca, I can see that the MSI's Property table contains SecureCustomProperties. This key's value is a semicolon-delimited, UPPERCASE list of all the documented parameters.

但是,每个单独的参数在属性"中都没有对应的键. 如何预先设置这些?

However, each individual parameter does not have a corresponding key in Properties. How can I pre-set these?

根据如何更好地利用MSI文件

您可以找到MSI文件的属性"表中列出的大多数属性, 但也可能会设置一些不属于您的属性 在属性表中定义.在大多数情况下,这与 仅从安装程序GUI设置的属性(指示安装程序设计) 在大多数情况下都是错误).所有属性都应在属性中定义 表格放在正确编写的程序包中.

You can find most properties listed in the MSI file's Property table, but it is also possible that some properties can be set that are not defined in the Property table. In most cases this relates to properties being set only from the setup GUI (indicates a setup design error in most cases). All properties should be defined in the property table in a properly authored package.

能否仅将每个参数添加为属性"中的键并添加我的自定义值?如果是这样,我是否应该将参数保留在SecureCustomProperties中?

Can I just add each parameter as a key in Properties and add my custom value? If so, should I leave the parameters in SecureCustomProperties?

SecureCustomProperties: BLAH1;BLAH2;DBHEADER;BLAH4

DBHEADER 不是属性"中的键.如何设置DBHEADER的值?

DBHEADER is not a key in Properties. How do I set the value of DBHEADER?

推荐答案

通过反复试验,我发现使用Orca将缺少的键添加到属性"表中是可行的.

By trial and error, I found that using Orca to add the missing keys to the Property table worked.

SecureCustomProperties: BLAH1;BLAH2;DBHEADER;BLAH4

DBHEADER在属性中不作为键(行)存在,因此我们无法设置它.

DBHEADER does not exist as a key (row) in Property, so we can't set it.

将具有我想要的值(Live)的键DBHEADER添加到属性表中.

Add key DBHEADER with my desired value (Live) to Property table.

然后生成并使用生成的MSI转换,如其他地方所述.

Then generate and use the resulting MSI Transform as described elsewhere.

这篇关于如何预先设置“属性"中未定义的MSI SecureCustomProperties,以允许静默安装?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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