View Full Version : Can you set the database codepage in an MSM file

06-30-2008, 06:06 AM
I have an MSM which needs to be localised. This is a special case MSM that is not shared with any other product so it does not matter about changing the GUIDs.
All that I want to do with this is set a directory, however as we cover languages like Russian, I need to be able to change the Codepage of the MSI.

All our other localisable MM’s are localised before building – but this is different.

There is a command MsiSummaryInfoSetProperty in which it's possible to set the codepage, but this seems to just change the codepage for the summary information only – and not for the actual Database.

Does anyone know how to set the codepage for the actual database after it’s been created?


06-30-2008, 09:43 AM
MSDN has an article entitled "Setting the Code Page of a Database" which should apply to this scenario. (We don't offer any additional tools for this beyond the code page setting we do automatically as part of MSI localization.)

07-07-2008, 10:36 AM
Yep, there is a cscript give in there that allowed me to do that thanks.

Just needed to remove the lines about package and product code as these don't apply and exist in MMs.