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?
Asked
Active
Viewed 921 times
1
-
4MSI is supposedly the Microsoft Installer, a very Windows-specific beast. What are you even doing with that on Linux? – hmakholm left over Monica Aug 18 '11 at 22:58
-
@Henning my guess is some sort of web service or site – Rafe Kettler Aug 18 '11 at 23:07
1 Answers
2
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.

Bob Arnson
- 21,377
- 2
- 40
- 47
-
Ugh. Yeah this is probably the way to do it. I think I'm going to end up running a Windows box instead of mucking around in a bunch of C libraries. – Jieren Aug 19 '11 at 20:19
-
I ported Wine's code to a standalone library that can run on Linux - see http://stackoverflow.com/a/13748696/111698 for more details. Help is welcome, the source code is also on github at github.com/bonzini/msitools.git – Paolo Bonzini Dec 06 '12 at 17:06