I want to create a CustomAction C# dll that depends on a third party .Net DLL (in this specific case, its MySql.Data.dll). I have the C# custom action dll working with the WiX fragment below. I'm just trying to figure out how to safely add a dependency to the Custom Action. Note: I don't actually need this 3rd party dll for the installed application to run.
<Binary Id="MyCustomAction.dll" SourceFile="MyCustomAction.CA.dll" />
<CustomAction Id="FixupConfigForMysql" Return="check" />
<InstallExecuteSequence>
<Custom Action='FixupConfigForMysql' After='InstallFiles'>NOT Installed</Custom>
</InstallExecuteSequence>
Do I need to install the 3rd party dll (MySql.Data.dll) in order to get the custom action to run?
Can I just add another Binary tag with the 3rd party dll?