Hi Casper, You have a couple options...
1) You can add the file to the binary table and call it from there: <binaries> <binary name="MyAssemblyDll" value="${support.dir}\MyAssembly.dll" /> </binaries> <!-- Type determined by: 1 - Key to Binary Table w/ target equal to DLL entry point 64 - Synchronous execution. Fails if exit code is not 0 --> <customactions> <customaction action="FILECA_MyAssembly" type="65" source="MyAssemblyDll" target="MyEntryPoint" /> </customactions> <sequences> <sequence type="installexecute" action="FILECA_MyAssembly" value="750" /> </sequence> 2) You could manually specify the file id and call the custom action from the file table <component name="C__MyComponent" id="{53EF2CD5-B44D-491c-9764-AFC405465CCE}" attr="2" directory="D__MYDIR"> <key file="SomeFile.xml" /> <fileset basedir="${support.dir}"> <includes name="*.*" /> </fileset> <forceid file="MyAssembly.dll" id="_E47B750515A840B89DCFB3926E0F1739" /> </component> <!-- Type determined by: 17 - Key to File Table w/ target equal to DLL entry point 64 - Synchronous execution. Fails if exit code is not 0 --> <customactions> <customaction action="FILECA_MyAssembly" type="81" source="_E47B750515A840B89DCFB3926E0F1739" target="MyEntryPoint" checkinterop="true" /> </customactions> <sequences> <sequence type="installexecute" action="FILECA_MyAssembly" value="750" /> </sequence> There might be other ways to call the assembly, but these should work. Hope that helps Jim -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Casper Hornstrup Sent: Friday, April 09, 2004 4:03 PM To: [EMAIL PROTECTED] Subject: [NAntC-Dev] Custom action registration I try to run a custom action (implemented in a .NET assembly) during installation of an MSI file. I have however run into a problem which is that I do not know the GUID assigned to the assembly in the File table. How can I get this GUID (File column in the File table) so I can reference it in the Source column in the CustomAction table? I am new to MSI and I may be doing it wrong. What are my options? Casper ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ NAntContrib-Developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ NAntContrib-Developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer