Thanks Rob Mensching, But, I don't want to copy this file to computer. I want to refer it from installer like bitmap image. Is it possible?
Regards, -SMR Rob Mensching wrote: > You'd have to extract the Binary out with the CustomAction. > > Michael wrote: > >> Hi, >> >> I'm new to Wix. I'm using Wix v2. I have dll CA. I need to pass a exe >> as dll CA data which is referred in <binary>. >> sample code snippet, >> >> <CustomAction Id="ImportFile" Property="ExecCmdLine" Value='[UTIL] >> /import "[TARGETDIR]Sample.txt"' /> >> I need to pass Binary "UTIL" to custom action >> <CustomAction Id="FileImp" BinaryKey="CustAction" DllEntry="importFile" >> Execute="immediate" Return="check"/> >> <CustomAction Id="FileImpProperty" Property="FileImp" >> Value="[ExecCmdLine]"/> >> >> <Binary Id="UTIL" src="Util.exe"/> >> <Binary Id="CustAction" src="custaction.dll"/> >> >> Please help me out. >> >> Thanks. >> >> Regards, >> -SMR >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> >> > > ------------------------------------------------------------------------------ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------ > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 8.0.238 / Virus Database: 270.11.40/2039 - Release Date: 04/03/09 > 06:19:00 > > ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users