-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
969367a
commit 35b24a8
Showing
3 changed files
with
39 additions
and
3 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,33 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> | ||
<Product Id="*" Name="SO-Agent" Language="1033" Version="1.0.0" Manufacturer="Security Onion Solutions" UpgradeCode="bc258551-c208-4c6b-97b0-a164eb550599"> | ||
<Package InstallerVersion="301" Compressed="yes" InstallScope="perMachine" /> | ||
<MediaTemplate EmbedCab="yes" /> | ||
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." /> | ||
<Directory Id="TARGETDIR" Name="SourceDir"> | ||
<Directory Id="ProgramFiles64Folder"> | ||
<Directory Id="CompanyFolder" Name="Elastic"> | ||
<Directory Id="INSTALLLOCATION" Name="Agent"> | ||
<Component Id="installer" Guid="2cbb30bc-0a99-aa6b-f2b3-5495290ae580" Win64="yes"> | ||
<File Id="installer" Source="/output/so-elastic-agent_windows_amd64" KeyPath="yes" /> | ||
</Component> | ||
</Directory> | ||
</Directory> | ||
</Directory> | ||
</Directory> | ||
<Feature Id="SOElasticAgent" Title="SOElasticAgent" Description="Installs all the files needed for SOElasticAgent" Level="1" AllowAdvertise="no" ConfigurableDirectory="INSTALLLOCATION"> | ||
<ComponentRef Id="installer"/> | ||
</Feature> | ||
<Binary Id="WixCA" SourceFile="wixca.dll" /> | ||
<CustomAction Id="SetInstall" Property="Install" Value=""[#installer]""></CustomAction> | ||
<CustomAction Id="SetUninstall" Property="Uninstall" Value=""[INSTALLLOCATION]elastic-agent.exe" uninstall"></CustomAction> | ||
<CustomAction Id="Uninstall" BinaryKey="WixCA" DllEntry="WixQuietExec" Execute="deferred" Return="ignore" Impersonate="no"/> | ||
<CustomAction Id="Install" BinaryKey="WixCA" DllEntry="WixQuietExec" Execute="deferred" Return="ignore" Impersonate="no"/> | ||
<InstallExecuteSequence> | ||
<Custom Action="SetUninstall" After="InstallInitialize">REMOVE="ALL"</Custom> | ||
<Custom Action="Uninstall" After="SetUninstall">REMOVE="ALL"</Custom> | ||
<Custom Action="SetInstall" Before="Install">Not Installed</Custom> | ||
<Custom Action="Install" Before="InstallFinalize">Not Installed</Custom> | ||
</InstallExecuteSequence> | ||
</Product> | ||
</Wix> |
Binary file not shown.