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: Building an MSI installer crashes
Type: crash Stage:
Components: Library (Lib) Versions: Python 3.0
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: loewis Nosy List: loewis, pitrou
Priority: critical Keywords: patch

Created on 2008-08-11 15:30 by pitrou, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
msilib.patch pitrou, 2008-08-11 15:30
Messages (2)
msg71018 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2008-08-11 15:30
msilib hasn't been updated for py3k, consequently bdist_msi fails. The
provided patch fixes it, but encoding issues are not worked out (in my
tests, selecting an utf-8 codepage produces unrecognized msi files).
msg71211 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2008-08-16 13:06
Thanks for the report. This is now fixed in r65709.

The right approach is to use the MS "wide string" API whereever
possible, e.g. invoke MsiSummarySetPropertyInfoW (instead of
MsiSummarySetPropertyInfo, as that defaults to MsiSummarySetPropertyInfoA).

If you ever find that you need to encode a Unicode string to a byte
string so that some "ANSI" API can accept it, use the "mbcs" encoding.
History
Date User Action Args
2022-04-11 14:56:37adminsetgithub: 47792
2008-08-16 13:07:07loewissetstatus: open -> closed
resolution: fixed
2008-08-16 13:06:58loewissetmessages: + msg71211
2008-08-11 18:26:26loewissetassignee: loewis
2008-08-11 15:30:05pitroucreate