Install: Chocolatey - Windows
Log In or Register to download the BES file, and more.

0 Votes

Description


Property Details

ID6080
StatusAlpha - Code that was just developed
TitleInstall: Chocolatey - Windows
DomainBESC
SourceInternal
Source Release Date5/29/2015 12:00:00 AM
Added by on 6/4/2015 8:38:23 PM
Last Modified by on 6/4/2015 8:38:23 PM
Counters 6231 Views / 7 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

isWindows (Relevance 1172)
Used in 1155 fixlets and 538 analyses   * Results in a true/false
Show indented relevance
windows of operating system
Windows Vista or later (Relevance 2999204)
Used in 7 fixlets and 2 analyses   * Results in a true/false
Show indented relevance
version of operating system > "5.1"
Used in 1 fixlet   * Results in a true/false
Show indented relevance
/* Chocolatey is not installed */ not exists folders ( unique values of (it as string as trimmed string) of values "ChocolateyInstall" of keys "Control\Session Manager\Environment" of keys whose(name of it contains "ControlSet") of keys "HKEY_LOCAL_MACHINE\SYSTEM" of (x64 registries;x32 registries) )

Actions

Action 1 (default)

Action Link Click here to deploy this action.
Script Type BigFix Action Script
// https://github.com/chocolatey/choco/wiki/Installation
// https://github.com/chocolatey/choco/wiki/DefaultChocolateyInstallReasoning
// NOTE: As of 0.9.8.24, Chocolatey's default install location is C:\ProgramData\Chocolatey
// https://chocolatey.org/packages/wuinstall
prefetch unzip.exe sha1:e1652b058195db3f5f754b7ab430652ae04a50b8 size:167936 http://software.bigfix.com/download/redist/unzip-5.52.exe
prefetch chocolatey.zip sha1:5eef2c6bf44e5ec523a5107d0d2019d6c4564203 size:1259522 https://chocolatey.org/api/v2/package/chocolatey/

utility __Download\unzip.exe

waithidden __Download\unzip.exe -o "{pathname of client folder of current site}\__Download\chocolatey.zip" -d "{pathname of client folder of current site}\__Download"

waithidden powershell -ExecutionPolicy Bypass -NoLogo -NonInteractive -NoProfile -WindowStyle Hidden -File "{pathname of file "tools\chocolateyInstall.ps1" of download folder}"
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.


Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!