classification
Title: msilib.add_data() takes exactly three parameters
Type: behavior
Components: Documentation Versions: Python 2.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: Jimbo, georg.brandl, loewis
Priority: low Keywords: easy, patch

Created on 2008-01-14 19:12 by Jimbo, last changed 2008-02-23 22:55 by georg.brandl.

Messages
msg59909 (view) Author: Jim Wilson (Jimbo) Date: 2008-01-14 19:12
At: http://docs.python.org/lib/module-msilib.html, add_data(...) is
documented to take two parameters, but invoking it with two draws a
complaint that three are needed.  Examination of bdist_msi.py leads me
to believe the missing (middle) parameter is "table", but I can barely
distinguish a database from a hole in the ground.
msg59926 (view) Author: Martin v. Löwis (loewis) Date: 2008-01-14 21:54
Thanks for pointing that out. The table argument must be one of the
predefined tables in the MSI schema, e.g. Feature, File, Component,
Dialog, Control, InstallExecuteSequence, etc. The values are the values
added to that table
msg62833 (view) Author: Georg Brandl (georg.brandl) Date: 2008-02-23 22:55
Fixed in r61025.
History
Date User Action Args
2008-02-23 22:55:24georg.brandlsetstatus: open -> closed
nosy: + georg.brandl
resolution: fixed
messages: + msg62833
2008-01-20 20:04:43christian.heimessetpriority: low
keywords: + patch, easy
2008-01-14 21:54:47loewissetnosy: + loewis
messages: + msg59926
2008-01-14 19:12:39Jimbocreate