-
Notifications
You must be signed in to change notification settings - Fork 2
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
Showing
4 changed files
with
79 additions
and
2 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"?> | ||
<BES xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="BES.xsd"> | ||
<{{TypeTaskOrFixlet}}{{^TypeTaskOrFixlet}}Task{{/TypeTaskOrFixlet}}> | ||
<Title>Run: {{DisplayName}} v{{version}} - Windows</Title> | ||
<Description><![CDATA[ | ||
This task will run {{DisplayName}} on the system. | ||
]]></Description> | ||
<Relevance>windows of operating system</Relevance> | ||
<Relevance><![CDATA[ TRUE ]]></Relevance> | ||
<Category></Category> | ||
<DownloadSize>{{DownloadSize}}{{^DownloadSize}}0{{/DownloadSize}}</DownloadSize> | ||
<Source>{{DisplayName}}</Source> | ||
<SourceID>jgstew</SourceID> | ||
<SourceReleaseDate>{{SourceReleaseDate}}</SourceReleaseDate> | ||
<SourceSeverity></SourceSeverity> | ||
<CVENames></CVENames> | ||
<SANSID></SANSID> | ||
<MIMEField> | ||
<Name>action-ui-metadata</Name> | ||
<Value>{ {{#version}}"version":"{{version}}",{{/version}}"size":{{DownloadSize}}{{^DownloadSize}}0{{/DownloadSize}}{{^patch}}{{#icon_base64}},"icon":"data:{{icon_type}}{{^icon_type}}image/png{{/icon_type}};base64,{{icon_base64}}"{{/icon_base64}}{{/patch}} }</Value> | ||
</MIMEField> | ||
<MIMEField> | ||
<Name>x-fixlet-modification-time</Name> | ||
<Value>{{x-fixlet-modification-time}}</Value> | ||
</MIMEField> | ||
<Domain>BESC</Domain> | ||
<DefaultAction ID="Action1"> | ||
<Description> | ||
<PreLink>Click </PreLink> | ||
<Link>here</Link> | ||
<PostLink> to deploy {{DisplayName}} v{{version}}.</PostLink> | ||
</Description> | ||
<ActionScript MIMEType="application/x-Fixlet-Windows-Shell"><![CDATA[ | ||
// Download: | ||
{{{prefetch}}} | ||
parameter "RunFolder" = "{ (it & "\KVRT") of pathnames of folders "temp" of windows folder }" | ||
folder delete "{ parameter "RunFolder" }" | ||
folder create "{ parameter "RunFolder" }" | ||
// Copy to RunFolder | ||
copy __Download\KVRT.exe "{parameter "RunFolder"}\KVRT.exe" | ||
// https://support.kaspersky.com/kvrt2015/howto/8537 | ||
// Run: | ||
run "{parameter "RunFolder"}\KVRT.exe" -accepteula -d "{parameter "RunFolder"}" -silent -adinsilent -processlevel 1 | ||
// End]]></ActionScript> | ||
<SuccessCriteria Option="OriginalRelevance"></SuccessCriteria> | ||
</DefaultAction> | ||
</{{TypeTaskOrFixlet}}{{^TypeTaskOrFixlet}}Task{{/TypeTaskOrFixlet}}> | ||
</BES> |
24 changes: 24 additions & 0 deletions
24
Kaspersky/KasperskyVirusRemovalTool-Win.bigfix.recipe.yaml
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,24 @@ | ||
--- | ||
Description: Generates a BigFix Task for the latest KasperskyVirusRemovalTool | ||
Identifier: com.github.jgstew.bigfix.KasperskyVirusRemovalTool-Win | ||
Input: | ||
NAME: KasperskyVirusRemovalTool-Win | ||
DisplayName: KasperskyVirusRemovalTool | ||
MinimumVersion: "2.3" | ||
ParentRecipe: com.github.jgstew.download.KasperskyVirusRemovalTool-Win | ||
Process: | ||
- Processor: com.github.jgstew.SharedProcessors/BigFixPrefetchItem | ||
|
||
- Processor: com.github.jgstew.SharedProcessors/BigFixSetupTemplateDictionary | ||
# Arguments: | ||
# template_version: "%version_maximum%" | ||
|
||
- Processor: com.github.jgstew.SharedProcessors/TemplateDictionaryAppendInput | ||
|
||
- Processor: com.github.jgstew.SharedProcessors/ContentFromTemplate | ||
Arguments: | ||
# use UNIX style paths so this works on Windows and non-Windows: | ||
template_file_path: ./DataDog/DataDogAgent-Win-Install_Update.bes.mustache | ||
content_file_pathname: "%RECIPE_CACHE_DIR%/%NAME%-InstallUpdate.bes" | ||
|
||
- Processor: com.github.jgstew.SharedProcessors/BESImport |
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