When you say "dies in the middle of the custom action", do you know your CA was successfully launched and began executing?
Make sure your build includes the MakeSfxCA post-build step which packages up your managed CA assembly with its dependencies and an unmanaged launcher. Without that if you try to use the managed DLL directly, MSI fails to load the CA and reports no more than a general failure in the log. As for the DLL being a different size each build, that could be due to the cab compression done by MakeSfxCA. When the inputs vary at all (different version numbers at least?) that can result in a slightly different size compressed output. -Jason- -----Original Message----- From: mcheshier [mailto:mchesh...@usa.net] Sent: Tuesday, April 07, 2009 10:26 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] DTF build issue Hi, I've been slowly converting a lot of VBScript custom actions to the DTF and am loving it. I'm having a weird build issue though and was hoping someone could help me out. On my primary dev machine when I build my CA.dll it creates a 660 KB .dll that mysteriously and randomly dies in the middle of a custom action. As the (working) .dll in SVN was larger (around 690KB), I suspected a build issue and this was confirmed when I compiled my .dll on a VM and it came out to 690KB (and worked). I'm using VS2008 with WiX 3.0.4085. I'm guessing that a dependency of some sort isn't being compiled in, but I'm not an expert on the underpinnings of .NET. On a related note, I noticed that the final .CA dll seems to be a slightly different size each time I build it. Is this just a .NET thing or should I be concerned? -- View this message in context: http://n2.nabble.com/DTF-build-issue-tp2600276p2600276.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users