Thanks, it works like a charm!

On Fri, Sep 5, 2008 at 2:21 PM, Rob Mensching
<[EMAIL PROTECTED]>wrote:

> Maybe just give the two File elements different Name attribute values.
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] On Behalf Of Sergey Abakumoff
> Sent: Thursday, September 04, 2008 22:53
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Install satellite assemblies in GAC
>
> My product is shipped with the set of satellite assemblies for different
> languages. Particularly, we provide German and Dutch satellite assemblies.
> The requirement for installer is install the satellite assemblies in GAC.
> The problem is the file names for specific satellite assemblies are the
> same, i.e. we have
> Assembly1.resources.dll file with the full name of assembly,
> "Name=Assembly1, Culture=nl, version=1.0.0.0"
> and
> Assembly1.resources.dll file with the full name of assembly,
> "Name=Assembly1, Culture=de, version=1.0.0.0"
> so, the file names are the same, but the assemblies are different and both
> can be installed in GAC .
> Well, I tried to accomplish this using Wix(the part of wix file):
>
>          <Directory Id="DummyGACFolder">
>            <Component Id="DutchAsmResources_GAC"
> Guid="82AFC0C3-2515-48b2-B297-2881CBF78F94">
>              <File 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 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>
>
> Wix linker provides the following error :
>
> error LGHT0204 : ICE30: The target file
> '5e_1hpok.dll|Assembly1.Resources.dll
> ' is installed in '[ProgramFilesFolder]\MyApp\1.0.0.0\' by two different
> components on an LFN system: 'GermanAsmResources_GAC
> ' and 'DutchAsmResources_GAC'. This breaks component reference counting.
>
> However, the funny thing is msi is created and works fine - all the
> satellite assemblies are installed in the GAC:)
> Question is - how can I get rid of displaying  this error?
> -------------------------------------------------------------------------
> 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
>
>
> -------------------------------------------------------------------------
> 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
>
-------------------------------------------------------------------------
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