是否可以在Linux上以编程方式更改MSI的数据库 [英] Is it possible to programatically change an msi's database on Linux

查看:82
本文介绍了是否可以在Linux上以编程方式更改MSI的数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道您可以在Windows上使用cscript.exe进行更改.是否有Linux程序提供类似cscript的功能?还是有其他方法可以更改Linux中的数据库?

I know you can change it using cscript.exe on Windows. Is there a Linux program providing cscript-like functionality? Or is there some other way I can change the database in Linux?

推荐答案

CScript只是脚本执行引擎.它直接不了解MSI.查看葡萄酒;它实现了msi.dll的大部分/大部分内容,因此只要正确实现了MsiDatabaseOpenView和MsiViewExecute之类的功能,您就可以使用它来修改.msi程序包.

CScript is just the script execution engine; it knows nothing about MSI directly. Check out Wine; it implements some/most of msi.dll, so as long as functions like MsiDatabaseOpenView and MsiViewExecute are correctly implemented, you should be able to use it to modify an .msi package.

这篇关于是否可以在Linux上以编程方式更改MSI的数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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