Hi, Oleg!
I want to set up Russian language and fallback English. I must use russian symbols in product's name and MajorUpgrade.DowngradeErrorMessage
project.Language = "en-US,ru-RU"
In generated wxs file
<Product Id="5fe30577-2574-2574-9695-1961ba25989c" Name="Сервис управления заявками" Language="1033" Codepage="Windows-1252" Version="0.0.1.0" UpgradeCode="5fe30577-2574-2574-9695-1961ba25889b" Manufacturer="MyCompany">
So I have several equal errors:
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. C:\web-application-setup\WebApplicationSetup\Сервисуправления заявками.wxs
Maybe, french symbols are specified in codepage 1252. So you doesn't have errors in your test.
If I don't use russian symbols in Project name, I don't have these errors.
But standart UI is in English.
I saw in process monitor what happened.
"C:\WixSharp\Wix_bin\bin\light.exe" -sw1076 -sw1079 -b "C:\web-application-setup\WebApplicationSetup" "C:\web-application-setup\WebApplicationSetup\RequestManagementService.wixobj" -out "C:\web-application-setup\WebApplicationSetup\RequestManagementService.msi" -ext "%WixLocation%\WixIIsExtension.dll" -ext "%WixLocation%\WixUIExtension.dll" -cultures:en-US,ru-RU
So installer isn't localized.
To do localized installer cultures must be:-cultures:ru-RU,en-US (I tested in command line).
To do localized installer:
I want to set up Russian language and fallback English. I must use russian symbols in product's name and MajorUpgrade.DowngradeErrorMessage
project.Language = "en-US,ru-RU"
In generated wxs file
<Product Id="5fe30577-2574-2574-9695-1961ba25989c" Name="Сервис управления заявками" Language="1033" Codepage="Windows-1252" Version="0.0.1.0" UpgradeCode="5fe30577-2574-2574-9695-1961ba25889b" Manufacturer="MyCompany">
<Package InstallerVersion="200" Compressed="yes" SummaryCodepage="Windows-1252" Languages="1033,1049" Platform="x64" />
Language must be 1049 and Codepage must be Windows-1251So I have several equal errors:
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. C:\web-application-setup\WebApplicationSetup\Сервисуправления заявками.wxs
Maybe, french symbols are specified in codepage 1252. So you doesn't have errors in your test.
If I don't use russian symbols in Project name, I don't have these errors.
But standart UI is in English.
I saw in process monitor what happened.
"C:\WixSharp\Wix_bin\bin\light.exe" -sw1076 -sw1079 -b "C:\web-application-setup\WebApplicationSetup" "C:\web-application-setup\WebApplicationSetup\RequestManagementService.wixobj" -out "C:\web-application-setup\WebApplicationSetup\RequestManagementService.msi" -ext "%WixLocation%\WixIIsExtension.dll" -ext "%WixLocation%\WixUIExtension.dll" -cultures:en-US,ru-RU
So installer isn't localized.
To do localized installer cultures must be:-cultures:ru-RU,en-US (I tested in command line).
To do localized installer:
- In generated wxs file Language and Codepage must be changed.
- Order of -cultures in light.exe command line parameter must be changed (ru-RU,en-US instead of en-US,ru-RU)