msimsg: New dll.

Hans Leidekker hans at codeweavers.com
Thu Mar 10 03:59:44 CST 2011


This is a resource-only dll that contains translations of MSI error messages.
The resource type used is RCDATA and the format appears to be a double
nul-terminated string in the ANSI codepage.

As an example I added one message in a binary file which fixes the .NET 1.1
Service Pack 1 installer. Ideally these message files would be generated
from po files too.
---
 configure.ac                   |    1 +
 dlls/msimsg/Makefile.in        |    5 +++++
 dlls/msimsg/msimsg.spec        |    1 +
 dlls/msimsg/msimsg_1703_En.dat |  Bin 0 -> 129 bytes
 dlls/msimsg/msimsg_En.rc       |   24 ++++++++++++++++++++++++
 5 files changed, 31 insertions(+), 0 deletions(-)
 create mode 100644 dlls/msimsg/Makefile.in
 create mode 100644 dlls/msimsg/msimsg.spec
 create mode 100644 dlls/msimsg/msimsg_1703_En.dat
 create mode 100644 dlls/msimsg/msimsg_En.rc

diff --git a/configure.ac b/configure.ac
index 2022e67..edbf111 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2615,6 +2615,7 @@ WINE_CONFIG_TEST(dlls/mshtml/tests)
 WINE_CONFIG_DLL(msi,,[po,implib])
 WINE_CONFIG_TEST(dlls/msi/tests)
 WINE_CONFIG_DLL(msimg32,,[implib])
+WINE_CONFIG_DLL(msimsg)
 WINE_CONFIG_DLL(msimtf)
 WINE_CONFIG_DLL(msisip)
 WINE_CONFIG_DLL(msisys.ocx)
diff --git a/dlls/msimsg/Makefile.in b/dlls/msimsg/Makefile.in
new file mode 100644
index 0000000..2119d41
--- /dev/null
+++ b/dlls/msimsg/Makefile.in
@@ -0,0 +1,5 @@
+MODULE    = msimsg.dll
+
+RC_SRCS = msimsg_En.rc
+
+ at MAKE_DLL_RULES@
diff --git a/dlls/msimsg/msimsg.spec b/dlls/msimsg/msimsg.spec
new file mode 100644
index 0000000..1bb8bf6
--- /dev/null
+++ b/dlls/msimsg/msimsg.spec
@@ -0,0 +1 @@
+# empty
diff --git a/dlls/msimsg/msimsg_1703_En.dat b/dlls/msimsg/msimsg_1703_En.dat
new file mode 100644
index 0000000000000000000000000000000000000000..3dd641b76d88793518b7435c94c949bab9591138
GIT binary patch
literal 129
zcmYk!F$%*l5ClNidBwiKg};zKy$LCVITH~{YwlJU|2}pRNI%TXj at m<T3ndp0c1Ii`
zs}QlUZpCEK+mPF7N=eFW;ELz;8gVaq`CzuV_-|?4LC1s0>s4Y;P5<Cb%*SE4eE}Cc
BE$aXP

literal 0
HcmV?d00001

diff --git a/dlls/msimsg/msimsg_En.rc b/dlls/msimsg/msimsg_En.rc
new file mode 100644
index 0000000..b056fd8
--- /dev/null
+++ b/dlls/msimsg/msimsg_En.rc
@@ -0,0 +1,24 @@
+/*
+ * Copyright 2011 Hans Leidekker for CodeWeavers
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#include "windef.h"
+
+LANGUAGE LANG_ENGLISH, SUBLANG_NEUTRAL
+
+/* @makedep: msimsg_1703_En.dat */
+1703 RCDATA "msimsg_1703_En.dat"
-- 
1.7.1






More information about the wine-patches mailing list