/// <summary> /// Builds the WiX source file and generates batch file capable of building /// MSI 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 BuildMsiCmd(string path = null) { if (path == null) { return(Compiler.BuildMsiCmd(this)); } else { return(Compiler.BuildMsiCmd(this, path)); } }
/// <summary> /// Builds the WiX source file and generates batch file capable of building /// MSI 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 BuildMsiCmd(string path = null) { if (Compiler.ClientAssembly.IsEmpty()) { Compiler.ClientAssembly = System.Reflection.Assembly.GetCallingAssembly().GetLocation(); } if (path == null) { return(Compiler.BuildMsiCmd(this)); } else { return(Compiler.BuildMsiCmd(this, path)); } }