>From 24db07afc3bae1d535b9554fde00e82a21843c47 Mon Sep 17 00:00:00 2001
From: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Date: Tue, 30 Aug 2011 08:32:18 +1000
Subject: [PATCH] Register XML Parser interfaces
To: wine-patches <wine-patches@winehq.org>

---
 dlls/msxml3/msxml3.rgs |   69 ++++++++++++++++++++++++++++++++++++++++++++++++
 dlls/msxml3/version.rc |    4 +++
 2 files changed, 73 insertions(+), 0 deletions(-)
 create mode 100755 dlls/msxml3/msxml3.rgs

diff --git a/dlls/msxml3/msxml3.rgs b/dlls/msxml3/msxml3.rgs
new file mode 100755
index 0000000..0b8a1bd
--- /dev/null
+++ b/dlls/msxml3/msxml3.rgs
@@ -0,0 +1,69 @@
+HKCR
+{
+    ForceRemove Msxml2.XMLParser = s 'XML Parser'
+    {
+        ForceRemove CLSID = s '{F5078F19-C551-11D3-89B9-0000F81FE221}'
+        ForceRemove CurVer = s 'Msxml2.XMLParser.3.0'
+    }
+    NoRemove CLSID
+    {
+        ForceRemove {F5078F19-C551-11D3-89B9-0000F81FE221} = s 'XML Parser'
+        {
+            ForceRemove InProcServer32 = s '%MODULE%'
+            {
+                val ThreadingModel = s 'Both'
+            }
+            ForceRemove ProgID = s 'Msxml2.XMLParser'
+            ForceRemove VersionIndependentProgID = s 'Msxml2.XMLParser'
+            ForceRemove Version = s '3.0'
+        }
+    }
+}
+HKCR
+{
+    ForceRemove Msxml2.XMLParser.3.0 = s 'XML Parser 3.0'
+    {
+        ForceRemove CLSID = s '{F5078F31-C551-11D3-89B9-0000F81FE221}'
+    }
+    NoRemove CLSID
+    {
+        ForceRemove {F5078F31-C551-11D3-89B9-0000F81FE221} = s 'XML Parser 3.0'
+        {
+            ForceRemove InProcServer32 = s '%MODULE%'
+            {
+                val ThreadingModel = s 'Both'
+            }
+            ForceRemove ProgID = s 'Msxml2.XMLParser.3.0'
+            ForceRemove VersionIndependentProgID = s 'Msxml2.XMLParser'
+            ForceRemove Version = s '3.0'
+        }
+    }
+}
+HKCR
+{
+    ForceRemove Microsoft.XMLParser = s 'XML Parser'
+    {
+        ForceRemove CLSID = s '{D2423620-51A0-11D2-9CAF-0060B0EC3D39}'
+        ForceRemove CurVer = s 'Microsoft.XMLParser.1.0'
+    }
+}
+HKCR
+{
+    ForceRemove Microsoft.XMLParser.1.0 = s 'XML Parser'
+    {
+        ForceRemove CLSID = s '{D2423620-51A0-11D2-9CAF-0060B0EC3D39}'
+    }
+    NoRemove CLSID
+    {
+        ForceRemove {D2423620-51A0-11D2-9CAF-0060B0EC3D39} = s 'XML Parser'
+        {
+            ForceRemove InProcServer32 = s '%MODULE%'
+            {
+                val ThreadingModel = s 'Both'
+            }
+            ForceRemove ProgID = s 'Microsoft.XMLParser.1.0'
+            ForceRemove VersionIndependentProgID = s 'Microsoft.XMLParser'
+            ForceRemove Version = s '1.0'
+        }
+    }
+}
diff --git a/dlls/msxml3/version.rc b/dlls/msxml3/version.rc
index 127ecee..a6c3103 100644
--- a/dlls/msxml3/version.rc
+++ b/dlls/msxml3/version.rc
@@ -26,3 +26,7 @@
 
 /* @makedep: msxml3.manifest */
 WINE_MANIFEST 24 msxml3.manifest
+
+/* @makedep: msxml3.rgs */
+1 WINE_REGISTRY msxml3.rgs
+
-- 
1.7.4.1

