[wix-users] GAC Install in WiX

Rob Mensching rob at firegiant.com
Mon Dec 18 17:11:10 PST 2017

This mailing list is the forum to discuss the WiX Toolset. It's all volunteer based but there are some pretty good volunteers around.

If you're looking for commercial support for the WiX Toolset (guaranteed great support), check out FireGiant. I'm biased but I think their support is top notch.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Ven H via wix-users
Sent: Friday, November 24, 2017 11:01 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Ven H <venh.123 at gmail.com>
Subject: Re: [wix-users] GAC Install in WiX

I am learning WiX and still new to it. So, I would request you *not* to make fun of me. I am working to help my customer and if they come up with a requirement, it's my responsibility to fulfill it. There may be some technical restrictions, but if they are clearly documented or coming from the right sources, I try my best to convince them. I do have .Net development background and I know that with .Net framework 4, GAC's location is different. But unfortunately with WiX, there is neither a forum nor great support out there. Hence I am requesting for help here.


On Sat, Nov 25, 2017 at 12:17 AM, Edwin Castro via wix-users < wix-users at lists.wixtoolset.org> wrote:

> https://docs.microsoft.com/en-us/dotnet/framework/app-domains/gac
> says
> "Starting with the .NET Framework 4, the default location for the 
> global assembly cache is %windir%\Microsoft.NET\assembly. In earlier 
> versions of the .NET Framework, the default location is %windir%\assembly."
> Does the assembly in question target the .NET Framework 4? This 
> functionality is handled directly by the Windows Installer itself so 
> if it doesn't work correctly, then you'll need to ask Microsoft why it 
> works differently. If it is working correctly, then why did you think 
> the assembly should be deployed to C:\Windows\Microsoft.NET\assembly? 
> Because the customer said so?
> --
> Edwin G. Castro
> On Nov 24, 2017 09:57, "Ven H via wix-users" <wix-users at lists.wixtoolset.
> org>
> wrote:
> I am building an MSI in which I am deploying a dll to GAC using the 
> File element's Assembly=".net" attribute. But this is deploying it to 
> C:\Windows\Assembly instead of C:\Windows\Microsoft.NET\assembly\GAC_MSIL.
> Can anyone please help me fix this? I am using Visual Studio 2017.
> Regards,
> Venkatesh

More information about the wix-users mailing list