forked from redis-windows/redis-windows
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create msi installer on redis-windows base
- Loading branch information
1 parent
853c62c
commit c0dec3d
Showing
2 changed files
with
63 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
<Package Name="Redis-Windows" | ||
Manufacturer="Ascensio System SIA" | ||
Version="7.4.0" | ||
UpgradeCode="05410198-7212-4FC4-B7C8-AFEFC3DA0FBC" | ||
Compressed="true" | ||
InstallerVersion="200"> | ||
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." /> | ||
|
||
<MediaTemplate EmbedCab="yes" /> | ||
|
||
<StandardDirectory Id="ProgramFiles64Folder"> | ||
<Directory Id="INSTALLFOLDER" Name="!(bind.Property.ProductName)" /> | ||
</StandardDirectory> | ||
|
||
<ComponentGroup Id="RedisServiceComponents" Directory="INSTALLFOLDER"> | ||
<Component Id="ServiceExecutable"> | ||
<File Source="RedisService.exe" /> | ||
|
||
<ServiceInstall Id="ServiceInstaller" | ||
Type="ownProcess" | ||
Name="Redis" | ||
DisplayName="Redis" | ||
Description="Redis" | ||
Start="auto" | ||
ErrorControl="normal" /> | ||
|
||
<ServiceControl Id="StartService" | ||
Start="install" | ||
Stop="both" | ||
Remove="uninstall" | ||
Name="Redis" | ||
Wait="true" /> | ||
</Component> | ||
</ComponentGroup> | ||
<ComponentGroup Id="RedisComponents" Directory="INSTALLFOLDER"> | ||
<Files Include="*.dll" /> | ||
<Files Include="*.conf" /> | ||
<File Source="redis-benchmark.exe" /> | ||
<File Source="redis-check-aof.exe" /> | ||
<File Source="redis-check-rdb.exe" /> | ||
<File Source="redis-cli.exe" /> | ||
<File Source="redis-sentinel.exe" /> | ||
<File Source="redis-server.exe" /> | ||
</ComponentGroup> | ||
|
||
<Feature Id="Redis"> | ||
<ComponentGroupRef Id="RedisServiceComponents"/> | ||
<ComponentGroupRef Id="RedisComponents"/> | ||
</Feature> | ||
</Package> | ||
</Wix> |