I am using wix toolset
to create MSI build.
Here is the Binary source in Product.wxs
file.
<Binary Id="BI.CA"
SourceFile="..\..\CustomAction\bin\$(var.Configuration)\CustomAction.CA.dll" />
MSI generated and works as expected in local but fails in build machine showing below error.
Could not find CustomAction.CA.dll
I see that CustomAction.CA.dll
is present in the build machine but not the path which I specified.
How do I embed this dll in to MSI?
Update
In build machine, I see the DLL here
E:\BuildAgent\1\b\CustomAction.CA.dll"