msiexec: Don't use the default title for usage
André Hentschel
nerv at dawncrow.de
Sat May 7 08:31:21 CDT 2011
---
programs/msiexec/msiexec.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/programs/msiexec/msiexec.c b/programs/msiexec/msiexec.c
index d7c83cb..776e2d1 100644
--- a/programs/msiexec/msiexec.c
+++ b/programs/msiexec/msiexec.c
@@ -55,6 +55,9 @@ static const WCHAR InstallRunOnce[] = {
'I','n','s','t','a','l','l','e','r','\\',
'R','u','n','O','n','c','e','E','n','t','r','i','e','s',0};
+static const WCHAR titleW[] = {'W', 'i', 'n', 'd', 'o', 'w', 's', ' ',
+ 'I', 'n', 's', 't', 'a', 'l', 'l', 'e', 'r', 0};
+
static void ShowUsage(int ExitCode)
{
WCHAR msiexec_version[40];
@@ -88,7 +91,7 @@ static void ShowUsage(int ExitCode)
LoadStringW(hmsi, 10, msi_res, len + 1);
sprintfW(msiexec_help, msi_res, msiexec_version);
- MsiMessageBoxW(0, msiexec_help, NULL, 0, GetUserDefaultLangID(), 0);
+ MsiMessageBoxW(0, msiexec_help, titleW, 0, GetUserDefaultLangID(), 0);
}
HeapFree(GetProcessHeap(), 0, msi_res);
HeapFree(GetProcessHeap(), 0, msiexec_help);
--
Best Regards, André Hentschel
More information about the wine-patches
mailing list