Is it possible for Installshield to run a WiX Custom Action which takes an additional parameter other than the required Session parameter? For example:
[CustomAction]
public static ActionResult CustomAction1(Session session, string param)
{
session.Log(param);
return ActionResult.Success;
}
(note the second parameter)
I am creating a Type 1 custom action through Installshield 2012. It takes a Function Name and I see no way to add parameter. I guess I'm hoping for a hack here, so if there is an unsupported mechanism through the MSI database, please share.
I was able to with Installshield Interop, and even being limited to string parameters, it allowed for a great solution of binary re-use of the across my installation projects, where the installation project was in control of specific parameters, rather than the custom action code itself.