summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime de Roucy <mderoucy@linagora.com>2014-12-22 13:57:55 +0100
committerAndras Timar <andras.timar@collabora.com>2015-02-03 12:00:44 +0000
commit807e29cbf992ac8bdd7ae6e974bd72ea731d274c (patch)
tree580fab9bdc8a226dd69f87dece9bdf52b126b621
parent36079acc525142932e6dc5f73d9b3858c2092b8f (diff)
fdo#67534 Fix "Property Handler" shared lock
As explained in the following link, access mode should be set to "EnableShareDenyNone" to avoid blocking others process to access the file opened by the Property Handler. http://msdn.microsoft.com/en-us/library/windows/desktop/dd894084%28v=vs.85%29.aspx Change-Id: I61cc251078c20f6a8cf7fa052c222a86e4e383b3 Reviewed-on: https://gerrit.libreoffice.org/13596 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/14301 Reviewed-by: Andras Timar <andras.timar@collabora.com>
-rw-r--r--scp2/source/winexplorerext/registryitem_winexplorerext.scp18
1 files changed, 18 insertions, 0 deletions
diff --git a/scp2/source/winexplorerext/registryitem_winexplorerext.scp b/scp2/source/winexplorerext/registryitem_winexplorerext.scp
index 32c83bc3c3e3..38a09fd42192 100644
--- a/scp2/source/winexplorerext/registryitem_winexplorerext.scp
+++ b/scp2/source/winexplorerext/registryitem_winexplorerext.scp
@@ -410,6 +410,15 @@ RegistryItem gid_Regitem_Clsid_AE424E85_F6DF_4910_A6A9_438797986431_PropHdl
Value = "%PRODUCTNAME Property Handler";
End
+RegistryItem gid_Regitem_Clsid_AE424E85_F6DF_4910_A6A9_438797986431_EnableShareDenyWrite
+ ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
+ ModuleID = gid_Module_Optional_Winexplorerext;
+ ComponentCondition = "VersionNT >= 600";
+ Subkey = "CLSID\{AE424E85-F6DF-4910-A6A9-438797986431}";
+ Name = "EnableShareDenyNone";
+ Value = "#1";
+End
+
#ifdef BUILD_X64
RegistryItem gid_Regitem_Clsid_AE424E85_F6DF_4910_A6A9_438797986431_PropHdl_x64
@@ -420,6 +429,15 @@ RegistryItem gid_Regitem_Clsid_AE424E85_F6DF_4910_A6A9_438797986431_PropHdl_x64
Value = "%PRODUCTNAME Property Handler";
End
+RegistryItem gid_Regitem_Clsid_AE424E85_F6DF_4910_A6A9_438797986431_EnableShareDenyWrite_x64
+ ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
+ ModuleID = gid_Module_Optional_Winexplorerext_x64;
+ ComponentCondition = "VersionNT >= 600";
+ Subkey = "CLSID\{AE424E85-F6DF-4910-A6A9-438797986431}";
+ Name = "EnableShareDenyNone";
+ Value = "#1";
+End
+
#endif
RegistryItem gid_Regitem_Clsid_AE424E85_F6DF_4910_A6A9_438797986431_InProcServer32