生成 Mst 响应工具 [英] Generate Mst response tool

查看:18
本文介绍了生成 Mst 响应工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 c# 创建一个工具,以获取通过单击 msi(Windows 安装程序)的对话框生成的属性.

I am trying to create a tool using c# to get the properties generated from clicking through the dialogs of an msi(windows installer).

我可以通过在 msi 关闭之前读取 _property 表来获得最终的 msi 属性,但这包含了很多不需要的属性,例如目录等

I can get the final msi properties by reading the _property table before the msi closes but this contains quite a number of properties that are not required e.g. directories etc.

我希望能够做的就是启动对话框并获取与这些对话框相关的填充属性.有人能指出我正确的方向吗?

What i would like to be able to do is just launch the dialogs and get the populated properties relating to those dialogs. Could someone point me in the right direction?

谢谢乙

推荐答案

为了提供帮助,由于没有其他人回答,我就写下我所知道的,虽然这在技术意义上并不是真正的答案.

In the interest of helping, and since nobody else has answered, I will just write what I know, though it isn't really an answer in a technical sense.

有几种工具已经可以做到这一点 - 有些甚至曾经是免费的,但下载已被删除(Wise InstallTailor).

There are several tools available that already do this - some even used to be free but the downloads were removed (Wise InstallTailor).

我不知道您的用例究竟是什么.如果您只是想要针对特定​​任务的解决方案,或者尽管有其他解决方案可用,但您仍打算自己编写代码?

I don't know what your use-case really is. If you just want a solution for a specific task, or you are intending to code this yourself despite other solutions being available?

Wise Package Studio 有一个名为 InstallTailor 的转换生成器.我不认为它可以自由分发,因为该产品已从市场上撤下并被购买(或者我们可以共享 EXE - 据我回忆,它曾经是免费软件).

Wise Package Studio had one transform generator called InstallTailor. I don't think it is freely distributable as the product has been taken off the market and bought up (or we could have shared the EXE - it used to be freeware as far as I recall).

InstallAware 有一项名为 InstallAware Transformer 的功能:https://www.installaware.com/installtailor.htm

InstallAware has a feature called InstallAware Transformer: https://www.installaware.com/installtailor.htm

Advanced Installer 具有创建响应转换"的功能,其本质上与 InstallAware 转换器相同,但略有不同.

Advanced Installer has a feature to create a "Response Transform" which is essentially doing the same as InstallAware transformer with slight variations.

Installshield 具有转换项目类型,从外观上看,它提供与其他两种产品几乎完全相同的功能.

Installshield has a transform project type which offers pretty much exactly the same features as the other two products by the looks of it.

以上都是商业产品,但其中一些功能在试用期结束后可能会起作用.我不能保证,但看起来 Advanced Installer 允许自由生成响应转换.

The above are all commercial products, but some of these features may work after the trial period has expired. I cannot guarantee it, but it looks like Advanced Installer allows a response transform to be generated freely.

所以这对您来说是一个非技术性的答案.也许您只需要一个工具来完成这项工作?

So that is a non-technical answer for you. Perhaps you just need to get a tool to do the job?

这篇关于生成 Mst 响应工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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