Added custom action to copy MtApi.ex4 file to MetaTrader user folder during installation

This commit is contained in:
DW
2016-05-10 12:12:39 +03:00
parent 1ef3765d68
commit 017a19e02f
8 changed files with 367 additions and 70 deletions
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Fragment Id="CustomActions">
<CustomAction Id="CopyEx4" Script="vbscript">
<![CDATA[
MsgBox("Test")
]]>
</CustomAction>
<Binary Id="InstallEx4File" SourceFile="$(var.MtApiSetupActions.TargetDir)$(var.MtApiSetupActions.TargetName).CA.dll"/>
<CustomAction Id="InstallEx4FileAction" BinaryKey="InstallEx4File" DllEntry="InstallEx4File" Execute="immediate" Return="check"/>
</Fragment>
</Wix>