/// <summary> /// Displays help message header on Console for caller tool. /// </summary> public static void DisplayToolFooter() { var assembly = Assembly.GetCallingAssembly(); Console.Write(WixDistribution.ReplacePlaceholders("\r\nFor more information see: [SupportUrl]", assembly)); }
/// <summary> /// Displays help message header on Console for caller tool. /// </summary> public static void DisplayToolHeader() { var assembly = Assembly.GetCallingAssembly(); Console.WriteLine(WixDistribution.ReplacePlaceholders("[AssemblyProduct] [AssemblyDescription] version [FileVersion]\r\n[AssemblyCopyright]", assembly)); }
/// <summary> /// Displays help message header on Console for caller tool. /// </summary> public static void DisplayToolHeader() { Assembly assembly = Assembly.GetCallingAssembly(); Console.WriteLine(WixDistribution.ReplacePlaceholders(WixDistributionSpecificStrings.ToolsetHelpHeader, assembly)); }
/// <summary> /// Creates and returns the string for CreatingApplication field (MSI Summary Information Stream). /// </summary> /// <remarks>It reads the AssemblyProductAttribute and AssemblyVersionAttribute of executing assembly /// and builds the CreatingApplication string of the form "[ProductName] ([ProductVersion])".</remarks> /// <returns>Returns value for PID_APPNAME."</returns> public static string GetCreatingApplicationString() { var assembly = Assembly.GetExecutingAssembly(); return(WixDistribution.ReplacePlaceholders("[AssemblyProduct] ([FileVersion])", assembly)); }
/// <summary> /// Displays help message header on Console for caller tool. /// </summary> public static void DisplayToolFooter() { Console.Write(WixDistribution.ReplacePlaceholders(WixDistributionSpecificStrings.ToolsetHelpFooter, null)); }