You have to create two components - one for each location. -----Original Message----- From: Ravi Raj [mailto:raviraj.callin...@gmail.com] Sent: 19 January 2012 13:02 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Installing DLLs in GAC as well as copying it to somefolder.
Hi, I want to install a DLL into GAC as well as I want to copy it to my installation folder. I cannot do this at the same time. I can successfully deploy it to GAC, using: <DirectoryRef Id="MyProgramDir"> <Component Id="CMP_DEF_GAC" Guid="D386A070-650A-4333-BF96-6798ABDC9D66"> <File Id="File_DEF_GAC" Assembly=".net" Source="$(var.DefFilesPath)Def.dll" KeyPath="yes" /> </Component> </DirectoryRef> But how can I copy it to the installation directory (MyProgramDir) too? -- Thanks and Regards, Ravi Raj ----------------------------------------------------------------------------- - Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users