Executing a binary resource

Jun 3, 2015 at 11:30 PM
Edited Jun 3, 2015 at 11:33 PM
Does Wix# support anything that would resemble a CustomAction (xml element) with a specified BinaryKey and ExeCommand attributes?

My intent is to execute a file (added as a binary) with command line args, without installing the file. Thoughts?

Jun 4, 2015 at 3:42 AM
SimplifiedBootstrapper does exactly what you are asking for. The pseudo code:
public static ActionResult RunConfigUtilAction(Session session)
    string utilApp = @"C:\temp\wix\ConfigUtil.exe";
    session.SaveBinary("binID", utilApp);

    return ActionResult.Success;