Message305749
Thank you, all. The OP's snippet should work now:
>>> import msilib as m
>>> db = m.OpenDatabase('py33.msi', m.MSIDBOPEN_TRANSACT)
>>> db.Commit()
>>> db2 = m.OpenDatabase('py33.msi', m.MSIDBOPEN_TRANSACT)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
_msi.MSIError: 1: 2203 2: py33.msi 3: -2147287008
>>> db.Close()
>>> db2 = m.OpenDatabase('py33.msi', m.MSIDBOPEN_TRANSACT)
I didn't backport this to bugfix branches since we added a new public function to the API. |
|
Date |
User |
Action |
Args |
2017-11-07 13:01:57 | berker.peksag | set | recipients:
+ berker.peksag, loewis, tim.golden, zach.ware, steve.dower, gentoo90, xoviat |
2017-11-07 13:01:57 | berker.peksag | set | messageid: <1510059717.62.0.213398074469.issue20486@psf.upfronthosting.co.za> |
2017-11-07 13:01:57 | berker.peksag | link | issue20486 messages |
2017-11-07 13:01:57 | berker.peksag | create | |
|