Issue 3542: Building an MSI installer crashes (original) (raw)
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).
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.