[issue8552] msilib can't create large CAB files

2013-03-24 Thread R. David Murray
R. David Murray added the comment: It looks like it turned out that there is nothing specific in this issue that isn't covered by issue 2399. -- nosy: +r.david.murray resolution: - duplicate stage: - committed/rejected status: open - closed superseder: - Patches for Tools/msi

[issue8552] msilib can't create large CAB files

2010-04-29 Thread Bill Janssen
Bill Janssen bill.jans...@gmail.com added the comment: Another bit of info. It's the frequent commits that seem to fix the problem; when I comment those out of the __del__ method, it fails as before. I also notice that the finished installer is about twice the size of the two data files in

[issue8552] msilib can't create large CAB files

2010-04-29 Thread Bill Janssen
Bill Janssen bill.jans...@gmail.com added the comment: Ah, found the size problem -- I was measuring something in 512 blocks not 1KB blocks. Never mind. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8552

[issue8552] msilib can't create large CAB files

2010-04-28 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: You could also try to commit the MSI file in-between, which may release memory. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8552

[issue8552] msilib can't create large CAB files

2010-04-28 Thread Bill Janssen
Bill Janssen bill.jans...@gmail.com added the comment: Yes, I've tried that. No joy. Right now I'm trying an approach which packages each top-level directory as a separate cab. What I'm finding is that if I get up around 4200 files, it breaks, regardless of the file sizes. Out of curiosity,

[issue8552] msilib can't create large CAB files

2010-04-28 Thread Bill Janssen
Changes by Bill Janssen bill.jans...@gmail.com: Removed file: http://bugs.python.org/file17118/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8552 ___

[issue8552] msilib can't create large CAB files

2010-04-28 Thread Bill Janssen
Bill Janssen bill.jans...@gmail.com added the comment: I've now been able to build my installer. I applied Travis Oliphant's patch from http://bugs.python.org/issue2399 to Lib/msilib/__init__.py, then added a __del__ method to the Directory class: def __del__(self): if

[issue8552] msilib can't create large CAB files

2010-04-27 Thread Bill Janssen
New submission from Bill Janssen bill.jans...@gmail.com: I'm trying to create a CAB file containing about 69MB of data, in 4555 files. msilib fails in CAB.commit(): $ python build-msi-installer.py /c/UpLib/1.7.9 ~/uplib 1.7.9 ./uplib-1.7.9.msi c:\Documents and

[issue8552] msilib can't create large CAB files

2010-04-27 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Another reason to allow multiple CAB files in a single installer? I'm still curious as to what the first reason is. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8552

[issue8552] msilib can't create large CAB files

2010-04-27 Thread Bill Janssen
Bill Janssen bill.jans...@gmail.com added the comment: Ummm, just in case the packager wanted to. In my case, I was putting the files which were registered as part of the installation in one CAB file, and another set of temporary files which were used by some of the installation scripts, but

[issue8552] msilib can't create large CAB files

2010-04-27 Thread Bill Janssen
Bill Janssen bill.jans...@gmail.com added the comment: So, I subclassed msilib.CAB, and re-wrote commit() so that the CAB file is created in a different process, a la Tools/msi/msilib.py. Still have the same problem, though. So now I'm thinking it's not a memory problem, but I'm wondering