diff options
Diffstat (limited to 'src/WixToolset.Core/AppCommon.cs')
-rw-r--r-- | src/WixToolset.Core/AppCommon.cs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/WixToolset.Core/AppCommon.cs b/src/WixToolset.Core/AppCommon.cs index 30ec7771..5fde632a 100644 --- a/src/WixToolset.Core/AppCommon.cs +++ b/src/WixToolset.Core/AppCommon.cs | |||
@@ -121,7 +121,7 @@ namespace WixToolset | |||
121 | /// <returns>Returns value for PID_APPNAME."</returns> | 121 | /// <returns>Returns value for PID_APPNAME."</returns> |
122 | public static string GetCreatingApplicationString() | 122 | public static string GetCreatingApplicationString() |
123 | { | 123 | { |
124 | Assembly assembly = Assembly.GetExecutingAssembly(); | 124 | var assembly = Assembly.GetExecutingAssembly(); |
125 | return WixDistribution.ReplacePlaceholders("[AssemblyProduct] ([FileVersion])", assembly); | 125 | return WixDistribution.ReplacePlaceholders("[AssemblyProduct] ([FileVersion])", assembly); |
126 | } | 126 | } |
127 | 127 | ||
@@ -130,8 +130,8 @@ namespace WixToolset | |||
130 | /// </summary> | 130 | /// </summary> |
131 | public static void DisplayToolHeader() | 131 | public static void DisplayToolHeader() |
132 | { | 132 | { |
133 | Assembly assembly = Assembly.GetCallingAssembly(); | 133 | var assembly = Assembly.GetCallingAssembly(); |
134 | Console.WriteLine(WixDistribution.ReplacePlaceholders(WixDistributionSpecificStrings.ToolsetHelpHeader, assembly)); | 134 | Console.WriteLine(WixDistribution.ReplacePlaceholders("[AssemblyProduct] [AssemblyDescription] version [FileVersion]\r\n[AssemblyCopyright]", assembly)); |
135 | } | 135 | } |
136 | 136 | ||
137 | /// <summary> | 137 | /// <summary> |
@@ -139,7 +139,8 @@ namespace WixToolset | |||
139 | /// </summary> | 139 | /// </summary> |
140 | public static void DisplayToolFooter() | 140 | public static void DisplayToolFooter() |
141 | { | 141 | { |
142 | Console.Write(WixDistribution.ReplacePlaceholders(WixDistributionSpecificStrings.ToolsetHelpFooter, null)); | 142 | var assembly = Assembly.GetCallingAssembly(); |
143 | Console.Write(WixDistribution.ReplacePlaceholders("\r\nFor more information see: [SupportUrl]", assembly)); | ||
143 | } | 144 | } |
144 | } | 145 | } |
145 | } | 146 | } |