I'm not sure you can pass information directly to an exe like that. I do something similar, but store the install path in the registry and my deferred custom actions read it from there.
R. Glenn Sandoval GeoBase Developer – Telogis Research www.telogis.com www.telogis.co.nz On Fri, May 22, 2009 at 8:51 AM, Jeremie Galarneau <jeremie.galarn...@polymtl.ca> wrote: > Hi, > > I have been reading countless WiX tutorial and have been doing good so far > but I > can't seem to find how to pass the installation directory (InstallDir) to an > executable I have to run during the installation procedure. Could someone post > a code sample accomplishing this task as I have been stuck on this issue for > quite a long time now. > > I am presently using a custom action as follows : > > <Binary Id='BatchBuilder' SourceFile='BatchBuilder.exe'/> > > <CustomAction Id='CustomBatchBuilder' BinaryKey='BatchBuilder' > ExeCommand="[InstallDir]" Execute="commit" Return="asyncWait"/> > > <InstallExecuteSequence> > <Custom Action="CustomBatchBuilder" After="InstallFiles"> > NOT REMOVE > </Custom> > </InstallExecuteSequence> > > Thank you all. > > Jeremie Galarneau > > ------------------------------------------------------------------------------ > 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 asthey present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://www.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 asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users