MsiLib

Charlie lists at liquidtrust.org
Wed Aug 22 15:52:06 EDT 2007


Thanks for the help. That definitely gets me on the right track. I am  
having an issue though. I keep getting the error that  
MSIDBOPEN_READONLY is not defined.

Here is my code for testing. Am I missing something really obvious or  
is something just not working that should and my system is screwed up  
somewhere? Thanks.

import msilib

c = msilib.OpenDatabase('test.msi', MSIDBOPEN_READONLY)

view = c.OpenView("SELECT * FROM Registry")

record = view.Fetch()




More information about the Python-list mailing list