Very simple, just use the file property Assembly=".net" that way the file will go to the GAC regardless of its position in the directory tree. Notice that if you want the DLL also in Program Files\YourApp\bin, you need another component.
-----Original Message----- From: Wong Shao Voon [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2008 11:55 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to GAC .Net assemblies the correct way? Hey guys, I could use a custom action to gacutil the .Net dlls into the GAC. But I searched that WiX and MSI has the correct way of GAC'ing the dlls, instead of using gacutil.exe . After I googled, I still couldn't find a single example on how to do it. Could someone kind enough to enlighten me the correct way to specify it in the WXS file? Thank you very much! And have a nice day! Best regards, Shao Voon ------------------------------------------------------------------------- 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