summaryrefslogtreecommitdiff
path: root/scp2
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 11:13:32 +0000
commit25686bbcd2d39000640e2b9db835b5b4bea653c1 (patch)
tree5e85474dc9a52d3058af1d29f285989631a3299d /scp2
parented2b4fcd9275dff8238ae38b36b2fa8f3bd8b772 (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>
Diffstat (limited to 'scp2')
-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