[New-bugs-announce] [issue8526] msilib doesn't support multiple CAB instances in same installer

Bill Janssen report at bugs.python.org
Sun Apr 25 02:07:14 CEST 2010


New submission from Bill Janssen <bill.janssen at gmail.com>:

Working with Python 2.6.5, I find I cannot put multiple CABs in the same installer.  This is due to this statement in msilib.CAB.commit():

        add_data(db, "Media",
                [(1, self.index, None, "#"+self.name, None, None)])

The key, 1, must be different for each record in the 'Media' table.  The symptom is an exception something like this:

_msi.MSIError: Could not insert [(1, 3, None, '#foo', None, None)] into Media

----------
assignee: loewis
components: Distutils, Library (Lib), Windows
keywords: easy
messages: 104135
nosy: janssen, loewis
severity: normal
status: open
title: msilib doesn't support multiple CAB instances in same installer
versions: Python 2.6, Python 2.7, Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8526>
_______________________________________


More information about the New-bugs-announce mailing list