From 25686bbcd2d39000640e2b9db835b5b4bea653c1 Mon Sep 17 00:00:00 2001 From: Maxime de Roucy Date: Mon, 22 Dec 2014 13:57:55 +0100 Subject: 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 Tested-by: Andras Timar --- .../winexplorerext/registryitem_winexplorerext.scp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'scp2/source') 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 -- cgit