[issue1884] msilib.SetProperty(msilib.PID_CODEPAGE, '1252') raises 0x65d = type mismatch
Martin v. Löwis mar...@v.loewis.de added the comment: I fail to see the bug in this report. As you found out, you need to set the codepage property before setting any of the string properties. This is a requirement imposed by Microsoft, and has nothing to do with Python. -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1884 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1884] msilib.SetProperty(msilib.PID_CODEPAGE, '1252') raises 0x65d = type mismatch
Jim Wilson wil...@afn.org added the comment: I hope this helps. It's Greek to me now. -- Added file: http://bugs.python.org/file14002/bar.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1884 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1884] msilib.SetProperty(msilib.PID_CODEPAGE, '1252') raises 0x65d = type mismatch
Jim Wilson wil...@afn.org added the comment: Well, I violated the admonition of the Great Satan: PID_CODEPAGE must be first. (or words to that effect). It turns out not to make a difference. Revised (conforming) source attached. -- Added file: http://bugs.python.org/file14003/bar.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1884 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1884] msilib.SetProperty(msilib.PID_CODEPAGE, '1252') raises 0x65d = type mismatch
Changes by Daniel Diniz aja...@gmail.com: -- stage: - test needed versions: +Python 2.6, Python 3.1 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1884 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1884] msilib.SetProperty(msilib.PID_CODEPAGE, '1252') raises 0x65d = type mismatch
New submission from Jim Wilson: I believe Codepage (a summary property which must be set *before* any other string value), is a string. Documentation admits it might also be an integer, but it doesn't matter. Both foo.SetProperty(PID_CODEPAGE, '1252') and foo.SetProperty(PID_CODEPAGE, 1252) raise unknown error 65d. I believe 0x65d (1629d) to be ERROR_DATATYPE_MISMATCH. -- components: Build messages: 61440 nosy: Jimbo severity: normal status: open title: msilib.SetProperty(msilib.PID_CODEPAGE, '1252') raises 0x65d = type mismatch versions: Python 2.5 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1884 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com