BuildMsmCmd() public static method

Builds the WiX source file and generates batch file capable of building MSM with WiX toolset.
public static BuildMsmCmd ( Project project ) : string
project Project The instance.
return string
Beispiel #1
0
 /// <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));
     }
 }
Beispiel #2
0
        /// <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));
            }
        }