Hmm. I've discovered the actual problem--which is actually quite a bit more troublesome.
Indeed, if I don't have a version of that assembly installed, the binary will get registered in the correct GAC. Unfortunately, if I have a version of the assembly in the .NET 4.0 GAC, the 2.0 version just gets skipped altogether. That's uncool. (Clearly an MSI bug) Beyond that, my binding policy assemblies are *always* getting installed into the .NET 4.0 GAC, not into the 2.0 GAC (regardless of the above condition)--oh--hmmm, that may be because of the version of the assembly linker (AL.EXE) I'm using. Yeah, that looks like it. So really, my problem is when I have two assemblies of the same name (with the same version), intended for different GACs. Nasty stuff. G ________________________________________ From: Dirk Räder [d...@raeder.cc] Sent: Tuesday, July 10, 2012 6:18 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] GACing .NET binaries to a specific GAC (.net 2.0 vs .net 4.0) Hi Garrett, with our product we have some libraries that get installed into .NET GAC. The GAC they are installed into is defined by the target framework these assemblies are built for. So, if you build them for .NET 3.5 or earlier, they are installed into the .NET 2.0 GAC. If they are build for .NET 4.0, they are installed into the .NET 4.0 GAC. Regards, Dirk 2012/7/9 Garrett Serack <garre...@microsoft.com>: > Hey, I was wondering if it's possible when creating an installer to install a > .NET assembly that installs a given assembly to a particular GAC. > > I've got an assembly that I'd like installed to the .NET 2.0 GAC, but > apparently it just wants to install it to the 4.0 GAC. > > Any ideas? > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users