3

<Component Guid="7F7333F5-F9ED-4712-8D1B-58AAC71790CB" Id="MyComponent"> <File Name="MyDll.dll" KeyPath="yes" Vital="yes" Id="MyDLL_GAC" Assembly=".net" Source="$(var.COMTRACERDIR)\MyDll.dll"> </File> </Component>

When I use this to make a *.msi with wix, I just found the dll will be install in the path "C:\Windows\Microsoft.NET\assembly\GAC_32..." instead of "C:\Windows\assembly\GAC_32".

Jens Björnhager
  • 5,632
  • 3
  • 27
  • 47
yangzai
  • 31
  • 1
  • 4

1 Answers1

5

Because one is the 4.0 CLR's GAC, the other is the 2.0 GAC - but the issue is complicated further still. More information is available here: .NET 4.0 has a new GAC, why?

Community
  • 1
  • 1
Dai
  • 141,631
  • 28
  • 261
  • 374