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

Reply via email to