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:57:48 +0000
commitb25bef87eece6d5ed0492b374e5bf6cc4beefcbe (patch)
treef77bdbdd47a9e6941b95ef93ae2e1c7450f8d97a
parent57efffe1b3c0ec17a9740c85343d5f099e932d7a (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 Reviewed-on: https://gerrit.libreoffice.org/13596 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> Conflicts: scp2/source/winexplorerext/registryitem_winexplorerext.scp Change-Id: I61cc251078c20f6a8cf7fa052c222a86e4e383b3 Reviewed-on: https://gerrit.libreoffice.org/14300 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-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 a8eda1d86c96..ccd1dba59809 100644
--- a/scp2/source/winexplorerext/registryitem_winexplorerext.scp
+++ b/scp2/source/winexplorerext/registryitem_winexplorerext.scp
@@ -339,6 +339,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
+
RegistryItem gid_Regitem_Clsid_AE424E85_F6DF_4910_A6A9_438797986431_PropHdl_x64
ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Optional_Winexplorerext_x64;
@@ -347,6 +356,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
+
RegistryItem gid_Regitem_Clsid_AE424E85_F6DF_4910_A6A9_438797986431_InProcServer32
ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Optional_Winexplorerext;