I swear we already had this conversation. There are a couple functions in wcautil.lib (I forget the names, but they have "Script" in them I think) that can help do this. However, I highly recommend avoiding them. There are a lot of little things you have to do to use them correctly and they are painful. The Windows Installer didn't intend to have data passed between deferred CustomActions because you're supposed to pass data down from an immediate CA.
Alex Ivanoff wrote: > So, how do I communicate between deferred custom actions? > > > -----Original Message----- > From: Rob Mensching [mailto:r...@wixtoolset.org] > Sent: Wednesday, May 27, 2009 21:26 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Result of deferred custom action > > Not without communicating between deferred CustomActions which is > definitely not recommended unless there is no other option. What I > described below is the way I would expect things to work based on my > reading of the MSI SDK. > > Alex Ivanoff wrote: > >> I think I could, but it may require more coding. >> >> So I take it there is no other way? >> >> >> -----Original Message----- >> From: Rob Mensching [mailto:r...@wixtoolset.org] >> Sent: Wednesday, May 27, 2009 13:54 >> To: General discussion for Windows Installer XML toolset. >> Subject: Re: [WiX-users] Result of deferred custom action >> >> Can you generate the certificate in an immediate mode then pass the >> certificate and the serial number down to deferred custom actions that >> actually write to disk? >> >> Alex Ivanoff wrote: >> >> >>> Anyone? Or am I doing something stupid? >>> >>> >>> -----Original Message----- >>> From: Alex Ivanoff [mailto:alex.ivan...@shavlik.com] >>> Sent: Monday, May 25, 2009 14:57 >>> To: General discussion for Windows Installer XML toolset. >>> Subject: [WiX-users] Result of deferred custom action >>> >>> I have a deferred custom action that generates a certificate. Once >>> certificate is generated I need to store its serial number in >>> configuration file. From what I understand about deferred custom >>> >>> >> actions >> >> >>> I have to write code to update configuration file. Or can I use >>> XmlConfig? >>> >>> >>> >>> > ------------------------------------------------------------------------ > >> ------ >> >> >>> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT >>> is a gathering of tech-side developers & brand creativity >>> >>> >> professionals. Meet >> >> >>> the minds behind Google Creative Lab, Visual Complexity, Processing, >>> > & > >>> iPhoneDevCamp as they present alongside digital heavyweights like >>> >>> >> Barbarian >> >> >>> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com >>> _______________________________________________ >>> WiX-users mailing list >>> WiX-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/wix-users >>> >>> >>> >> > ------------------------------------------------------------------------ > >> ------ >> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT >> is a gathering of tech-side developers & brand creativity >> > professionals. > >> Meet >> the minds behind Google Creative Lab, Visual Complexity, Processing, & >> iPhoneDevCamp as they present alongside digital heavyweights like >> Barbarian >> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> >> >> > ------------------------------------------------------------------------ > ------ > >> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT >> is a gathering of tech-side developers & brand creativity >> > professionals. Meet > >> the minds behind Google Creative Lab, Visual Complexity, Processing, & >> iPhoneDevCamp as they present alongside digital heavyweights like >> > Barbarian > >> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> >> > > ------------------------------------------------------------------------ > ------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. > Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp as they present alongside digital heavyweights like > Barbarian > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp as they present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users