diff --git a/src/Core/Core.csproj b/src/Core/Core.csproj index e8c9e8c3..6c7c410f 100644 --- a/src/Core/Core.csproj +++ b/src/Core/Core.csproj @@ -67,6 +67,7 @@ ..\..\packages\Newtonsoft.Json.10.0.2\lib\net45\Newtonsoft.Json.dll + @@ -87,6 +88,7 @@ + diff --git a/src/Service/Installer.cs b/src/Core/Installer.cs similarity index 96% rename from src/Service/Installer.cs rename to src/Core/Installer.cs index 0846196b..13c35aa8 100644 --- a/src/Service/Installer.cs +++ b/src/Core/Installer.cs @@ -12,13 +12,12 @@ using System.Security.AccessControl; using System.Security.Principal; using Bit.Core.Utilities; -namespace Service +namespace Core { [RunInstaller(true)] [DesignerCategory("Code")] public class Installer : System.Configuration.Install.Installer { - private IContainer _components = null; private ServiceProcessInstaller _serviceProcessInstaller; private ServiceInstaller _serviceInstaller; @@ -63,7 +62,7 @@ namespace Service var userRule = new FileSystemAccessRule( WindowsIdentity.GetCurrent().Name, - FileSystemRights.Write | FileSystemRights.Read, + FileSystemRights.FullControl | FileSystemRights.Write | FileSystemRights.Read, InheritanceFlags.None, PropagationFlags.NoPropagateInherit, AccessControlType.Allow); diff --git a/src/Service/Service.csproj b/src/Service/Service.csproj index 32d9b17c..d4eaf99a 100644 --- a/src/Service/Service.csproj +++ b/src/Service/Service.csproj @@ -33,7 +33,6 @@ - @@ -44,7 +43,6 @@ -