If all you are trying to do is register your DLL in the GAC, add Assembly=".net" to your <File> element and it'll automatically get installed to the GAC.
Neil ________________________________ From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Poornima S [EMAIL PROTECTED] Sent: Monday, August 04, 2008 5:38 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Call a .NET dll file in wix using custom action Hi All, I have a DLfetcher.dll file which is in .NET. I need to create a WIX installer for my application, and when I run that msi the dll file should get registered in GAC. I modified my WXS file to use custom action behaviour of WIX. Code is as below: <Binary Id="InstallDlfetcher" SourceFile="D:\DLFetcher_July10\DLFetcher.dll"/> <CustomAction Id="LaunchDlfetcher" BinaryKey="InstallDlfetcher" DllEntry="InstallDlfetcher" Execute="deferred"/> <InstallExecuteSequence> <Custom Action="LaunchDlfetcher" Before="InstallFinalize"/> <InstallExecuteSequence> But when I run installer, I couldn't find in gac folder the registry entry creating a DlFetcher folder. Please help me to get out of here. Is there any way to call a dll file from wix and while I try to run my installer that should get registered in GAC.....? Thanks everyone in advance... Regards Poornima.S This email message and its attachments may contain CONFIDENTIAL AND PRIVILEGED INFORMATION intended for the sole use of the addressee(s). If you have received it in error, please contact the sender by return email, notify your system manager and destroy the original message and any copies thereof. Any review, use, disclosure or distribution is unlawful. Please check this email and any attachments for the presence of viruses. The Company accepts no liability for any damage caused by any virus transmitted by this email. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The Company reserves the right to monitor, review and store the content of all messages sent to or from this e-mail address. www.aztecsoft.com<http://www.aztecsoft.com/> ------------------------------------------------------------------------- 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