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