How to add a non-English file with the name to install the project in Visual Studio 2010?

I have a wpf application and I want to deploy it by running the Setup project. My application contains non-English (non-Unicode) named files. now when setting up the building this fails, throwing an exception:

Could not find file 'D:\ ... \ایران' 'Not enough storage is available to complete this operation.' 

Note that I cannot rename files anyway, how can I fix it?

+4
source share
1 answer

Visual Studio only supports single language packages. Thus, your MSI has a predefined language (default English) that sets the code code for the package .

Any character not supported by the MSI codepage either translates or causes some kind of error.

So, if you have filenames that use characters from a non-English language, you need to change the package code page to support these characters. This will also change your package interface language.

Another approach is to rename the files that will be supported by the English code page.

+1
source

All Articles