This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: msilib.add_data() takes exactly three parameters
Type: behavior Stage:
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 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
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) * (Python committer) 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) * (Python committer) Date: 2008-02-23 22:55
Fixed in r61025.
History
Date User Action Args
2022-04-11 14:56:29adminsetgithub: 46150
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