Skip to content

Commit

Permalink
Distinguish between name of Windows Service and sub-product in path
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuriy committed Oct 27, 2019
1 parent bc93de2 commit a54701e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/installer/BeatPackageCompiler/BeatPackageCompiler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ static void Main(string[] args)

var companyName = MagicStrings.Elastic;
var productSetName = MagicStrings.Beats.Name;
var subProductName = ap.TargetName;
var displayName = MagicStrings.Beats.Name + " " + ap.TargetName;
var serviceName = ap.TargetName;
var exeName = ap.TargetName + MagicStrings.Ext.DotExe;
Expand Down Expand Up @@ -91,7 +92,7 @@ static void Main(string[] args)
.Replace("\n\n", @"\par" + "\r\n") +
@"\par}");

var installSubPath = $@"{companyName}\{productSetName}\{ap.Version}\{serviceName}";
var installSubPath = $@"{companyName}\{productSetName}\{ap.Version}\{subProductName}";

WixSharp.File service = null;
if (pi.IsWindowsService)
Expand Down

0 comments on commit a54701e

Please sign in to comment.