/// <summary> /// Builds the WiX source file and generates batch file capable of building /// MSM with WiX toolset. /// </summary> /// <param name="path">The path to the batch file to be build.</param> /// <returns>Path to the batch file.</returns> public string BuildMsmCmd(string path = null) { if (path == null) { return(Compiler.BuildMsmCmd(this)); } else { return(Compiler.BuildMsmCmd(this, path)); } }
/// <summary> /// Builds the WiX source file and generates batch file capable of building /// MSM with WiX toolset. /// </summary> /// <param name="path">The path to the batch file to be build.</param> /// <returns>Path to the batch file.</returns> public string BuildMsmCmd(string path = null) { if (Compiler.ClientAssembly.IsEmpty()) { Compiler.ClientAssembly = System.Reflection.Assembly.GetCallingAssembly().GetLocation(); } if (path == null) { return(Compiler.BuildMsmCmd(this)); } else { return(Compiler.BuildMsmCmd(this, path)); } }