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.

Title: Codepage unset in msilib.init_database()
Type: enhancement Stage: test needed
Components: Windows Versions: Python 3.2, Python 2.7
Status: closed Resolution: not a bug
Dependencies: 1884 Superseder:
Assigned To: loewis Nosy List: Jimbo, loewis
Priority: low Keywords:

Created on 2008-01-16 20:13 by Jimbo, last changed 2022-04-11 14:56 by admin. This issue is now closed.

File name Uploaded Description Edit Jimbo, 2009-05-17 21:24 PID_CODEPAGE Not Implemented
Messages (3)
msg60006 - (view) Author: Jim Wilson (Jimbo) Date: 2008-01-16 20:13
Satanic Verses sayeth:  "The Codepage Summary property must be set
before any string properties are set in the summary information.", but
so far as I can tell, PID_CODEPAGE is never used in,

Confirming evidence: msilib's GetProperty(msilib.PID_CODEPAGE) raises
"Not Implemented" on Python2.5.1's own .msi file.
msg88003 - (view) Author: Jim Wilson (Jimbo) Date: 2009-05-17 21:24
It's been more than a year.  I'll work a little longer on the
SetProperty(...) example, but here's the "confirming evidence".

A related problem is 1884, but I simply don't remember the context and
long ago deleted the code in disgust.
msg106148 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2010-05-20 12:56
[The original link seems down; I found a similar description at]

I think you are misinterpreting the documentation. It doesn't say that the codepage property is required (in fact, they explicitly list the required properties, namely Template, Revision Number, Page Count, Word Count). What they do say is that *if* you want to set the codepage property, *then* you must set it before any other string property. Since we are not setting the codepage property at all, this requirement is irrelevant.

Closing the report as invalid.
Date User Action Args
2022-04-11 14:56:29adminsetgithub: 46163
2010-05-20 12:56:50loewissetstatus: open -> closed
resolution: not a bug
messages: + msg106148
2009-05-17 21:24:25Jimbosetfiles: +

messages: + msg88003
2009-05-16 17:48:21ajaksu2setpriority: normal -> low
dependencies: + msilib.SetProperty(msilib.PID_CODEPAGE, '1252') raises 0x65d = type mismatch
type: resource usage -> enhancement
stage: test needed
versions: + Python 2.7, Python 3.2, - Python 2.5
2008-01-16 20:18:15christian.heimessetpriority: normal
assignee: loewis
type: resource usage
components: + Windows, - Distutils
nosy: + loewis
2008-01-16 20:13:20Jimbocreate