Hi,
I hope this is the right place to ask the following wix related question.
My wix includes a custom action console exe that copies a bunch of files to
a given dir.
the exe ( no source ) expects to find the files in the same dir from which
it is being run.
How do i refer to these files from wix xml (which wix element to use) so
that the custom action exe
can find them
i tried Property, Directory/Comonent/File etc without success
<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:difx="http://schemas.microsoft.com/wix/DifxAppExtension">
....
<?define usbdriverSrc=ADir?>
<Product ..>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder" Name="Program Files">
----
</Directory>
<Binary Id="InstallDriversExe"
SourceFile="$(var.usbdriverSrc)\InstallDrivers.exe" />
<!-- this did not work these are the files to be copied
<Binary Id="x.sys" SourceFile="$(var.usbdriverSrc)\x.sys" />
<Binary Id="x.inf" SourceFile="$(var.usbdriverSrc)\x.inf" />
-->
<CustomAction Id="InstallDriversExe" Return="asyncNoWait"
BinaryKey="InstallDriversExe" ExeCommand="/silent"/>
<
<Feature ---
</Feature>
<!this did not work either
<Property Id="x.sys" Value="x.sys" />
<Property Id="x.inf" Value="x.inf" />
<UIRef Id="WixUI_InstallDir" />
<UI />
<InstallExecuteSequence>
<Custom Action="InstallDriversExe" After="InstallFiles"/>
</InstallExecuteSequence>
</Product>
</Wix>
_________________________________________________________________
MSN is giving away a trip to Vegas to see Elton John. Enter to win today.
http://msnconcertcontest.com?icid-nceltontagline
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users