A GUID works nicely... :) On Fri, Feb 20, 2009 at 6:10 PM, Thomas S. Trias <tomtr...@artizan.com>wrote:
> Use a different delimiter; the WiX CA's use EUR. I've been tempted to > use XML (just because it makes reading the logs so much easier - > probably overkill for anything short of serializing .NET objects)... > > Thanks, > > Thomas S. Trias > Senior Developer > Artizan Internet Services > http://www.artizan.com/ > > > > -------- Original Message -------- > Subject: Re: [WiX-users] Passing data between deferred custom actions > From: John Nannenga <john.nanne...@microsoft.com> > To: General discussion for Windows Installer XML toolset. > <wix-users@lists.sourceforge.net> > Date: 2/20/2009 12:01 PM > > What happens when the data value you need contains what appears to be the > delimiter between independent properties within the CustomActionData class? > "semi-colon"... > > > > > > > > > > > > -----Original Message----- > > From: Rob Mensching [mailto:r...@wixtoolset.org] > > Sent: Tuesday, February 17, 2009 10:52 PM > > To: General discussion for Windows Installer XML toolset. > > Subject: Re: [WiX-users] Passing data between deferred custom actions > > > > Most of the WiX toolset CustomActions do this. > > > > Eitan Behar wrote: > > > >> Does not look like fun, but it's doable ! Thanks ! > >> > >> Etian > >> > >> > >> On Tue, Feb 17, 2009 at 3:38 PM, Christopher Painter < > >> chr...@deploymentengineering.com> wrote: > >> > >> > >> > >>> You'll want to look at the CustomActionData class in DTF as described > here: > >>> > >>> > http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg17875.html > >>> > >>> In a nutshell: > >>> > >>> In your immeadiate custom action, you instantiate the class, stuff it > with > >>> data and then serialize it out to a property. > >>> > >>> In your deferred custom action you read the CustomActionData property > and > >>> pass it to the class constructor for deserialziation back into your > class > >>> with all of it's data. > >>> > >>> As far as how to schedule these custom actions there are several > patterns: > >>> > >>> 1) 1 immeadiate to 1 deferred relationship > >>> 2) 1 immeadiate to multiple deferred relationship > >>> 3) 1 immeadiate that calls DoAction to schedule the deferred ( this is > the > >>> way Jason describes in the above link. ) > >>> > >>> When using #1 or #2, remember the immeadiate must be scheduled before > the > >>> deferred and the name of the property(s) to be set is the name of the > >>> deferred custom actions(s). This is how MSI makes the join. > >>> > >>> Christopher Painter, Author of Deployment Engineering Blog > >>> Have a hot tip, know a secret or read a really good thread that > deserves > >>> attention? E-Mail Me > >>> > >>> > >>> --- On Tue, 2/17/09, Eitan Behar <ei...@baconao.net> wrote: > >>> > >>> > >>> > >>>> From: Eitan Behar <ei...@baconao.net> > >>>> Subject: Re: [WiX-users] Passing data between deferred custom actions > >>>> To: chr...@deploymentengineering.com, "General discussion for Windows > >>>> > >>>> > >>> Installer XML toolset." <wix-users@lists.sourceforge.net> > >>> > >>> > >>>> Date: Tuesday, February 17, 2009, 6:47 AM > >>>> DTF C# > >>>> > >>>> > >>>> > >>>> On Tue, Feb 17, 2009 at 2:05 PM, Christopher Painter < > >>>> chr...@deploymentengineering.com> wrote: > >>>> > >>>> > >>>> > >>>>> What language is the CA's written in? > >>>>> > >>>>> Christopher Painter, Author of Deployment Engineering > >>>>> > >>>>> > >>>> Blog > >>>> > >>>> > >>>>> Have a hot tip, know a secret or read a really good > >>>>> > >>>>> > >>>> thread that deserves > >>>> > >>>> > >>>>> attention? E-Mail Me > >>>>> > >>>>> > >>>>> --- On Tue, 2/17/09, Eitan Behar > >>>>> > >>>>> > >>>> <ei...@baconao.net> wrote: > >>>> > >>>> > >>>>>> From: Eitan Behar <ei...@baconao.net> > >>>>>> Subject: [WiX-users] Passing data between > >>>>>> > >>>>>> > >>>> deferred custom actions > >>>> > >>>> > >>>>>> To: "General discussion for Windows > >>>>>> > >>>>>> > >>>> Installer XML toolset." < > >>>> > >>>> > >>>>> wix-users@lists.sourceforge.net> > >>>>> > >>>>> > >>>>>> Date: Tuesday, February 17, 2009, 2:40 AM > >>>>>> Hi, > >>>>>> > >>>>>> Is there a proper method to pass data between > >>>>>> > >>>>>> > >>>> deferred > >>>> > >>>> > >>>>>> custom actions ? I > >>>>>> have a bunch of chained custom actions and need > >>>>>> > >>>>>> > >>>> to pass > >>>> > >>>> > >>>>>> data between them, > >>>>>> actually, just a boolean value > >>>>>> > >>>>>> > >>>> "telling" the rest > >>>> > >>>> > >>>>>> of the ca whether to > >>>>>> continue. > >>>>>> > >>>>>> Thanks, > >>>>>> > >>>>>> Eitan > >>>>>> > >>>>>> > >>>>>> > >>> > ------------------------------------------------------------------------------ > >>> > >>> > >>>>>> Open Source Business Conference (OSBC), March > >>>>>> > >>>>>> > >>>> 24-25, 2009, > >>>> > >>>> > >>>>>> San Francisco, CA > >>>>>> -OSBC tackles the biggest issue in open source: > >>>>>> > >>>>>> > >>>> Open > >>>> > >>>> > >>>>>> Sourcing the Enterprise > >>>>>> -Strategies to boost innovation and cut costs > >>>>>> > >>>>>> > >>>> with open > >>>> > >>>> > >>>>>> source participation > >>>>>> -Receive a $600 discount off the registration fee > >>>>>> > >>>>>> > >>>> with the > >>>> > >>>> > >>>>>> source code: SFAD > >>>>>> http://p.sf.net/sfu/XcvMzF8H > >>>>>> _______________________________________________ > >>>>>> WiX-users mailing list > >>>>>> WiX-users@lists.sourceforge.net > >>>>>> > >>>>>> > >>>>>> > >>>> https://lists.sourceforge.net/lists/listinfo/wix-users > >>>> > >>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>> > ------------------------------------------------------------------------------ > >>> > >>> > >>>>> Open Source Business Conference (OSBC), March 24-25, > >>>>> > >>>>> > >>>> 2009, San Francisco, > >>>> > >>>> > >>>>> CA > >>>>> -OSBC tackles the biggest issue in open source: Open > >>>>> > >>>>> > >>>> Sourcing the > >>>> > >>>> > >>>>> Enterprise > >>>>> -Strategies to boost innovation and cut costs with > >>>>> > >>>>> > >>>> open source > >>>> > >>>> > >>>>> participation > >>>>> -Receive a $600 discount off the registration fee with > >>>>> > >>>>> > >>>> the source code: > >>>> > >>>> > >>>>> SFAD > >>>>> http://p.sf.net/sfu/XcvMzF8H > >>>>> _______________________________________________ > >>>>> WiX-users mailing list > >>>>> WiX-users@lists.sourceforge.net > >>>>> https://lists.sourceforge.net/lists/listinfo/wix-users > >>>>> > >>>>> > >>>>> > >>> > >>> > >> > ------------------------------------------------------------------------------ > >> Open Source Business Conference (OSBC), March 24-25, 2009, San > Francisco, CA > >> -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > >> -Strategies to boost innovation and cut costs with open source > participation > >> -Receive a $600 discount off the registration fee with the source code: > SFAD > >> http://p.sf.net/sfu/XcvMzF8H > >> _______________________________________________ > >> WiX-users mailing list > >> WiX-users@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/wix-users > >> > >> > > > > > ------------------------------------------------------------------------------ > > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > > -Strategies to boost innovation and cut costs with open source > participation > > -Receive a $600 discount off the registration fee with the source code: > SFAD > > http://p.sf.net/sfu/XcvMzF8H > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > > > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- Chad E. Miles Software Engineer, Development Interactive Intelligence, Inc. chad.mi...@inin.com 317.715.8280 Office/Fax ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users