I tried to resolve the Wix linker error that appeared if I tried to install
the multiple assemblies with the same name but the different cultures in the
GAC - see the details in:
http://sourceforge.net/mailarchive/message.php?msg_name=122b47a20809050040t60854b7as451da8d292543b80%40mail.gmail.com

I tried  the following:
          <Directory Id="DummyGACFolder">
            <Component Id="DutchAsmResources_GAC"
Guid="82AFC0C3-2515-48b2-B297-
2881CBF78F94">
              <File *Name="Asm.nl.dll"* Id="Asm.nl.dll_GAC"
Source="$(var.AppFolder)\Assemblies\nl\Assembly1.Resources.dll"
                  Assembly=".net" KeyPath="yes"
ProcessorArchitecture="msil"/>
            </Component>
         </Directory>

          <Directory Id="DummyGACFolder2">
            <Component Id="GermanAsmResources_GAC"
Guid="82AFC0C3-2515-48b2-B297-2881CBF78F94">
              <File Name=*"Asm.de.dll"* Id="Asm.de.dll_GAC"
Source="$(var.AppFolder)\Assemblies\de\Assembly1.Resources.dll"
                  Assembly=".net" KeyPath="yes"
ProcessorArchitecture="msil"/>
            </Component>
         </Directory>
    <Feature Id="ProductFeature" Title="MyWixInstaller" Level="1">
            <ComponentRef Id="DutchAsmResources_GAC" />
            <ComponentRef Id="GermanAsmResources_GAC" />
</Feature>

.msi is created just fine, but while installation  the following error
appears:
"An error occurred during the installation of assembly 'Assembly1.resources,
version=..., culture=nl, publickeytoken=..., processorArchitecture=msil'
Please refer to Help and Support for more information HRESULT: 0x80131047"

Without adding Name attributes all the things work fine.
How I can solve this problem?
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to