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

Reply via email to