diff options
| author | Rob Mensching <rob@firegiant.com> | 2017-09-22 07:47:43 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2017-09-22 07:47:43 -0700 |
| commit | 6b51e3b2bfd321f98e855141eb4b15a75bcd8c16 (patch) | |
| tree | d475f3314df829a21afed4a902abcccc1104e11a /src/WixToolset.Core/AppCommon.cs | |
| parent | ab6477ed0faf81cf152d99a3e07f7489b7dea7f7 (diff) | |
| download | wix-6b51e3b2bfd321f98e855141eb4b15a75bcd8c16.tar.gz wix-6b51e3b2bfd321f98e855141eb4b15a75bcd8c16.tar.bz2 wix-6b51e3b2bfd321f98e855141eb4b15a75bcd8c16.zip | |
Fix CLI header
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 | } |
