YEAH!
I've found a unofficial solution: using codepage 65001 = UTF-8

A small info about using UTF-8 codepage:
http://blogs.msdn.com/heaths/archive/2005/10/05/msi-databases-and-code-pages.aspx

It is tested to work on Windows XP SP3 + Windows Installer 3.01.

<Product
    Id="*"
    Name="Locales"
    Language="1033"
    Codepage="65001"
    Version="$(var.VersionNumberInternal)"
    Manufacturer="$(var.PackageManufacturer)"
    UpgradeCode="43e26856-b3d6-4692-b7ae-a2de3124520d">
....
      <Component Id="Locales_EN" 
Guid="75950f3e-034f-407c-8e6c-044b26755909">
        <Shortcut Id="Locales_EN" Name="English name" 
Description="English description" Target="[INSTALLDIR]TestFile.txt" />
        <RegistryValue Root="HKCU" Key="Software\Fine\Locales" 
Name="Locales_EN" Type="integer" Value="1" KeyPath="yes" />
      </Component>
      <Component Id="Locales_CS" 
Guid="9094fea1-2804-495c-a32e-b3e585b0b323">
        <Shortcut Id="Locales_CS" Name="Český název" Description="Český 
popisek" Target="[INSTALLDIR]TestFile.txt" />
        <RegistryValue Root="HKCU" Key="Software\Fine\Locales" 
Name="Locales_CS" Type="integer" Value="1" KeyPath="yes" />
      </Component>
....
</Product>

Ondrej Zarevucky

Ondrej Zarevucky wrote:
> Hi,
> I'm trying to solve a problem, how to install multiple shortcuts in 
> different locales using one MSI and one installation process. All 
> application files are using file name in base latin characters, but the 
> shortcuts in Start Menu need to be localized and we don't use MUI. 
> Interestingly Orca allows modifying MSI file and inserting characters in 
> other locales, but these changes are lost on save.
>
> Is there a way, how to create these localized shortcuts? The user 
> typically selects one language during installation, but some users 
> choose to install more languages - their native language and second, 
> third, ... language depending on their business partners.
>
> I know MSI is ANSI :( I'm trying to find a way, how to localize the 
> shortcuts... I've tried to use Desktop.ini with constant strings, but it 
> didn't localize the names :-(
>
> [LocalizedFileNames]
> Program_EN.lnk=Localized name
> Program_CS.lnk=Přeložený název
>
> Any help is greatly appreciated
> Ondrej Zarevucky
>
> PS: The solution needs to work on Windows XP, Windows Vista, Windows 7, 
> Windows 2003, ...
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>   

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to