BuildMsiCmd() 공개 정적인 메소드

Builds the WiX source file and generates batch file capable of building MSI with WiX toolset.
public static BuildMsiCmd ( Project project ) : string
project Project The instance.
리턴 string
예제 #1
0
 /// <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));
     }
 }
예제 #2
0
        /// <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));
            }
        }