If you look at the verbose log you can see what custom action it is trying to run just before that error. And are there any other error messages nearby in the log?
Is the helper assembly getting packaged with the custom action by MakeSfxCA? It should be automatically if there is an assembly reference. That's probably not the issue anyway, since if it was only a managed dependency problem then the unmanaged stub would start to run, and it would print a different error message to the log. -Jason- -----Original Message----- From: Tina Basinger [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2008 7:11 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Debugging MakeSfxCA OK, so i've made some head way. I now have 2 custom action assemblies with 12 and 13 custom actions respectively, and a third "helper" assembly with common code needed for both sets of custom actions. Once I got everything compiling and rebuilt, I ran my install and got the following errror: Error 1723: There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personal or package vendor. Can anyone tell me how I can determine what DLL it is talking about Should I be able to have a custom action helper assembly? How do I deploy it so that it can be called from the custom actions? Thanks! -Tina On Thu, Oct 9, 2008 at 12:41 PM, Tina Basinger <[EMAIL PROTECTED]>wrote: > Okay, i'll proceed with the first option to clean up some of our existing > custom actions, and see where that leaves me. > Thanks! > -Tina > > > > On Thu, Oct 9, 2008 at 11:25 AM, Jason Ginchereau <[EMAIL PROTECTED]>wrote: > >> Wow, that's a lot of custom actions. Most setups (should) have just a few >> if any. The limit of 16 is currently by design, although the tool should >> definitely handle the overflow more gracefully. I'll fix that. >> >> If you have more than 16 custom actions, your options are: >> >> 1. Design immediate CAs to iterate over rows in a table or behave >> differently based on property data instead of the entrypoint name. Or for >> deferred CAs, schedule them with an immediate CA and pass parameters via >> CustomActionData (a common pattern). >> >> 2. Split your custom actions across multiple assemblies, each having less >> than 16. >> >> 3. Edit the headers for the SfxCA stub to reserve more space, and rebuild >> it. Additional entrypoint slots will need to be defined in EntryPoints.def >> and EntryPoints.h. >> >> -Jason- >> >> -----Original Message----- >> From: Tina Basinger [mailto:[EMAIL PROTECTED] >> Sent: Thursday, October 09, 2008 7:39 AM >> To: General discussion for Windows Installer XML toolset. >> Subject: Re: [WiX-users] Debugging MakeSfxCA >> >> OK, this seems to be failing on the following line of code, which is line >> 424 in MakeSfxCA.cs. >> >> entryPoints.Keys.CopyTo(slotSort, slotCount - entryPoints.Count); >> It's failing because slotCount = 16 and entryPoints.Count = 38, so >> slotCount-entryPoints.Count is negative. Apparenlty sfxCA.dll only has 16 >> entry points? What does one do if you have more custom actions than that? >> >> Thanks! >> -Tina >> >> On Wed, Oct 8, 2008 at 6:03 PM, Jason Ginchereau <[EMAIL PROTECTED] >> >wrote: >> >> > There's no way to get a more detailed error printout without modifying >> the >> > code of the MakeSfxCA tool. >> > >> > The easiest way to diagnose the issue would be to capture the >> command-line >> > from your build log and then launch that same command-line in a >> debugger: >> > devenv /debugexe MakeSfxCA.exe <parameters> >> > >> > If you don't have it already, the source code for MakeSfxCA can be found >> in >> > wix3-sources.zip, in the src\dtf\Tools\MakeSfxCA directory. >> > >> > Or, if you can send me enough info / files to reproduce the error, I'll >> > look into it. >> > >> > -Jason- >> > >> > -----Original Message----- >> > From: Tina Basinger [mailto:[EMAIL PROTECTED] >> > Sent: Wednesday, October 08, 2008 2:05 PM >> > To: Wix Group >> > Subject: [WiX-users] Debugging MakeSfxCA >> > >> > Any tips on figuring out MakeSfxCA errors? I'm getting the following >> > output >> > when calling MakeSfxCA.exe from the command line. >> > >> > ... >> > CA_Name=Fully_Qualified_CA_Name >> > Modifying SfxCA.dll stub >> > Error: Non-negative number required. >> > Parameter name: index >> > >> ------------------------------------------------------------------------- >> > 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 >> > >> ------------------------------------------------------------------------- >> 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 >> > > ------------------------------------------------------------------------- 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