Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8633595
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T09:31:01+00:00 2026-06-12T09:31:01+00:00

I have a question whether what i am trying to do is doable, and

  • 0

I have a question whether what i am trying to do is doable, and if the answer is yes how to do it.

I am new to the wix and have been doing some reading on how dynamically to include a folder to an installer and eventually i were able to do a task in nant that uses heat.exe to generate wxs file and latter adding newly generated wxs file to light and candle tasks. This allowed me to add the content of a folder to the msi and subsequently have that folder and its content to be installed.

My problem starts at the point where the folder that i am adding to the msi contains files that has their names already localized (this is a requirement).

When i am adding a file to the directory structure that has its name in Russian for example which is not 1252 codepage i am getting the error:

[exec] ……Templates.wxs(65) : error LGHT0311 : A string was
provided with characters that are not available in the specified
database code page ‘1252’. Either change these characters to ones that
exist in the database’s code page, or update the database’s code page
by modifying one of the following attributes: Product/@Codepage,
Module/@Codepage, Patch/@Codepage, PatchCreation/@Codepage, or
WixLocalization/@Codepage.

I tried to set Product/@Codepage to 65001 (UTF-8) however that did not solve the problem.

Eventually what i want to do is to have an ability to add a folder and its content to installer and someone else latter add any number of files that has their names localized into that folder. This way whenever the build runs and subsequent creation of msi happens, msi would contain that folder and its content.

Thank you very much in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T09:31:02+00:00Added an answer on June 12, 2026 at 9:31 am

    This is what WiX.chm says about setting the code page of the MSI database:

    You can set this to a valid Windows code page by integer like 1252, or
    by web name like Windows-1252. UTF-7 and UTF-8 are not officially
    supported because of user interface issues. Unicode is not supported.

    As long as you are going to have files named in different languages, that is, File table won’t fit into a single Windows code page, you have very little choice. UTF-8 is said to be not officially supported, and this leaves a place for a hope.

    If you set the CodePage attribute of the Product element to UTF-8, it will build successfully. And you can install/uninstall the resulting MSI with no problem. I have played a bit with it, and didn’t face with any “interface issues” mentioned in that warning above.

    Furthermore, I’ve googled the topic a bit, and found out that InstallShield allows setting the MSI database code page to UTF-8, which is reflected in their docs (search for ‘utf-8’ on that page). They have more to say about the potential interface issues:

    However, some scenarios result in user interface issues. For example,
    if an end user specifies the /qb command-line option or uninstalls the
    product from Add or Remove Programs, Windows Installer uses very small
    fonts to display the user interface text in a UTF-8 database.

    They also want to stay on the safe side, hence this setting is false by default (no UTF-8, just ASCII).

    So, finally, what would I do in your situation?

    • if that’s a strict requirement to the installation package, use UTF-8 as code page
    • test all possible scenarios (install / uninstall / repair / upgrade / etc.) on all possible combinations related to localization (English OS, non-English OS, various combinations of current culture and culture UI)
    • if you face with those ghost “interface issues”, show those to your stakeholders, decide whether this is what you can live with and publish known issues if you do
    • otherwise, recycle this idea and just thank your life for an opportunity to level-up your skills in this area 🙂

    Hope this helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a question about whether or not a specific way of applying of
I have question. I have some app on facebook and getting this error Fatal
Not sure whether this is the right place, but I have a question related
Trying to implement NSCopying for the first time, and I have a question about
I've been reading about this for a while and I'm not sure I have
Well, I have posted a question about F# and fuzzy logic, now trying to
I'm having difficulty trying to form the actual question I have, so hopefully I
I'm trying to use topic modeling with Mallet but have a question. How do
I'm trying to build a Flex application and have a question regarding directory structure.
I am a new to Ruby on Rails and I have a question on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.