diff --git a/Redis on Windows Release Notes.md b/Redis on Windows Release Notes.md index 26daeab4..a97a2397 100644 --- a/Redis on Windows Release Notes.md +++ b/Redis on Windows Release Notes.md @@ -1,4 +1,4 @@ -MSOpenTech Redis 2.8.17 Release Notes +MSOpenTech Redis 2.8.19 Release Notes ===================================== Welcome to the binary release of Redis from Microsoft Open Technologies, Inc. @@ -13,10 +13,10 @@ Porting Goals Our goal is to provide a version of Redis that runs on Windows with a performance essentially equal to the performance of Redis on an equivalent UNIX machine. -What is new with the 2.8.17 release +What is new with the 2.8.19 release ----------------------------------- -Our last official release was 2.8.12. We have merged in the changes up to 2.8.17. Please see the [release notes for the UNIX 2.8 branch](http://download.redis.io/redis-stable/00-RELEASENOTES) to understand how this impacts Redis functionality. +Our last official release was 2.8.12. We have merged in the changes up to 2.8.19. Please see the [release notes for the UNIX 2.8 branch](http://download.redis.io/redis-stable/00-RELEASENOTES) to understand how this impacts Redis functionality. ### Network layer changes @@ -32,4 +32,3 @@ How to develop for Redis ------------------------ You will need a client library for accessing Redis. There are a wide variety of client libraries available as listed at . - diff --git a/Redis on Windows.md b/Redis on Windows.md index fe6fa25e..fc528378 100644 --- a/Redis on Windows.md +++ b/Redis on Windows.md @@ -105,4 +105,3 @@ Service Account --------------- When using Redis as a Windows service, the default installation configures Redis to run under the system’s NETWORK SERVICE account. There are some environments where another account must be used (perhaps a domain service account). Configuration of this account needs to be done manually at this point with the service control manager. If this is done, it is also important to give read/write/create permission to the folder that the Redis executable is in to this user identity. - diff --git a/Windows Service Documentation.md b/Windows Service Documentation.md index 0d4ab0a4..1abf4c3d 100644 --- a/Windows Service Documentation.md +++ b/Windows Service Documentation.md @@ -1,6 +1,28 @@ -Running Redis as a Service +Running Redis as a Service ========================== +If you installed Redis using the MSI package, then Redis was already installed as a Windows service. Nothing further to do. If you would like to change its settings, you can update the *redis.windows.conf* file and then restart the Redis service (Run -\> services.msc -\> Redis -\> Restart). + +During installation of the MSI you can either use the installer’s user interface to update the port that Redis listens at and the firewall exception or run it silently without a UI. The following examples show how to install from the command line: + +**default install (port 6379 and firewall exception ON):** + +*msiexec /i Redis-x64.msi * + +**set port and turn OFF firewall exception:** + +*msiexec /i Redis-x64.msi PORT=1234 FIREWALL\_ON=""* + +**set port and turn ON firewall exception:** + +*msiexec /i Redis-x64.msi PORT=1234 FIREWALL\_ON=1* + +**install with no user interface:** + +*msiexec /quiet /i Redis-x64.msi* + +If you did *not* install Redis using the MSI package, then you still run Redis as a Windows service by following these instructions: + In order to better integrate with the Windows Services model, new command line arguments have been introduced to Redis. These service arguments require an elevated user context in order to connect to the service control manager. If these commands are invoked from a non-elevated context, Redis will attempt to create an elevated context in which to execute these commands. This will cause a User Account Control dialog to be displayed by Windows and may require Administrative user credentials in order to proceed. Installing the Service @@ -71,4 +93,3 @@ redis-server --service-start –service-name redisService2 redis-server --service-install –service-name redisService3 –port 10003 redis-server --service-start –service-name redisService3 - diff --git a/msvs/RedisServer.sln b/msvs/RedisServer.sln index 4587a0b3..9f278945 100644 --- a/msvs/RedisServer.sln +++ b/msvs/RedisServer.sln @@ -42,10 +42,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ReleasePackagingTool", "Rel {A65C2CD6-72A3-441A-AEA3-D754BEA9A86A} = {A65C2CD6-72A3-441A-AEA3-D754BEA9A86A} EndProjectSection EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RedisMsi.CustomActions", "msi\RedisMsi.CustomActions\RedisMsi.CustomActions.csproj", "{A917027E-D229-46C9-B969-1F4CE7D5D2CA}" -EndProject -Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "RedisMsi", "msi\RedisMsi\RedisMsi.wixproj", "{C829D256-16B4-4DC7-9BF9-6814F76B441E}" -EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Mixed Platforms = Debug|Mixed Platforms @@ -196,26 +192,6 @@ Global {74A69E5D-6540-43CC-9975-20989BF19EB0}.Release|x64.ActiveCfg = Release|x64 {74A69E5D-6540-43CC-9975-20989BF19EB0}.Release|x64.Build.0 = Release|x64 {74A69E5D-6540-43CC-9975-20989BF19EB0}.Release|x86.ActiveCfg = Release|x64 - {A917027E-D229-46C9-B969-1F4CE7D5D2CA}.Debug|Mixed Platforms.ActiveCfg = Debug|x86 - {A917027E-D229-46C9-B969-1F4CE7D5D2CA}.Debug|Mixed Platforms.Build.0 = Debug|x86 - {A917027E-D229-46C9-B969-1F4CE7D5D2CA}.Debug|Win32.ActiveCfg = Debug|x86 - {A917027E-D229-46C9-B969-1F4CE7D5D2CA}.Debug|x64.ActiveCfg = Debug|x64 - {A917027E-D229-46C9-B969-1F4CE7D5D2CA}.Debug|x86.ActiveCfg = Debug|x86 - {A917027E-D229-46C9-B969-1F4CE7D5D2CA}.Release|Mixed Platforms.ActiveCfg = Release|x86 - {A917027E-D229-46C9-B969-1F4CE7D5D2CA}.Release|Mixed Platforms.Build.0 = Release|x86 - {A917027E-D229-46C9-B969-1F4CE7D5D2CA}.Release|Win32.ActiveCfg = Release|x86 - {A917027E-D229-46C9-B969-1F4CE7D5D2CA}.Release|x64.ActiveCfg = Release|x64 - {A917027E-D229-46C9-B969-1F4CE7D5D2CA}.Release|x86.ActiveCfg = Release|x86 - {C829D256-16B4-4DC7-9BF9-6814F76B441E}.Debug|Mixed Platforms.ActiveCfg = Debug|x86 - {C829D256-16B4-4DC7-9BF9-6814F76B441E}.Debug|Mixed Platforms.Build.0 = Debug|x86 - {C829D256-16B4-4DC7-9BF9-6814F76B441E}.Debug|Win32.ActiveCfg = Debug|x86 - {C829D256-16B4-4DC7-9BF9-6814F76B441E}.Debug|x64.ActiveCfg = Debug|x64 - {C829D256-16B4-4DC7-9BF9-6814F76B441E}.Debug|x86.ActiveCfg = Debug|x86 - {C829D256-16B4-4DC7-9BF9-6814F76B441E}.Release|Mixed Platforms.ActiveCfg = Release|x86 - {C829D256-16B4-4DC7-9BF9-6814F76B441E}.Release|Mixed Platforms.Build.0 = Release|x86 - {C829D256-16B4-4DC7-9BF9-6814F76B441E}.Release|Win32.ActiveCfg = Release|x86 - {C829D256-16B4-4DC7-9BF9-6814F76B441E}.Release|x64.ActiveCfg = Release|x64 - {C829D256-16B4-4DC7-9BF9-6814F76B441E}.Release|x86.ActiveCfg = Release|x86 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/msvs/msi/RedisMsi.CustomActions/RedisMsi.CustomActions.csproj b/msvs/msi/RedisMsi.CustomActions/RedisMsi.CustomActions.csproj index 43f52c38..e39e1426 100644 --- a/msvs/msi/RedisMsi.CustomActions/RedisMsi.CustomActions.csproj +++ b/msvs/msi/RedisMsi.CustomActions/RedisMsi.CustomActions.csproj @@ -10,9 +10,10 @@ Properties RedisMsi.CustomActions RedisMsi.CustomActions - v2.0 + v4.5 512 $(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.CA.targets + true @@ -22,6 +23,7 @@ DEBUG;TRACE prompt 4 + false pdbonly @@ -30,6 +32,7 @@ TRACE prompt 4 + false true @@ -39,6 +42,7 @@ x64 prompt MinimumRecommendedRules.ruleset + false bin\x64\Release\ @@ -48,6 +52,7 @@ x64 prompt MinimumRecommendedRules.ruleset + false diff --git a/msvs/msi/RedisMsi.sln b/msvs/msi/RedisMsi.sln new file mode 100644 index 00000000..363ab385 --- /dev/null +++ b/msvs/msi/RedisMsi.sln @@ -0,0 +1,48 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.21005.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "RedisMsi", "RedisMsi\RedisMsi.wixproj", "{C829D256-16B4-4DC7-9BF9-6814F76B441E}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RedisMsi.CustomActions", "RedisMsi.CustomActions\RedisMsi.CustomActions.csproj", "{A917027E-D229-46C9-B969-1F4CE7D5D2CA}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {C829D256-16B4-4DC7-9BF9-6814F76B441E}.Debug|Win32.ActiveCfg = Debug|x86 + {C829D256-16B4-4DC7-9BF9-6814F76B441E}.Debug|Win32.Build.0 = Debug|x86 + {C829D256-16B4-4DC7-9BF9-6814F76B441E}.Debug|x64.ActiveCfg = Debug|x64 + {C829D256-16B4-4DC7-9BF9-6814F76B441E}.Debug|x64.Build.0 = Debug|x64 + {C829D256-16B4-4DC7-9BF9-6814F76B441E}.Debug|x86.ActiveCfg = Debug|x86 + {C829D256-16B4-4DC7-9BF9-6814F76B441E}.Debug|x86.Build.0 = Debug|x86 + {C829D256-16B4-4DC7-9BF9-6814F76B441E}.Release|Win32.ActiveCfg = Release|x86 + {C829D256-16B4-4DC7-9BF9-6814F76B441E}.Release|Win32.Build.0 = Release|x86 + {C829D256-16B4-4DC7-9BF9-6814F76B441E}.Release|x64.ActiveCfg = Release|x64 + {C829D256-16B4-4DC7-9BF9-6814F76B441E}.Release|x64.Build.0 = Release|x64 + {C829D256-16B4-4DC7-9BF9-6814F76B441E}.Release|x86.ActiveCfg = Release|x86 + {C829D256-16B4-4DC7-9BF9-6814F76B441E}.Release|x86.Build.0 = Release|x86 + {A917027E-D229-46C9-B969-1F4CE7D5D2CA}.Debug|Win32.ActiveCfg = Debug|x86 + {A917027E-D229-46C9-B969-1F4CE7D5D2CA}.Debug|Win32.Build.0 = Debug|x86 + {A917027E-D229-46C9-B969-1F4CE7D5D2CA}.Debug|x64.ActiveCfg = Debug|x64 + {A917027E-D229-46C9-B969-1F4CE7D5D2CA}.Debug|x64.Build.0 = Debug|x64 + {A917027E-D229-46C9-B969-1F4CE7D5D2CA}.Debug|x86.ActiveCfg = Debug|x86 + {A917027E-D229-46C9-B969-1F4CE7D5D2CA}.Debug|x86.Build.0 = Debug|x86 + {A917027E-D229-46C9-B969-1F4CE7D5D2CA}.Release|Win32.ActiveCfg = Release|x86 + {A917027E-D229-46C9-B969-1F4CE7D5D2CA}.Release|Win32.Build.0 = Release|x86 + {A917027E-D229-46C9-B969-1F4CE7D5D2CA}.Release|x64.ActiveCfg = Release|x64 + {A917027E-D229-46C9-B969-1F4CE7D5D2CA}.Release|x64.Build.0 = Release|x64 + {A917027E-D229-46C9-B969-1F4CE7D5D2CA}.Release|x86.ActiveCfg = Release|x86 + {A917027E-D229-46C9-B969-1F4CE7D5D2CA}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/msvs/msi/RedisMsi/Components/DocumentationComponents.wxs b/msvs/msi/RedisMsi/Components/DocumentationComponents.wxs index 17776982..432503d8 100644 --- a/msvs/msi/RedisMsi/Components/DocumentationComponents.wxs +++ b/msvs/msi/RedisMsi/Components/DocumentationComponents.wxs @@ -1,5 +1,8 @@ + + + diff --git a/msvs/msi/RedisMsi/Components/FileComponents.wxs b/msvs/msi/RedisMsi/Components/FileComponents.wxs index 24690775..bd2ff2d0 100644 --- a/msvs/msi/RedisMsi/Components/FileComponents.wxs +++ b/msvs/msi/RedisMsi/Components/FileComponents.wxs @@ -1,23 +1,26 @@ + + + - + - + - + - + diff --git a/msvs/msi/RedisMsi/Components/WindowsServiceComponents.wxs b/msvs/msi/RedisMsi/Components/WindowsServiceComponents.wxs index 55cb5017..df936424 100644 --- a/msvs/msi/RedisMsi/Components/WindowsServiceComponents.wxs +++ b/msvs/msi/RedisMsi/Components/WindowsServiceComponents.wxs @@ -2,6 +2,10 @@ + + + + @@ -11,7 +15,7 @@ The following component installs Redis as a Windows service. --> - + - + + - - RedisBenchmark - {b00d4bb5-44de-405e-839c-d16f547006cf} - True - True - Binaries;Content;Satellites - INSTALLFOLDER - - - RedisCheckAof - {a65c2cd6-72a3-441a-aea3-d754bea9a86a} - True - True - Binaries;Content;Satellites - INSTALLFOLDER - - - RedisCheckDump - {52193a97-d010-41d6-bf2b-33e8e764e308} - True - True - Binaries;Content;Satellites - INSTALLFOLDER - - - RedisCli - {392bbb91-3934-4a56-af42-65c5728311e8} - True - True - Binaries;Content;Satellites - INSTALLFOLDER - - - RedisServer - {46842776-68a5-ec98-6a09-1859bbfc73aa} - True - True - Binaries;Content;Satellites - INSTALLFOLDER - RedisMsi.CustomActions {a917027e-d229-46c9-b969-1f4ce7d5d2ca} diff --git a/msvs/setups/documentation/Redis on Windows Release Notes.docx b/msvs/setups/documentation/Redis on Windows Release Notes.docx index 149a93cf..b5c28b09 100644 Binary files a/msvs/setups/documentation/Redis on Windows Release Notes.docx and b/msvs/setups/documentation/Redis on Windows Release Notes.docx differ