Welcome to the Chocolatey Community Package Repository! The packages found in this section of the site are provided, maintained, and moderated by the community.
Moderation
Every version of each package undergoes a rigorous moderation process before it goes live that typically includes:
- Security, consistency, and quality checking
- Installation testing
- Virus checking through VirusTotal
- Human moderators who give final review and sign off
More detail at Security and Moderation.
Organizational Use
If you are an organization using Chocolatey, we want your experience to be fully reliable. Due to the nature of this publicly offered repository, reliability cannot be guaranteed. Packages offered here are subject to distribution rights, which means they may need to reach out further to the internet to the official locations to download files at runtime.
Fortunately, distribution rights do not apply for internal use. With any edition of Chocolatey (including the free open source edition), you can host your own packages and cache or internalize existing community packages.
Disclaimer
Your use of the packages on this site means you understand they are not supported or guaranteed in any way. Learn more...
-
STEP1
Package Review
-
STEP2
Integration Method
-
STEP3
Internal Repo Url
-
STEP4
Environment Setup
-
STEP5
Install Script
Step 1: Review Your Packages
Step 2: Choose Your Integration Method
Step 3: Enter Your Internal Repository Url
(this should look similar to https://community.chocolatey.org/api/v2/)
Step 3: Copy Your Script or Download Config
Option 1: Copy Script
Option 2: Download Config
Step 4: Setup Your Environment
1. Ensure you are set for organizational deployment
Please see the organizational deployment guide
2. Get the package into your environment
Option 1: Cached Package (Unreliable, Requires Internet - Same As Community)-
Open Source or Commercial:
- Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
-
You can also just download the packages and push them to a repository
Download Packages
-
Open Source
-
Download the packages:
Download Packages - Follow manual internalization instructions
-
-
Package Internalizer (C4B)
-
Run: (additional options)
-
For package and dependencies run:
- Automate package internalization
-
Run: (additional options)
Step 5: Copy Your Script
See options you can pass to upgrade.
See best practices for scripting.
Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.
If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:
## 1. REQUIREMENTS ##
### Here are the requirements necessary to ensure this is successful.
### a. Internal/Private Cloud Repository Set Up ###
#### You'll need an internal/private cloud repository you can use. These are
#### generally really quick to set up and there are quite a few options.
#### Chocolatey Software recommends Nexus, Artifactory Pro, or ProGet as they
#### are repository servers and will give you the ability to manage multiple
#### repositories and types from one server installation.
### b. Download Chocolatey Package and Put on Internal Repository ###
#### You need to have downloaded the Chocolatey package as well.
#### Please see https://chocolatey.org/install#organization
### c. Other Requirements ###
#### We initialize a few things that are needed by this script - there are no other requirements.
$ErrorActionPreference = "Stop"
#### Set TLS 1.2 (3072) as that is the minimum required by various up-to-date repositories.
#### Use integers because the enumeration value for TLS 1.2 won't exist
#### in .NET 4.0, even though they are addressable if .NET 4.5+ is
#### installed (.NET 4.5 is an in-place upgrade).
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072
#### We use this variable for future REST calls.
$RequestArguments = @{
UseBasicParsing = $true
}
## 2. TOP LEVEL VARIABLES ##
### a. Your internal repository url (the main one). ###
#### Should be similar to what you see when you browse
#### to https://community.chocolatey.org/api/v2/
$NugetRepositoryUrl = "INTERNAL REPO URL"
### b. Internal Repository Credential ###
#### If required, add the repository access credential here
# $NugetRepositoryCredential = [PSCredential]::new(
# "username",
# ("password" | ConvertTo-SecureString -AsPlainText -Force)
# )
# $RequestArguments.Credential = $NugetRepositoryCredential
### c. Chocolatey nupkg download url ###
#### This url should result in an immediate download when you navigate to it
$ChocolateyDownloadUrl = "$($NugetRepositoryUrl.TrimEnd('/'))/package/chocolatey.1.1.0.nupkg"
### d. Chocolatey Central Management (CCM) ###
#### If using CCM to manage Chocolatey, add the following:
#### i. Endpoint URL for CCM
# $ChocolateyCentralManagementUrl = "https://chocolatey-central-management:24020/ChocolateyManagementService"
#### ii. If using a Client Salt, add it here
# $ChocolateyCentralManagementClientSalt = "clientsalt"
#### iii. If using a Service Salt, add it here
# $ChocolateyCentralManagementServiceSalt = "servicesalt"
## 3. ENSURE CHOCOLATEY IS INSTALLED ##
### Ensure Chocolatey is installed from your internal repository
#### Download the Nupkg, appending .zip to the filename to handle archive cmdlet limitations
if (-not (Get-Command choco.exe -ErrorAction SilentlyContinue)) {
$TempDirectory = Join-Path $env:Temp "chocolateyInstall"
if (-not (Test-Path $TempDirectory -PathType Container)) {
$null = New-Item -Path $TempDirectory -ItemType Directory
}
$DownloadedNupkg = Join-Path $TempDirectory "$(Split-Path $ChocolateyDownloadUrl -Leaf).zip"
Invoke-WebRequest -Uri $ChocolateyDownloadUrl -OutFile $DownloadedNupkg @RequestArguments
#### Extract the Nupkg, and run the chocolateyInstall script
if (Get-Command Microsoft.PowerShell.Archive\Expand-Archive -ErrorAction SilentlyContinue) {
Microsoft.PowerShell.Archive\Expand-Archive -Path $DownloadedNupkg -DestinationPath $TempDirectory -Force
} else {
# PowerShell versions <4.0 do not have this function available
try {
$shellApplication = New-Object -ComObject Shell.Application
$zipPackage = $shellApplication.NameSpace($DownloadedNupkg)
$destinationFolder = $shellApplication.NameSpace($TempDirectory)
$destinationFolder.CopyHere($zipPackage.Items(), 0x10)
} catch {
Write-Warning "Unable to unzip package using built-in compression."
throw $_
}
}
& $(Join-Path $TempDirectory "tools\chocolateyInstall.ps1")
}
if (-not (Get-Command choco.exe -ErrorAction SilentlyContinue)) {
refreshenv
}
## 4. CONFIGURE CHOCOLATEY BASELINE ##
### a. FIPS Feature ###
#### If you need FIPS compliance - make this the first thing you configure
#### before you do any additional configuration or package installations
# choco feature enable -n useFipsCompliantChecksums
### b. Apply Recommended Configuration ###
#### Move cache location so Chocolatey is very deterministic about
#### cleaning up temporary data and the location is secured to admins
choco config set --name cacheLocation --value C:\ProgramData\chocolatey\cache
#### Increase timeout to at least 4 hours
choco config set --name commandExecutionTimeoutSeconds --value 14400
#### Turn off download progress when running choco through integrations
choco feature disable --name showDownloadProgress
### c. Sources ###
#### Remove the default community package repository source
choco source list --limitoutput | ConvertFrom-Csv -Header 'Name', 'Location' -Delimiter '|' | ForEach-Object {
if ($_.Location -eq 'https://community.chocolatey.org/api/v2/') {
choco source remove -n $_.Name
}
}
#### Add internal default sources
#### You could have multiple sources here, so we will provide an example
#### of one using the remote repo variable here
#### NOTE: This EXAMPLE may require changes
if ($NugetRepositoryCredential) {
choco source add --name ChocolateyInternal --source $NugetRepositoryUrl --user $NugetRepositoryCredential.UserName --password $NugetRepositoryCredential.GetNetworkCredential().Password --priority 1
} else {
choco source add --name ChocolateyInternal --source $NugetRepositoryUrl --priority 1
}
### b. Keep Chocolatey Up To Date ###
#### Keep chocolatey up to date based on your internal source
#### You control the upgrades based on when you push an updated version
#### to your internal repository.
#### Note the source here is to the OData feed, similar to what you see
#### when you browse to https://community.chocolatey.org/api/v2/
choco upgrade chocolatey --confirm
## 5. ENSURE CHOCOLATEY FOR BUSINESS ##
### If you don't have Chocolatey for Business (C4B), you'll want to remove from here down.
### a. Ensure The License File Is Installed ###
#### Create a license package using script from https://docs.chocolatey.org/en-us/how-tos/setup-offline-installation#exercise-4-create-a-package-for-the-license
choco install chocolatey-license --source $NugetRepositoryUrl --confirm
### b. Disable The Licensed Source ###
#### The licensed source cannot be removed, so it must be disabled.
#### This must occur after the license has been set by the license package.
if ("chocolatey-license" -in (choco list --localonly --limitoutput | ConvertFrom-Csv -Header "Name" -Delimiter "|").Name) {
choco source disable --name chocolatey.licensed
} else {
Write-Warning "Not disabling 'chocolatey.licensed' feed, as Chocolatey-License has not been installed."
}
### c. Ensure Chocolatey Licensed Extension ###
#### You will have downloaded the licensed extension to your internal repository
#### as you have disabled the licensed repository in step 5b.
#### Ensure the chocolatey.extension package (aka Chocolatey Licensed Extension)
if ("chocolatey-license" -in (choco list --localonly --limitoutput | ConvertFrom-Csv -Header "Name" -Delimiter "|").Name) {
choco install chocolatey.extension --source $NugetRepositoryUrl --confirm
} else {
Write-Warning "Not installing 'chocolatey.extension', as Chocolatey-License has not been installed."
}
#### The Chocolatey Licensed Extension unlocks all of the following, which also have configuration/feature items available with them. You may want to visit the feature pages to see what you might want to also enable:
#### - Package Builder - https://docs.chocolatey.org/en-us/features/paid/package-builder
#### - Package Internalizer - https://docs.chocolatey.org/en-us/features/paid/package-internalizer
#### - Package Synchronization (3 components) - https://docs.chocolatey.org/en-us/features/paid/package-synchronization
#### - Package Reducer - https://docs.chocolatey.org/en-us/features/paid/package-reducer
#### - Package Audit - https://docs.chocolatey.org/en-us/features/paid/package-audit
#### - Package Throttle - https://docs.chocolatey.org/en-us/features/paid/package-throttle
#### - CDN Cache Access - https://docs.chocolatey.org/en-us/features/paid/private-cdn
#### - Branding - https://docs.chocolatey.org/en-us/features/paid/branding
#### - Self-Service Anywhere (more components will need to be installed and additional configuration will need to be set) - https://docs.chocolatey.org/en-us/features/paid/self-service-anywhere
#### - Chocolatey Central Management (more components will need to be installed and additional configuration will need to be set) - https://docs.chocolatey.org/en-us/features/paid/chocolatey-central-management
#### - Other - https://docs.chocolatey.org/en-us/features/paid/
### d. Ensure Self-Service Anywhere ###
#### If you have desktop clients where users are not administrators, you may
#### to take advantage of deploying and configuring Self-Service anywhere
choco feature disable --name showNonElevatedWarnings
choco feature enable --name useBackgroundService
choco feature enable --name useBackgroundServiceWithNonAdministratorsOnly
choco feature enable --name allowBackgroundServiceUninstallsFromUserInstallsOnly
choco config set --name allowedBackgroundServiceCommands --value "install,upgrade,uninstall"
### e. Ensure Chocolatey Central Management ###
#### If you want to manage and report on endpoints, you can set up and configure
### Central Management. There are multiple portions to manage, so you'll see
### a section on agents here along with notes on how to configure the server
### side components.
if ($ChocolateyCentralManagementUrl) {
choco install chocolatey-agent --source $NugetRepositoryUrl --confirm
choco config set --name CentralManagementServiceUrl --value $ChocolateyCentralManagementUrl
if ($ChocolateyCentralManagementClientSalt) {
choco config set --name centralManagementClientCommunicationSaltAdditivePassword --value $ChocolateyCentralManagementClientSalt
}
if ($ChocolateyCentralManagementServiceSalt) {
choco config set --name centralManagementServiceCommunicationSaltAdditivePassword --value $ChocolateyCentralManagementServiceSalt
}
choco feature enable --name useChocolateyCentralManagement
choco feature enable --name useChocolateyCentralManagementDeployments
}
See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.
If Applicable - Chocolatey Configuration/Installation
## 1. REQUIREMENTS ##
### Here are the requirements necessary to ensure this is successful.
### a. Internal/Private Cloud Repository Set Up ###
#### You'll need an internal/private cloud repository you can use. These are
#### generally really quick to set up and there are quite a few options.
#### Chocolatey Software recommends Nexus, Artifactory Pro, or ProGet as they
#### are repository servers and will give you the ability to manage multiple
#### repositories and types from one server installation.
### b. Download Chocolatey Package and Put on Internal Repository ###
#### You need to have downloaded the Chocolatey package as well.
#### Please see https://chocolatey.org/install#organization
### c. Other Requirements ###
#### i. chocolatey.chocolatey
##### You will require the chocolatey.chocolatey collection to be installed
##### on all machines using this playbook.
##### Please see https://github.com/chocolatey/chocolatey-ansible/#installing-the-collection-from-ansible-galaxy
- name: Install and Configure Chocolatey
hosts: all
## 2. TOP LEVEL VARIABLES ##
vars:
### a. Your internal repository url (the main one). ###
#### Should be similar to what you see when you browse
#### to https://community.chocolatey.org/api/v2/
nuget_repository_url: INTERNAL REPO URL
### b. Internal Repository Credential ###
#### If required, add the repository access credential here and
#### uncomment lines with source_username and source_password below
# nuget_repository_username: username
# nuget_repository_password: password
### c. Chocolatey Central Management (CCM) ###
#### If using CCM to manage Chocolatey, add the following:
#### i. Endpoint URL for CCM
# chocolatey_central_management_url: https://chocolatey-central-management:24020/ChocolateyManagementService
#### ii. If using a Client Salt, add it here
# chocolatey_central_management_client_salt: clientsalt
#### iii. If using a Service Salt, add it here
# chocolatey_central_management_service_salt: servicesalt
## 3. ENSURE CHOCOLATEY IS INSTALLED ##
### Ensure Chocolatey is installed from your internal repository
tasks:
- name: Install chocolatey
win_chocolatey:
name: chocolatey
source: {{ nuget_repository_url }}
# source_username: {{ nuget_repository_username }}
# source_password: {{ nuget_repository_password }}
## 4. CONFIGURE CHOCOLATEY BASELINE ##
### a. FIPS Feature ###
#### If you need FIPS compliance - make this the first thing you configure
#### before you do any additional configuration or package installations
# - name: Enable FIPS compliance
# win_chocolatey_feature:
# name: useFipsCompliantChecksums
# state: enabled
### b. Apply Recommended Configuration ###
#### Move cache location so Chocolatey is very deterministic about
#### cleaning up temporary data and the location is secured to admins
- name: Set the cache location
win_chocolatey_config:
name: cacheLocation
state: present
value: C:\ProgramData\chocolatey\cache
#### Increase timeout to at least 4 hours
- name: Set the command execution timeout
win_chocolatey_config:
name: commandExecutionTimeoutSeconds
state: present
value: 14400
#### Turn off download progress when running choco through integrations
- name: Disable showing download progress
win_chocolatey_feature:
name: showDownloadProgress
state: disabled
### c. Sources ###
#### Remove the default community package repository source
- name: Remove Chocolatey Community Repository
win_chocolatey_source:
name: chocolatey
state: absent
#### Add internal default sources
#### You could have multiple sources here, so we will provide an example
#### of one using the remote repo variable here
#### NOTE: This EXAMPLE may require changes
- name: Add Internal Repository
win_chocolatey_source:
name: ChocolateyInternal
state: present
source: {{ nuget_repository_url }}
# source_username: {{ nuget_repository_username }}
# source_password: {{ nuget_repository_password }}
priority: 1
### b. Keep Chocolatey Up To Date ###
#### Keep chocolatey up to date based on your internal source
#### You control the upgrades based on when you push an updated version
#### to your internal repository.
#### Note the source here is to the OData feed, similar to what you see
#### when you browse to https://community.chocolatey.org/api/v2/
- name: Upgrade Chocolatey
win_chocolatey:
name: chocolatey
state: latest
## 5. ENSURE CHOCOLATEY FOR BUSINESS ##
### If you don't have Chocolatey for Business (C4B), you'll want to remove from here down.
### a. Ensure The License File Is Installed ###
#### Create a license package using script from https://docs.chocolatey.org/en-us/how-tos/setup-offline-installation#exercise-4-create-a-package-for-the-license
- name: Install Chocolatey License
win_chocolatey:
name: chocolatey-license
source: ChocolateyInternal
state: latest
### b. Disable The Licensed Source ###
#### The licensed source cannot be removed, so it must be disabled.
#### This must occur after the license has been set by the license package.
- name: Disable Chocolatey Community Repository
win_chocolatey_source:
name: chocolatey.licensed
state: disabled
### c. Ensure Chocolatey Licensed Extension ###
#### You will have downloaded the licensed extension to your internal repository
#### as you have disabled the licensed repository in step 5b.
#### Ensure the chocolatey.extension package (aka Chocolatey Licensed Extension)
- name: Install Chocolatey Extension
win_chocolatey:
name: chocolatey.extension
source: ChocolateyInternal
state: latest
#### The Chocolatey Licensed Extension unlocks all of the following, which also have configuration/feature items available with them. You may want to visit the feature pages to see what you might want to also enable:
#### - Package Builder - https://docs.chocolatey.org/en-us/features/paid/package-builder
#### - Package Internalizer - https://docs.chocolatey.org/en-us/features/paid/package-internalizer
#### - Package Synchronization (3 components) - https://docs.chocolatey.org/en-us/features/paid/package-synchronization
#### - Package Reducer - https://docs.chocolatey.org/en-us/features/paid/package-reducer
#### - Package Audit - https://docs.chocolatey.org/en-us/features/paid/package-audit
#### - Package Throttle - https://docs.chocolatey.org/en-us/features/paid/package-throttle
#### - CDN Cache Access - https://docs.chocolatey.org/en-us/features/paid/private-cdn
#### - Branding - https://docs.chocolatey.org/en-us/features/paid/branding
#### - Self-Service Anywhere (more components will need to be installed and additional configuration will need to be set) - https://docs.chocolatey.org/en-us/features/paid/self-service-anywhere
#### - Chocolatey Central Management (more components will need to be installed and additional configuration will need to be set) - https://docs.chocolatey.org/en-us/features/paid/chocolatey-central-management
#### - Other - https://docs.chocolatey.org/en-us/features/paid/
### d. Ensure Self-Service Anywhere ###
#### If you have desktop clients where users are not administrators, you may
#### to take advantage of deploying and configuring Self-Service anywhere
- name: Hide not-elevated warnings
win_chocolatey_feature:
name: showNonElevatedWarnings
state: disabled
- name: Use background mode for self-service
win_chocolatey_feature:
name: useBackgroundService
state: enabled
- name: Use background service for non-admins
win_chocolatey_feature:
name: useBackgroundServiceWithNonAdministratorsOnly
state: enabled
- name: Allow background uninstallation for user installs
win_chocolatey_feature:
name: allowBackgroundServiceUninstallsFromUserInstallsOnly
state: enabled
- name: Set allowed background service commands
win_chocolatey_config:
name: backgroundServiceAllowedCommands
state: present
value: install,upgrade,uninstall
### e. Ensure Chocolatey Central Management ###
#### If you want to manage and report on endpoints, you can set up and configure
### Central Management. There are multiple portions to manage, so you'll see
### a section on agents here along with notes on how to configure the server
### side components.
- name: Install Chocolatey Agent
when: chocolatey_central_management_url is defined
win_chocolatey:
name: chocolatey-agent
source: ChocolateyInternal
state: latest
- name: Set the Central Management Service URL
when: chocolatey_central_management_url is defined
win_chocolatey_config:
name: CentralManagementServiceUrl
state: present
value: {{ chocolatey_central_management_url }}
- name: Set the Central Management Client Salt
when: chocolatey_central_management_client_salt is defined
win_chocolatey_config:
name: centralManagementClientCommunicationSaltAdditivePassword
state: present
value: {{ chocolatey_central_management_client_salt }}
- name: Set the Central Management Service Salt
when: chocolatey_central_management_service_salt is defined
win_chocolatey_config:
name: centralManagementServiceCommunicationSaltAdditivePassword
state: present
value: {{ chocolatey_central_management_service_salt }}
- name: Use Central Management
when: chocolatey_central_management_url is defined
win_chocolatey_feature:
name: useChocolateyCentralManagement
state: enabled
- name: Use Central Management Deployments
when: chocolatey_central_management_url is defined
win_chocolatey_feature:
name: useChocolateyCentralManagementDeployments
state: enabled
See docs at https://docs.chef.io/resource_chocolatey_package.html.
If Applicable - Chocolatey Configuration/Installation
## 1. REQUIREMENTS ##
### Here are the requirements necessary to ensure this is successful.
### a. Internal/Private Cloud Repository Set Up ###
#### You'll need an internal/private cloud repository you can use. These are
#### generally really quick to set up and there are quite a few options.
#### Chocolatey Software recommends Nexus, Artifactory Pro, or ProGet as they
#### are repository servers and will give you the ability to manage multiple
#### repositories and types from one server installation.
### b. Download Chocolatey Package and Put on Internal Repository ###
#### You need to have downloaded the Chocolatey package as well.
#### Please see https://chocolatey.org/install#organization
### c. Other Requirements ###
#### The Chocolatey resources are available with any recent version of Chef.
#### We utilise the Chocolatey recipe to install the Chocolatey binaries.
include_recipe "chocolatey"
## 2. TOP LEVEL VARIABLES ##
### a. Your internal repository url (the main one). ###
#### Should be similar to what you see when you browse
#### to https://community.chocolatey.org/api/v2/
NugetRepositoryUrl = "INTERNAL REPO URL"
### b. Internal Repository Credential ###
#### If required, add the repository access credential here
# NugetRepositoryUsername = "username"
# NugetRepositoryPassword = "password"
### c. Chocolatey nupkg download url ###
#### This url should result in an immediate download when you navigate to it in
#### a web browser
ChocolateyNupkgUrl = "INTERNAL REPO URL/package/chocolatey.1.1.0.nupkg",
### d. Chocolatey Central Management (CCM) ###
#### If using CCM to manage Chocolatey, add the following:
#### i. Endpoint URL for CCM
# ChocolateyCentralManagementUrl = "https://chocolatey-central-management:24020/ChocolateyManagementService"
#### ii. If using a Client Salt, add it here
# ChocolateyCentralManagementClientSalt = "clientsalt"
#### iii. If using a Service Salt, add it here
# ChocolateyCentralManagementServiceSalt = "servicesalt"
## 3. ENSURE CHOCOLATEY IS INSTALLED ##
### Ensure Chocolatey is installed from your internal repository
node['chocolatey']['install vars'] = {
'chocolateyDownloadUrl' => "#{ChocolateyNupkgUrl}",
}
## 4. CONFIGURE CHOCOLATEY BASELINE ##
### a. FIPS Feature ###
#### If you need FIPS compliance - make this the first thing you configure
#### before you do any additional configuration or package installations
# chocolatey_feature 'useFipsCompliantChecksums' do
# action :enable
# end
### b. Apply Recommended Configuration ###
#### Move cache location so Chocolatey is very deterministic about
#### cleaning up temporary data and the location is secured to admins
chocolatey_config 'cacheLocation' do
value 'C:\ProgramData\chocolatey\cache'
end
#### Increase timeout to at least 4 hours
chocolatey_config 'commandExecutionTimeoutSeconds' do
value '14400'
end
#### Turn off download progress when running choco through integrations
chocolatey_feature 'showDownloadProgress' do
action :disable
end
### c. Sources ###
#### Remove the default community package repository source
chocolatey_source 'chocolatey' do
action :remove
end
#### Add internal default sources
#### You could have multiple sources here, so we will provide an example
#### of one using the remote repo variable here
#### NOTE: This EXAMPLE may require changes
chocolatey_source 'ChocolateyInternal' do
source "#{NugetRepositoryUrl}"
priority 1
action :add
end
execute 'ChocolateyInternal' do
command "choco source add --name ChocolateyInternal -s #{NugetRepositoryUrl} -u=#{NugetRepositoryUsername} -p=#{NugetRepositoryPassword} --priority=1"
only_if { NugetRepositoryUsername != nil || NugetRepositoryPassword != nil }
end
### b. Keep Chocolatey Up To Date ###
#### Keep chocolatey up to date based on your internal source
#### You control the upgrades based on when you push an updated version
#### to your internal repository.
#### Note the source here is to the OData feed, similar to what you see
#### when you browse to https://community.chocolatey.org/api/v2/
chocolatey_package 'chocolatey' do
action :upgrade
source "#{NugetRepositoryUrl}"
end
## 5. ENSURE CHOCOLATEY FOR BUSINESS ##
### If you don't have Chocolatey for Business (C4B), you'll want to remove from here down.
### a. Ensure The License File Is Installed ###
#### Create a license package using script from https://docs.chocolatey.org/en-us/how-tos/setup-offline-installation#exercise-4-create-a-package-for-the-license
chocolatey_package 'chocolatey-license' do
action :install
source "#{NugetRepositoryUrl}"
end
### b. Disable The Licensed Source ###
#### The licensed source cannot be removed, so it must be disabled.
#### This must occur after the license has been set by the license package.
chocolatey_source 'chocolatey.licensed' do
action :disable
end
### c. Ensure Chocolatey Licensed Extension ###
#### You will have downloaded the licensed extension to your internal repository
#### as you have disabled the licensed repository in step 5b.
#### Ensure the chocolatey.extension package (aka Chocolatey Licensed Extension)
chocolatey_package 'chocolatey.extention' do
action install
source "#{NugetRepositoryUrl}"
end
#### The Chocolatey Licensed Extension unlocks all of the following, which also have configuration/feature items available with them. You may want to visit the feature pages to see what you might want to also enable:
#### - Package Builder - https://docs.chocolatey.org/en-us/features/paid/package-builder
#### - Package Internalizer - https://docs.chocolatey.org/en-us/features/paid/package-internalizer
#### - Package Synchronization (3 components) - https://docs.chocolatey.org/en-us/features/paid/package-synchronization
#### - Package Reducer - https://docs.chocolatey.org/en-us/features/paid/package-reducer
#### - Package Audit - https://docs.chocolatey.org/en-us/features/paid/package-audit
#### - Package Throttle - https://docs.chocolatey.org/en-us/features/paid/package-throttle
#### - CDN Cache Access - https://docs.chocolatey.org/en-us/features/paid/private-cdn
#### - Branding - https://docs.chocolatey.org/en-us/features/paid/branding
#### - Self-Service Anywhere (more components will need to be installed and additional configuration will need to be set) - https://docs.chocolatey.org/en-us/features/paid/self-service-anywhere
#### - Chocolatey Central Management (more components will need to be installed and additional configuration will need to be set) - https://docs.chocolatey.org/en-us/features/paid/chocolatey-central-management
#### - Other - https://docs.chocolatey.org/en-us/features/paid/
### d. Ensure Self-Service Anywhere ###
#### If you have desktop clients where users are not administrators, you may
#### to take advantage of deploying and configuring Self-Service anywhere
chocolatey_feature 'showNonElevatedWarnings' do
action :disable
end
chocolatey_feature 'useBackgroundService' do
action :enable
end
chocolatey_feature 'useBackgroundServiceWithNonAdministratorsOnly' do
action :enable
end
chocolatey_feature 'allowBackgroundServiceUninstallsFromUserInstallsOnly' do
action :enable
end
chocolatey_config 'backgroundServiceAllowedCommands' do
value 'install,upgrade,uninstall'
end
### e. Ensure Chocolatey Central Management ###
#### If you want to manage and report on endpoints, you can set up and configure
### Central Management. There are multiple portions to manage, so you'll see
### a section on agents here along with notes on how to configure the server
### side components.
chocolatey_package 'chocolatey-agent' do
action install
source "#{NugetRepositoryUrl}"
# user "#{NugetRepositoryUsername}"
# password "#{NugetRepositoryPassword}"
only_if { ChocolateyCentralManagementUrl != nil }
end
chocolatey_config 'CentralManagementServiceUrl' do
value "#{ChocolateyCentralManagementUrl}"
only_if { ChocolateyCentralManagementUrl != nil }
end
chocolatey_config 'centralManagementClientCommunicationSaltAdditivePassword' do
value "#{ChocolateyCentralManagementClientSalt}"
only_if { ChocolateyCentralManagementClientSalt != nil }
end
chocolatey_config 'centralManagementServiceCommunicationSaltAdditivePassword' do
value "#{ChocolateyCentralManagementServiceSalt}"
only_if { ChocolateyCentralManagementServiceSalt != nil }
end
chocolatey_feature 'useChocolateyCentralManagement' do
action :enable
only_if { ChocolateyCentralManagementUrl != nil }
end
chocolatey_feature 'useChocolateyCentralManagementDeployments' do
action :enable
only_if { ChocolateyCentralManagementUrl != nil }
end
Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.
If Applicable - Chocolatey Configuration/Installation
#requires -Modules cChoco
## 1. REQUIREMENTS ##
### Here are the requirements necessary to ensure this is successful.
### a. Internal/Private Cloud Repository Set Up ###
#### You'll need an internal/private cloud repository you can use. These are
#### generally really quick to set up and there are quite a few options.
#### Chocolatey Software recommends Nexus, Artifactory Pro, or ProGet as they
#### are repository servers and will give you the ability to manage multiple
#### repositories and types from one server installation.
### b. Download Chocolatey Package and Put on Internal Repository ###
#### You need to have downloaded the Chocolatey package as well.
#### Please see https://chocolatey.org/install#organization
### c. Other Requirements ###
#### i. Requires chocolatey\cChoco DSC module to be installed on the machine compiling the DSC manifest
#### NOTE: This will need to be installed before running the DSC portion of this script
if (-not (Get-Module cChoco -ListAvailable)) {
$null = Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
if (($PSGallery = Get-PSRepository -Name PSGallery).InstallationPolicy -ne "Trusted") {
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
}
Install-Module -Name cChoco
if ($PSGallery.InstallationPolicy -ne "Trusted") {
Set-PSRepository -Name PSGallery -InstallationPolicy $PSGallery.InstallationPolicy
}
}
#### ii. Requires a hosted copy of the install.ps1 script
##### This should be available to download without authentication.
##### The original script can be found here: https://community.chocolatey.org/install.ps1
Configuration ChocolateyConfig {
## 2. TOP LEVEL VARIABLES ##
param(
### a. Your internal repository url (the main one). ###
#### Should be similar to what you see when you browse
#### to https://community.chocolatey.org/api/v2/
$NugetRepositoryUrl = "INTERNAL REPO URL",
### b. Chocolatey nupkg download url ###
#### This url should result in an immediate download when you navigate to it in
#### a web browser
$ChocolateyNupkgUrl = "INTERNAL REPO URL/package/chocolatey.1.1.0.nupkg",
### c. Internal Repository Credential ###
#### If required, add the repository access credential here
# $NugetRepositoryCredential = [PSCredential]::new(
# "username",
# ("password" | ConvertTo-SecureString -AsPlainText -Force)
# ),
### d. Install.ps1 URL
#### The path to the hosted install script:
$ChocolateyInstallPs1Url = "https://community.chocolatey.org/install.ps1"
### e. Chocolatey Central Management (CCM) ###
#### If using CCM to manage Chocolatey, add the following:
#### i. Endpoint URL for CCM
# $ChocolateyCentralManagementUrl = "https://chocolatey-central-management:24020/ChocolateyManagementService",
#### ii. If using a Client Salt, add it here
# $ChocolateyCentralManagementClientSalt = "clientsalt",
#### iii. If using a Service Salt, add it here
# $ChocolateyCentralManagementServiceSalt = "servicesalt"
)
Import-DscResource -ModuleName PSDesiredStateConfiguration
Import-DscResource -ModuleName cChoco
Node 'localhost' {
## 3. ENSURE CHOCOLATEY IS INSTALLED ##
### Ensure Chocolatey is installed from your internal repository
Environment chocoDownloadUrl {
Name = "chocolateyDownloadUrl"
Value = $ChocolateyNupkgUrl
}
cChocoInstaller installChocolatey {
DependsOn = "[Environment]chocoDownloadUrl"
InstallDir = Join-Path $env:ProgramData "chocolatey"
ChocoInstallScriptUrl = $ChocolateyInstallPs1Url
}
## 4. CONFIGURE CHOCOLATEY BASELINE ##
### a. FIPS Feature ###
#### If you need FIPS compliance - make this the first thing you configure
#### before you do any additional configuration or package installations
# cChocoFeature featureFipsCompliance {
# FeatureName = "useFipsCompliantChecksums"
# }
### b. Apply Recommended Configuration ###
#### Move cache location so Chocolatey is very deterministic about
#### cleaning up temporary data and the location is secured to admins
cChocoConfig cacheLocation {
DependsOn = "[cChocoInstaller]installChocolatey"
ConfigName = "cacheLocation"
Value = "C:\ProgramData\chocolatey\cache"
}
#### Increase timeout to at least 4 hours
cChocoConfig commandExecutionTimeoutSeconds {
DependsOn = "[cChocoInstaller]installChocolatey"
ConfigName = "commandExecutionTimeoutSeconds"
Value = 14400
}
#### Turn off download progress when running choco through integrations
cChocoFeature showDownloadProgress {
DependsOn = "[cChocoInstaller]installChocolatey"
FeatureName = "showDownloadProgress"
Ensure = "Absent"
}
### c. Sources ###
#### Remove the default community package repository source
cChocoSource removeCommunityRepository {
DependsOn = "[cChocoInstaller]installChocolatey"
Name = "chocolatey"
Ensure = "Absent"
}
#### Add internal default sources
#### You could have multiple sources here, so we will provide an example
#### of one using the remote repo variable here.
#### NOTE: This EXAMPLE may require changes
cChocoSource addInternalSource {
DependsOn = "[cChocoInstaller]installChocolatey"
Name = "ChocolateyInternal"
Source = $NugetRepositoryUrl
Credentials = $NugetRepositoryCredential
Priority = 1
}
### b. Keep Chocolatey Up To Date ###
#### Keep chocolatey up to date based on your internal source
#### You control the upgrades based on when you push an updated version
#### to your internal repository.
#### Note the source here is to the OData feed, similar to what you see
#### when you browse to https://community.chocolatey.org/api/v2/
cChocoPackageInstaller updateChocolatey {
DependsOn = "[cChocoSource]addInternalSource", "[cChocoSource]removeCommunityRepository"
Name = "chocolatey"
AutoUpgrade = $true
}
## 5. ENSURE CHOCOLATEY FOR BUSINESS ##
### If you don't have Chocolatey for Business (C4B), you'll want to remove from here down.
### a. Ensure The License File Is Installed ###
#### Create a license package using script from https://docs.chocolatey.org/en-us/how-tos/setup-offline-installation#exercise-4-create-a-package-for-the-license
cChocoPackageInstaller chocolateyLicense {
DependsOn = "[cChocoPackageInstaller]updateChocolatey"
Name = "chocolatey-license"
}
### b. Disable The Licensed Source ###
#### The licensed source cannot be removed, so it must be disabled.
#### This must occur after the license has been set by the license package.
Script disableLicensedSource {
DependsOn = "[cChocoPackageInstaller]chocolateyLicense"
GetScript = {
$Source = choco source list --limitoutput | `
ConvertFrom-Csv -Delimiter '|' -Header Name, Source, Disabled | `
Where-Object Name -eq "chocolatey.licensed"
return @{
Result = if ($Source) {
[bool]::Parse($Source.Disabled)
} else {
Write-Warning "Source 'chocolatey.licensed' was not present."
$true # Source does not need disabling
}
}
}
SetScript = {
$null = choco source disable --name "chocolatey.licensed"
}
TestScript = {
$State = [ScriptBlock]::Create($GetScript).Invoke()
return $State.Result
}
}
### c. Ensure Chocolatey Licensed Extension ###
#### You will have downloaded the licensed extension to your internal repository
#### as you have disabled the licensed repository in step 5b.
#### Ensure the chocolatey.extension package (aka Chocolatey Licensed Extension)
cChocoPackageInstaller chocolateyLicensedExtension {
DependsOn = "[Script]disableLicensedSource"
Name = "chocolatey.extension"
}
#### The Chocolatey Licensed Extension unlocks all of the following, which also have configuration/feature items available with them. You may want to visit the feature pages to see what you might want to also enable:
#### - Package Builder - https://docs.chocolatey.org/en-us/features/paid/package-builder
#### - Package Internalizer - https://docs.chocolatey.org/en-us/features/paid/package-internalizer
#### - Package Synchronization (3 components) - https://docs.chocolatey.org/en-us/features/paid/package-synchronization
#### - Package Reducer - https://docs.chocolatey.org/en-us/features/paid/package-reducer
#### - Package Audit - https://docs.chocolatey.org/en-us/features/paid/package-audit
#### - Package Throttle - https://docs.chocolatey.org/en-us/features/paid/package-throttle
#### - CDN Cache Access - https://docs.chocolatey.org/en-us/features/paid/private-cdn
#### - Branding - https://docs.chocolatey.org/en-us/features/paid/branding
#### - Self-Service Anywhere (more components will need to be installed and additional configuration will need to be set) - https://docs.chocolatey.org/en-us/features/paid/self-service-anywhere
#### - Chocolatey Central Management (more components will need to be installed and additional configuration will need to be set) - https://docs.chocolatey.org/en-us/features/paid/chocolatey-central-management
#### - Other - https://docs.chocolatey.org/en-us/features/paid/
### d. Ensure Self-Service Anywhere ###
#### If you have desktop clients where users are not administrators, you may
#### to take advantage of deploying and configuring Self-Service anywhere
cChocoFeature hideElevatedWarnings {
DependsOn = "[cChocoPackageInstaller]chocolateyLicensedExtension"
FeatureName = "showNonElevatedWarnings"
Ensure = "Absent"
}
cChocoFeature useBackgroundService {
DependsOn = "[cChocoPackageInstaller]chocolateyLicensedExtension"
FeatureName = "useBackgroundService"
Ensure = "Present"
}
cChocoFeature useBackgroundServiceWithNonAdmins {
DependsOn = "[cChocoPackageInstaller]chocolateyLicensedExtension"
FeatureName = "useBackgroundServiceWithNonAdministratorsOnly"
Ensure = "Present"
}
cChocoFeature useBackgroundServiceUninstallsForUserInstalls {
DependsOn = "[cChocoPackageInstaller]chocolateyLicensedExtension"
FeatureName = "allowBackgroundServiceUninstallsFromUserInstallsOnly"
Ensure = "Present"
}
cChocoConfig allowedBackgroundServiceCommands {
DependsOn = "[cChocoFeature]useBackgroundService"
ConfigName = "backgroundServiceAllowedCommands"
Value = "install,upgrade,uninstall"
}
### e. Ensure Chocolatey Central Management ###
#### If you want to manage and report on endpoints, you can set up and configure
### Central Management. There are multiple portions to manage, so you'll see
### a section on agents here along with notes on how to configure the server
### side components.
if ($ChocolateyCentralManagementUrl) {
cChocoPackageInstaller chocolateyAgent {
DependsOn = "[cChocoPackageInstaller]chocolateyLicensedExtension"
Name = "chocolatey-agent"
}
cChocoConfig centralManagementServiceUrl {
DependsOn = "[cChocoPackageInstaller]chocolateyAgent"
ConfigName = "CentralManagementServiceUrl"
Value = $ChocolateyCentralManagementUrl
}
if ($ChocolateyCentralManagementClientSalt) {
cChocoConfig centralManagementClientSalt {
DependsOn = "[cChocoPackageInstaller]chocolateyAgent"
ConfigName = "centralManagementClientCommunicationSaltAdditivePassword"
Value = $ChocolateyCentralManagementClientSalt
}
}
if ($ChocolateyCentralManagementServiceSalt) {
cChocoConfig centralManagementServiceSalt {
DependsOn = "[cChocoPackageInstaller]chocolateyAgent"
ConfigName = "centralManagementServiceCommunicationSaltAdditivePassword"
Value = $ChocolateyCentralManagementServiceSalt
}
}
cChocoFeature useCentralManagement {
DependsOn = "[cChocoPackageInstaller]chocolateyAgent"
FeatureName = "useChocolateyCentralManagement"
Ensure = "Present"
}
cChocoFeature useCentralManagementDeployments {
DependsOn = "[cChocoPackageInstaller]chocolateyAgent"
FeatureName = "useChocolateyCentralManagementDeployments"
Ensure = "Present"
}
}
}
}
# If working this into an existing configuration with a good method for
$ConfigData = @{
AllNodes = @(
@{
NodeName = "localhost"
PSDscAllowPlainTextPassword = $true
}
)
}
try {
Push-Location $env:Temp
$Config = ChocolateyConfig -ConfigurationData $ConfigData
Start-DscConfiguration -Path $Config.PSParentPath -Wait -Verbose -Force
} finally {
Pop-Location
}
Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.
If Applicable - Chocolatey Configuration/Installation
## 1. REQUIREMENTS ##
### Here are the requirements necessary to ensure this is successful.
### a. Internal/Private Cloud Repository Set Up ###
#### You'll need an internal/private cloud repository you can use. These are
#### generally really quick to set up and there are quite a few options.
#### Chocolatey Software recommends Nexus, Artifactory Pro, or ProGet as they
#### are repository servers and will give you the ability to manage multiple
#### repositories and types from one server installation.
### b. Download Chocolatey Package and Put on Internal Repository ###
#### You need to have downloaded the Chocolatey package as well.
#### Please see https://chocolatey.org/install#organization
### c. Other Requirements ###
#### i. Requires puppetlabs/chocolatey module
#### See https://forge.puppet.com/puppetlabs/chocolatey
## 2. TOP LEVEL VARIABLES ##
### a. Your internal repository url (the main one). ###
#### Should be similar to what you see when you browse
#### to https://community.chocolatey.org/api/v2/
$_repository_url = 'INTERNAL REPO URL'
### b. Chocolatey nupkg download url ###
#### This url should result in an immediate download when you navigate to it in
#### a web browser
$_choco_download_url = 'INTERNAL REPO URL/package/chocolatey.1.1.0.nupkg'
### c. Chocolatey Central Management (CCM) ###
#### If using CCM to manage Chocolatey, add the following:
#### i. Endpoint URL for CCM
# $_chocolatey_central_management_url = 'https://chocolatey-central-management:24020/ChocolateyManagementService'
#### ii. If using a Client Salt, add it here
# $_chocolatey_central_management_client_salt = "clientsalt"
#### iii. If using a Service Salt, add it here
# $_chocolatey_central_management_service_salt = 'servicesalt'
## 3. ENSURE CHOCOLATEY IS INSTALLED ##
### Ensure Chocolatey is installed from your internal repository
### Note: `chocolatey_download_url is completely different than normal
### source locations. This is directly to the bare download url for the
### chocolatey.nupkg, similar to what you see when you browse to
### https://community.chocolatey.org/api/v2/package/chocolatey
class {'chocolatey':
chocolatey_download_url => $_choco_download_url,
use_7zip => false,
}
## 4. CONFIGURE CHOCOLATEY BASELINE ##
### a. FIPS Feature ###
#### If you need FIPS compliance - make this the first thing you configure
#### before you do any additional configuration or package installations
#chocolateyfeature {'useFipsCompliantChecksums':
# ensure => enabled,
#}
### b. Apply Recommended Configuration ###
#### Move cache location so Chocolatey is very deterministic about
#### cleaning up temporary data and the location is secured to admins
chocolateyconfig {'cacheLocation':
value => 'C:\ProgramData\chocolatey\cache',
}
#### Increase timeout to at least 4 hours
chocolateyconfig {'commandExecutionTimeoutSeconds':
value => '14400',
}
#### Turn off download progress when running choco through integrations
chocolateyfeature {'showDownloadProgress':
ensure => disabled,
}
### c. Sources ###
#### Remove the default community package repository source
chocolateysource {'chocolatey':
ensure => absent,
location => 'https://community.chocolatey.org/api/v2/',
}
#### Add internal default sources
#### You could have multiple sources here, so we will provide an example
#### of one using the remote repo variable here
#### NOTE: This EXAMPLE requires changes
chocolateysource {'internal_chocolatey':
ensure => present,
location => $_repository_url,
priority => 1,
username => 'optional',
password => 'optional,not ensured',
bypass_proxy => true,
admin_only => false,
allow_self_service => false,
}
### b. Keep Chocolatey Up To Date ###
#### Keep chocolatey up to date based on your internal source
#### You control the upgrades based on when you push an updated version
#### to your internal repository.
#### Note the source here is to the OData feed, similar to what you see
#### when you browse to https://community.chocolatey.org/api/v2/
package {'chocolatey':
ensure => latest,
provider => chocolatey,
source => $_repository_url,
}
## 5. ENSURE CHOCOLATEY FOR BUSINESS ##
### If you don't have Chocolatey for Business (C4B), you'll want to remove from here down.
### a. Ensure The License File Is Installed ###
#### Create a license package using script from https://docs.chocolatey.org/en-us/guides/organizations/organizational-deployment-guide#exercise-4-create-a-package-for-the-license
# TODO: Add resource for installing/ensuring the chocolatey-license package
package {'chocolatey-license':
ensure => latest,
provider => chocolatey,
source => $_repository_url,
}
### b. Disable The Licensed Source ###
#### The licensed source cannot be removed, so it must be disabled.
#### This must occur after the license has been set by the license package.
## Disabled sources still need all other attributes until
## https://tickets.puppetlabs.com/browse/MODULES-4449 is resolved.
## Password is necessary with user, but not ensurable, so it should not
## matter what it is set to here. If you ever do get into trouble here,
## the password is your license GUID.
chocolateysource {'chocolatey.licensed':
ensure => disabled,
priority => '10',
user => 'customer',
password => '1234',
require => Package['chocolatey-license'],
}
### c. Ensure Chocolatey Licensed Extension ###
#### You will have downloaded the licensed extension to your internal repository
#### as you have disabled the licensed repository in step 5b.
#### Ensure the chocolatey.extension package (aka Chocolatey Licensed Extension)
package {'chocolatey.extension':
ensure => latest,
provider => chocolatey,
source => $_repository_url,
require => Package['chocolatey-license'],
}
#### The Chocolatey Licensed Extension unlocks all of the following, which also have configuration/feature items available with them. You may want to visit the feature pages to see what you might want to also enable:
#### - Package Builder - https://docs.chocolatey.org/en-us/features/paid/package-builder
#### - Package Internalizer - https://docs.chocolatey.org/en-us/features/paid/package-internalizer
#### - Package Synchronization (3 components) - https://docs.chocolatey.org/en-us/features/paid/package-synchronization
#### - Package Reducer - https://docs.chocolatey.org/en-us/features/paid/package-reducer
#### - Package Audit - https://docs.chocolatey.org/en-us/features/paid/package-audit
#### - Package Throttle - https://docs.chocolatey.org/en-us/features/paid/package-throttle
#### - CDN Cache Access - https://docs.chocolatey.org/en-us/features/paid/private-cdn
#### - Branding - https://docs.chocolatey.org/en-us/features/paid/branding
#### - Self-Service Anywhere (more components will need to be installed and additional configuration will need to be set) - https://docs.chocolatey.org/en-us/features/paid/self-service-anywhere
#### - Chocolatey Central Management (more components will need to be installed and additional configuration will need to be set) - https://docs.chocolatey.org/en-us/features/paid/chocolatey-central-management
#### - Other - https://docs.chocolatey.org/en-us/features/paid/
### d. Ensure Self-Service Anywhere ###
#### If you have desktop clients where users are not administrators, you may
#### to take advantage of deploying and configuring Self-Service anywhere
chocolateyfeature {'showNonElevatedWarnings':
ensure => disabled,
}
chocolateyfeature {'useBackgroundService':
ensure => enabled,
}
chocolateyfeature {'useBackgroundServiceWithNonAdministratorsOnly':
ensure => enabled,
}
chocolateyfeature {'allowBackgroundServiceUninstallsFromUserInstallsOnly':
ensure => enabled,
}
chocolateyconfig {'backgroundServiceAllowedCommands':
value => 'install,upgrade,uninstall',
}
### e. Ensure Chocolatey Central Management ###
#### If you want to manage and report on endpoints, you can set up and configure
### Central Management. There are multiple portions to manage, so you'll see
### a section on agents here along with notes on how to configure the server
### side components.
if $_chocolatey_central_management_url {
package {'chocolatey-agent':
ensure => latest,
provider => chocolatey,
source => $_repository_url,
require => Package['chocolatey-license'],
}
chocolateyconfig {'CentralManagementServiceUrl':
value => $_chocolatey_central_management_url,
}
if $_chocolatey_central_management_client_salt {
chocolateyconfig {'centralManagementClientCommunicationSaltAdditivePassword':
value => $_chocolatey_central_management_client_salt,
}
}
if $_chocolatey_central_management_service_salt {
chocolateyconfig {'centralManagementClientCommunicationSaltAdditivePassword':
value => $_chocolatey_central_management_client_salt,
}
}
chocolateyfeature {'useChocolateyCentralManagement':
ensure => enabled,
require => Package['chocolatey-agent'],
}
chocolateyfeature {'useChocolateyCentralManagementDeployments':
ensure => enabled,
require => Package['chocolatey-agent'],
}
}
Need Help? View our docs or file an issue.
There is already a version of this package in your Script Builder
Current Version | New Version |
---|---|
- Passing
- Failing
- Pending
- Unknown / Exempted
Downloads:
1,623,670
Downloads of v 7.1.19:
4,559
Last Update:
21 Jun 2018
Package Maintainer(s):
Software Author(s):
- PHP Authors
Tags:
php development programming foss cross-platform admin- Software Specific:
- Software Site
- Software Source
- Software License
- Software Docs
- Software Issues
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
PHP (Hypertext Preprocessor)
This is not the latest version of PHP (Hypertext Preprocessor) available.
- 1
- 2
- 3
7.1.19 | Updated: 21 Jun 2018
- Software Specific:
- Software Site
- Software Source
- Software License
- Software Docs
- Software Issues
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Downloads:
1,623,670
Downloads of v 7.1.19:
4,559
Maintainer(s):
Software Author(s):
- PHP Authors
Edit Package
To edit the metadata for a package, please upload an updated version of the package.
Chocolatey's Community Package Repository currently does not allow updating package metadata on the website. This helps ensure that the package itself (and the source used to build the package) remains the one true source of package metadata.
This does require that you increment the package version.
- 1
- 2
- 3
PHP (Hypertext Preprocessor)
7.1.19
This is not the latest version of PHP (Hypertext Preprocessor) available.
- 1
- 2
- 3
Some Checks Have Failed or Are Not Yet Complete
Not All Tests Have Passed
Deployment Method: Individual Install, Upgrade, & Uninstall
To install PHP (Hypertext Preprocessor), run the following command from the command line or from PowerShell:
To upgrade PHP (Hypertext Preprocessor), run the following command from the command line or from PowerShell:
To uninstall PHP (Hypertext Preprocessor), run the following command from the command line or from PowerShell:
Deployment Method:
📝 NOTE: This applies to both open source and commercial editions of Chocolatey.
1. Enter Your Internal Repository Url
(this should look similar to https://community.chocolatey.org/api/v2/)
2. Setup Your Environment
1. Ensure you are set for organizational deployment
Please see the organizational deployment guide
2. Get the package into your environment
Option 1: Cached Package (Unreliable, Requires Internet - Same As Community)-
Open Source or Commercial:
- Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
- You can also just download the package and push it to a repository Download
-
Open Source
-
Download the package:
Download - Follow manual internalization instructions
-
-
Package Internalizer (C4B)
-
Run: (additional options)
choco download php --internalize --version=7.1.19 --source=https://community.chocolatey.org/api/v2/
-
For package and dependencies run:
choco push --source="'INTERNAL REPO URL'"
- Automate package internalization
-
Run: (additional options)
3. Copy Your Script
choco upgrade php -y --source="'INTERNAL REPO URL'" --version="'7.1.19'" [other options]
See options you can pass to upgrade.
See best practices for scripting.
Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.
If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:
choco upgrade php -y --source="'INTERNAL REPO URL'" --version="'7.1.19'"
$exitCode = $LASTEXITCODE
Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
Exit 0
}
Exit $exitCode
- name: Install php
win_chocolatey:
name: php
version: '7.1.19'
source: INTERNAL REPO URL
state: present
See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.
chocolatey_package 'php' do
action :install
source 'INTERNAL REPO URL'
version '7.1.19'
end
See docs at https://docs.chef.io/resource_chocolatey_package.html.
cChocoPackageInstaller php
{
Name = "php"
Version = "7.1.19"
Source = "INTERNAL REPO URL"
}
Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.
package { 'php':
ensure => '7.1.19',
provider => 'chocolatey',
source => 'INTERNAL REPO URL',
}
Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.
4. If applicable - Chocolatey configuration/installation
See infrastructure management matrix for Chocolatey configuration elements and examples.
This package was approved as a trusted package on 21 Jun 2018.
PHP is an HTML-embedded scripting language. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The goal of the language is to allow web developers to write dynamically generated pages quickly.
Package Parameters
/DontAddToPath
- Do not add install directory to path/InstallDir
- Override the installation directory (needs to be specified both during install and update, until it is remembered by choco)/ThreadSafe
- Install the thread safe version of php that is compatible with Apache.
These parameters can be passed to the installer with the use of --params.
For example: --params '"/ThreadSafe ""/InstallDir:C:\PHP"""'
.
$ErrorActionPreference = 'Stop'
$toolsPath = Split-Path $MyInvocation.MyCommand.Definition
. $toolsPath\helpers.ps1
$installLocation = GetInstallLocation "$toolsPath\.."
if ($installLocation) {
Write-Host "Uninstalling previous version of php..."
UninstallPackage -libDirectory "$toolsPath\.." -packageName 'php'
Uninstall-ChocolateyPath $installLocation
}
$pp = Get-PackageParameters
$downloadInfo = GetDownloadInfo -downloadInfoFile "$toolsPath\downloadInfo.csv" -parameters $pp
if (!(UrlExists($downloadInfo.URL32))) {
Write-Host "Using archive urls"
$downloadInfo.URL32 = AddArchivePathToUrl($downloadInfo.URL32)
$downloadInfo.URL64 = AddArchivePathToUrl($downloadInfo.URL64) # Assuming the 64 bit version is archived simultaneously as the 32 bit one
}
$packageArgs = @{
packageName = 'php'
url = $downloadInfo.URL32
url64Bit = $downloadInfo.URL64
checksum = $downloadInfo.Checksum32
checksum64 = $downloadInfo.Checksum64
checksumType = 'sha256'
checksumType64 = 'sha256'
}
$newInstallLocation = $packageArgs.unzipLocation = GetNewInstallLocation $packageArgs.packageName $env:ChocolateyPackageVersion $pp
Install-ChocolateyZipPackage @packageArgs
if (!$pp.DontAddToPath) { Install-ChocolateyPath $newInstallLocation 'Machine' }
$php_ini_path = $newInstallLocation + '/php.ini'
if (($installLocation -ne $newInstallLocation) -and (Test-Path "$installLocation\php.ini")) {
Write-Host "Moving old configuration file."
Move-Item "$installLocation\php.ini" "$php_ini_path"
$di = Get-ChildItem $installLocation -ea 0 | Measure-Object
if ($di.Count -eq 0) {
Write-Host "Removing old install location."
Remove-Item -Force -ea 0 $installLocation
}
}
if (!(Test-Path $php_ini_path)) {
Write-Host 'Creating default php.ini'
Copy-Item $newInstallLocation/php.ini-production $php_ini_path
Write-Host 'Configuring PHP extensions directory'
(Get-Content $php_ini_path) -replace '; extension_dir = "ext"', 'extension_dir = "ext"' | Set-Content $php_ini_path
}
if (!$pp.ThreadSafe) { Write-Host 'Please make sure you have CGI installed in IIS for local hosting' }
$toolsPath = Split-Path $MyInvocation.MyCommand.Definition
. $toolsPath\helpers.ps1
$packageName = 'php'
$installLocation = GetInstallLocation -libDirectory "$toolsPath\.."
if ($installLocation) {
UninstallPackage -libDirectory "$toolsPath\.." -packageName $packageName
$di = Get-ChildItem $installLocation -ea 0 | Measure-Object
if ($di.Count -eq 0) {
Remove-Item -Force -ea 0 $installLocation
}
Uninstall-ChocolateyPath $installLocation
} else {
Write-Warning "$packageName install path was not found. It may already be uninstalled!"
}
threadsafe|http://windows.php.net/downloads/releases/php-7.1.19-Win32-VC14-x86.zip|http://windows.php.net/downloads/releases/php-7.1.19-Win32-VC14-x64.zip|b152ce606260cc9401616c86e3fbf11cef1d4641c9835eab3b81758cd003ad69|5e05fb967f2d77a71d56b61c974383b4a18a856956864c9d07b38dfeaa3bb217
not-threadsafe|http://windows.php.net/downloads/releases/php-7.1.19-nts-Win32-VC14-x86.zip|http://windows.php.net/downloads/releases/php-7.1.19-nts-Win32-VC14-x64.zip|7298e09d4fc14dde79c5a9ad86d95ff4232b937f6a465d6edebe91c0739773de|7a41f013bfe5d4711a9588924be052b41898898cccc7cb0d17bb0e620703bd14
function UrlExists($uri) {
try {
Get-WebHeaders $uri | Out-Null
}
catch {
if ($_ -match "unauthorized") { return $false }
throw $_
}
return $true;
}
function AddArchivePathToUrl($url) {
$newUrl = $url
$lix = $url.LastIndexOf("/")
if ($lix -ne -1) {
$newUrl = $url.SubString(0, $lix) + "/archives" + $url.SubString($lix)
}
return $newUrl
}
function GetDownloadInfo {
param(
[string]$downloadInfoFile,
$parameters
)
Write-Debug "Reading CSV file from $downloadInfoFile"
$downloadInfo = Get-Content -Encoding UTF8 -Path $downloadInfoFile | ConvertFrom-Csv -Delimiter '|' -Header 'Type','URL32','URL64','Checksum32','Checksum64'
if ($parameters.ThreadSafe) {
$downloadInfo | Where-Object { $_.Type -eq 'threadsafe' } | Select-Object -first 1
} else {
$downloadInfo | Where-Object { $_.Type -eq 'not-threadsafe' } | Select-Object -first 1
}
}
function GetInstallLocation {
param(
[string]$libDirectory
)
Write-Debug "Checking for uninstall text document in $libDirectory"
if (Test-Path "$libDirectory\*.txt") {
$txtContent = Get-Content -Encoding UTF8 "$libDirectory\*.txt" | Select-Object -first 1
$index = $txtContent.LastIndexOf('\')
if ($index -gt 0) {
return $txtContent.Substring(0, $index)
}
}
# If we got here, the text file doesn't exist or is empty
# we don't return anything as it may be already uninstalled
}
function GetNewInstallLocation {
param(
[string]$PackageName,
[string]$Version,
$pp
)
if ($pp -and $pp.InstallDir) {
return $pp.InstallDir
}
$toolsLocation = Get-ToolsLocation
return "$toolsLocation\{0}{1}" -f $PackageName, ($Version -replace '\.').Substring(0,2)
}
function UninstallPackage {
param(
[string]$libDirectory,
[string]$packageName
)
if (Test-Path "$libDirectory\*.txt") {
$txtFile = Resolve-Path "$libDirectory\*.txt" | Select-Object -first 1
$fileName = ($txtFile -split '\\' | Select-Object -last 1).TrimEnd('.txt')
Uninstall-ChocolateyZipPackage -PackageName $packageName -ZipFileName $fileName
if (Test-Path $txtFile) {
Remove-Item -Force -ea 0 $txtFile
}
}
}
if (!(Test-Path function:\Uninstall-ChocolateyPath)) {
function Uninstall-ChocolateyPath {
param(
[string]$pathToRemove,
[System.EnvironmentVariableTarget] $pathType = [System.EnvironmentVariableTarget]::User
)
Write-Debug "Running 'Uninstall-ChocolateyPath' with pathToRemove: `'$pathToRemove`'"
# get the PATH variable
Update-SessionEnvironment
$envPath = $env:PATH
if ($envPath.ToLower().Contains($pathToRemove.ToLower())) {
Write-Host "The PATH environment variable already contains the directory '$pathToRemove'. Removing..."
$actualPath = Get-EnvironmentVariable -Name 'Path' -Scope $pathType -PreserveVariables
$newPath = $actualPath -replace [regex]::Escape($pathToRemove + ';'),'' -replace ';;',';'
if (($pathType -eq [System.EnvironmentVariableTarget]::Machine) -and !(Test-ProcessAdminRights)) {
Write-Warning "Removing path from machine environment variable is not supported when not running as an elevated user!"
} else {
Set-EnvironmentVariable -Name 'Path' -Value $newPath -Scope $pathType
}
$env:PATH = $newPath
}
}
}
Log in or click on link to see number of positives.
- php.7.1.19.nupkg (16acba129638) - ## / 61
In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).
Chocolatey Pro provides runtime protection from possible malware.
Add to Builder | Version | Downloads | Last Updated | Status |
---|---|---|---|---|
PHP (Hypertext Preprocessor) 8.1.7 | 8734 | Wednesday, June 8, 2022 | Approved | |
PHP (Hypertext Preprocessor) 8.1.6 | 9247 | Wednesday, May 11, 2022 | Approved | |
PHP (Hypertext Preprocessor) 8.1.5 | 9782 | Wednesday, April 13, 2022 | Approved | |
PHP (Hypertext Preprocessor) 8.1.4 | 9458 | Wednesday, March 16, 2022 | Approved | |
PHP (Hypertext Preprocessor) 8.1.3 | 9645 | Wednesday, February 16, 2022 | Approved | |
PHP (Hypertext Preprocessor) 8.1.2 | 10419 | Wednesday, January 19, 2022 | Approved | |
PHP (Hypertext Preprocessor) 8.1.1 | 12073 | Wednesday, December 15, 2021 | Approved | |
PHP (Hypertext Preprocessor) 8.0.20 | 998 | Wednesday, June 8, 2022 | Approved | |
PHP (Hypertext Preprocessor) 8.0.19 | 1016 | Tuesday, May 10, 2022 | Approved | |
PHP (Hypertext Preprocessor) 8.0.18 | 692 | Wednesday, April 13, 2022 | Approved | |
PHP (Hypertext Preprocessor) 8.0.17 | 462 | Tuesday, March 15, 2022 | Approved | |
PHP (Hypertext Preprocessor) 8.0.16 | 124 | Wednesday, February 16, 2022 | Approved | |
PHP (Hypertext Preprocessor) 8.0.15 | 156 | Tuesday, January 18, 2022 | Approved | |
PHP (Hypertext Preprocessor) 8.0.14 | 273 | Thursday, December 16, 2021 | Approved | |
PHP (Hypertext Preprocessor) 8.0.10 | 25516 | Wednesday, August 25, 2021 | Approved | |
PHP (Hypertext Preprocessor) 8.0.9 | 7502 | Thursday, July 29, 2021 | Approved | |
PHP (Hypertext Preprocessor) 8.0.8 | 7808 | Wednesday, June 30, 2021 | Approved | |
PHP (Hypertext Preprocessor) 8.0.7 | 7228 | Wednesday, June 2, 2021 | Approved | |
PHP (Hypertext Preprocessor) 8.0.6 | 6685 | Wednesday, May 5, 2021 | Approved | |
PHP (Hypertext Preprocessor) 8.0.5 | 68 | Wednesday, April 28, 2021 | Approved | |
PHP (Hypertext Preprocessor) 8.0.3 | 14258 | Wednesday, March 3, 2021 | Approved | |
PHP (Hypertext Preprocessor) 8.0.2 | 1122 | Thursday, February 4, 2021 | Approved | |
PHP (Hypertext Preprocessor) 8.0.1 | 16712 | Wednesday, January 6, 2021 | Approved | |
PHP (Hypertext Preprocessor) 8.0.0.20201221 | 4651 | Monday, December 21, 2020 | Approved | |
PHP (Hypertext Preprocessor) 8.0.0 | 7841 | Friday, November 27, 2020 | Approved | |
PHP (Hypertext Preprocessor) 7.4.30 | 79 | Wednesday, June 8, 2022 | Approved | |
PHP (Hypertext Preprocessor) 7.4.29 | 585 | Thursday, April 14, 2022 | Approved | |
PHP (Hypertext Preprocessor) 7.4.28 | 1848 | Thursday, February 24, 2022 | Approved | |
PHP (Hypertext Preprocessor) 7.4.27 | 4269 | Wednesday, December 15, 2021 | Approved | |
PHP (Hypertext Preprocessor) 7.4.23 | 979 | Wednesday, August 25, 2021 | Approved | |
PHP (Hypertext Preprocessor) 7.4.22 | 1145 | Wednesday, July 28, 2021 | Approved | |
PHP (Hypertext Preprocessor) 7.4.21 | 977 | Wednesday, June 30, 2021 | Approved | |
PHP (Hypertext Preprocessor) 7.4.20 | 973 | Wednesday, June 2, 2021 | Approved | |
PHP (Hypertext Preprocessor) 7.4.19 | 2231 | Tuesday, May 4, 2021 | Approved | |
PHP (Hypertext Preprocessor) 7.4.18 | 445 | Wednesday, April 28, 2021 | Approved | |
PHP (Hypertext Preprocessor) 7.4.16 | 2783 | Tuesday, March 2, 2021 | Approved | |
PHP (Hypertext Preprocessor) 7.4.14 | 2767 | Tuesday, January 5, 2021 | Approved | |
PHP (Hypertext Preprocessor) 7.4.13 | 6699 | Tuesday, November 24, 2020 | Approved | |
PHP (Hypertext Preprocessor) 7.4.11 | 17862 | Tuesday, September 29, 2020 | Approved | |
PHP (Hypertext Preprocessor) 7.4.9 | 16027 | Wednesday, August 5, 2020 | Approved | |
PHP (Hypertext Preprocessor) 7.4.7 | 15379 | Wednesday, June 10, 2020 | Approved | |
PHP (Hypertext Preprocessor) 7.4.6 | 5832 | Thursday, May 28, 2020 | Approved | |
PHP (Hypertext Preprocessor) 7.4.5 | 15181 | Wednesday, April 15, 2020 | Approved | |
PHP (Hypertext Preprocessor) 7.4.3 | 17191 | Friday, February 21, 2020 | Approved | |
PHP (Hypertext Preprocessor) 7.4.2 | 8505 | Wednesday, January 22, 2020 | Approved | |
PHP (Hypertext Preprocessor) 7.4.1 | 9168 | Tuesday, December 24, 2019 | Approved | |
PHP (Hypertext Preprocessor) 7.4.0 | 10393 | Wednesday, November 27, 2019 | Approved | |
PHP (Hypertext Preprocessor) 7.3.30 | 4669 | Wednesday, August 25, 2021 | Approved | |
PHP (Hypertext Preprocessor) 7.3.29 | 1674 | Wednesday, June 30, 2021 | Approved | |
PHP (Hypertext Preprocessor) 7.3.28 | 3245 | Wednesday, April 28, 2021 | Approved | |
PHP (Hypertext Preprocessor) 7.3.26 | 3200 | Tuesday, January 5, 2021 | Approved | |
PHP (Hypertext Preprocessor) 7.3.25 | 3437 | Tuesday, November 24, 2020 | Approved | |
PHP (Hypertext Preprocessor) 7.3.24 | 868 | Tuesday, October 27, 2020 | Approved | |
PHP (Hypertext Preprocessor) 7.3.23 | 1901 | Tuesday, September 29, 2020 | Approved | |
PHP (Hypertext Preprocessor) 7.3.22 | 1196 | Tuesday, September 1, 2020 | Approved | |
PHP (Hypertext Preprocessor) 7.3.21 | 1303 | Wednesday, August 5, 2020 | Approved | |
PHP (Hypertext Preprocessor) 7.3.20 | 945 | Tuesday, July 7, 2020 | Approved | |
PHP (Hypertext Preprocessor) 7.3.19 | 1202 | Wednesday, June 10, 2020 | Approved | |
PHP (Hypertext Preprocessor) 7.3.18 | 1078 | Tuesday, May 12, 2020 | Approved | |
PHP (Hypertext Preprocessor) 7.3.17 | 1059 | Wednesday, April 15, 2020 | Approved | |
PHP (Hypertext Preprocessor) 7.3.15 | 3185 | Tuesday, February 18, 2020 | Approved | |
PHP (Hypertext Preprocessor) 7.3.14 | 1806 | Tuesday, January 21, 2020 | Approved | |
PHP (Hypertext Preprocessor) 7.3.13 | 2632 | Wednesday, December 18, 2019 | Approved | |
PHP (Hypertext Preprocessor) 7.3.12 | 12547 | Wednesday, November 20, 2019 | Approved | |
PHP (Hypertext Preprocessor) 7.3.11 | 9765 | Tuesday, October 22, 2019 | Approved | |
PHP (Hypertext Preprocessor) 7.3.10 | 12000 | Wednesday, September 25, 2019 | Approved | |
PHP (Hypertext Preprocessor) 7.3.9 | 10749 | Wednesday, August 28, 2019 | Approved | |
PHP (Hypertext Preprocessor) 7.3.8 | 7900 | Tuesday, August 6, 2019 | Approved | |
PHP (Hypertext Preprocessor) 7.3.7 | 14957 | Wednesday, July 3, 2019 | Approved | |
PHP (Hypertext Preprocessor) 7.3.6 | 13134 | Wednesday, May 29, 2019 | Approved | |
PHP (Hypertext Preprocessor) 7.3.5 | 9699 | Wednesday, May 1, 2019 | Approved | |
PHP (Hypertext Preprocessor) 7.3.4 | 8369 | Wednesday, April 3, 2019 | Approved | |
PHP (Hypertext Preprocessor) 7.3.3 | 7066 | Thursday, March 14, 2019 | Approved | |
PHP (Hypertext Preprocessor) 7.3.1 | 60325 | Thursday, January 10, 2019 | Approved | |
PHP (Hypertext Preprocessor) 7.3.0 | 32807 | Thursday, December 6, 2018 | Approved | |
PHP (Hypertext Preprocessor) 7.2.34 | 21783 | Thursday, October 1, 2020 | Approved | |
PHP (Hypertext Preprocessor) 7.2.33 | 2336 | Wednesday, August 5, 2020 | Approved | |
PHP (Hypertext Preprocessor) 7.2.32 | 962 | Wednesday, July 8, 2020 | Approved | |
PHP (Hypertext Preprocessor) 7.2.31 | 2238 | Tuesday, May 12, 2020 | Approved | |
PHP (Hypertext Preprocessor) 7.2.30 | 1259 | Wednesday, April 15, 2020 | Approved | |
PHP (Hypertext Preprocessor) 7.2.29 | 1617 | Tuesday, March 17, 2020 | Approved | |
PHP (Hypertext Preprocessor) 7.2.28 | 1622 | Tuesday, February 18, 2020 | Approved | |
PHP (Hypertext Preprocessor) 7.2.27 | 1586 | Thursday, January 23, 2020 | Approved | |
PHP (Hypertext Preprocessor) 7.2.26 | 4464 | Thursday, December 19, 2019 | Approved | |
PHP (Hypertext Preprocessor) 7.2.25 | 1857 | Thursday, November 21, 2019 | Approved | |
PHP (Hypertext Preprocessor) 7.2.24 | 1476 | Tuesday, October 22, 2019 | Approved | |
PHP (Hypertext Preprocessor) 7.2.23 | 4052 | Friday, September 27, 2019 | Approved | |
PHP (Hypertext Preprocessor) 7.2.22 | 1831 | Wednesday, August 28, 2019 | Approved | |
PHP (Hypertext Preprocessor) 7.2.20 | 4331 | Friday, July 5, 2019 | Approved | |
PHP (Hypertext Preprocessor) 7.2.19 | 4766 | Wednesday, May 29, 2019 | Approved | |
PHP (Hypertext Preprocessor) 7.2.18 | 110872 | Wednesday, May 1, 2019 | Approved | |
PHP (Hypertext Preprocessor) 7.2.17 | 3156 | Wednesday, April 3, 2019 | Approved | |
PHP (Hypertext Preprocessor) 7.2.15 | 6958 | Friday, February 8, 2019 | Approved | |
PHP (Hypertext Preprocessor) 7.2.14 | 2448 | Thursday, January 10, 2019 | Approved | |
PHP (Hypertext Preprocessor) 7.2.13 | 5914 | Thursday, December 6, 2018 | Approved | |
PHP (Hypertext Preprocessor) 7.2.12 | 28297 | Thursday, November 8, 2018 | Approved | |
PHP (Hypertext Preprocessor) 7.2.10 | 46070 | Thursday, September 13, 2018 | Approved | |
PHP (Hypertext Preprocessor) 7.2.9 | 23350 | Thursday, August 16, 2018 | Approved | |
PHP (Hypertext Preprocessor) 7.2.8 | 21114 | Wednesday, July 18, 2018 | Approved | |
PHP (Hypertext Preprocessor) 7.2.7 | 21820 | Wednesday, June 20, 2018 | Approved | |
PHP (Hypertext Preprocessor) 7.2.5 | 60764 | Thursday, April 26, 2018 | Approved | |
PHP (Hypertext Preprocessor) 7.2.4 | 4979 | Thursday, March 29, 2018 | Approved | |
PHP (Hypertext Preprocessor) 7.2.3 | 11721 | Thursday, March 1, 2018 | Approved | |
PHP (Hypertext Preprocessor) 7.2.2 | 6598 | Thursday, February 1, 2018 | Approved | |
PHP (Hypertext Preprocessor) 7.2.1 | 7020 | Saturday, January 6, 2018 | Approved | |
PHP (Hypertext Preprocessor) 7.2.0 | 26305 | Friday, December 1, 2017 | Approved | |
PHP (Hypertext Preprocessor) 7.1.33 | 12698 | Wednesday, October 23, 2019 | Approved | |
PHP (Hypertext Preprocessor) 7.1.32 | 2632 | Wednesday, August 28, 2019 | Approved | |
PHP (Hypertext Preprocessor) 7.1.31 | 930 | Wednesday, July 31, 2019 | Approved | |
PHP (Hypertext Preprocessor) 7.1.30 | 2889 | Tuesday, May 28, 2019 | Approved | |
PHP (Hypertext Preprocessor) 7.1.29 | 3668 | Wednesday, May 1, 2019 | Approved | |
PHP (Hypertext Preprocessor) 7.1.28 | 2500 | Wednesday, April 3, 2019 | Approved | |
PHP (Hypertext Preprocessor) 7.1.27 | 3162 | Thursday, March 7, 2019 | Approved | |
PHP (Hypertext Preprocessor) 7.1.26 | 3839 | Thursday, January 10, 2019 | Approved | |
PHP (Hypertext Preprocessor) 7.1.25 | 2968 | Thursday, December 6, 2018 | Approved | |
PHP (Hypertext Preprocessor) 7.1.24 | 2598 | Thursday, November 8, 2018 | Approved | |
PHP (Hypertext Preprocessor) 7.1.22 | 2209 | Thursday, September 13, 2018 | Approved | |
PHP (Hypertext Preprocessor) 7.1.21 | 3393 | Thursday, August 16, 2018 | Approved | |
PHP (Hypertext Preprocessor) 7.1.20 | 3986 | Thursday, July 19, 2018 | Approved | |
PHP (Hypertext Preprocessor) 7.1.19 | 4559 | Thursday, June 21, 2018 | Approved | |
PHP (Hypertext Preprocessor) 7.1.18 | 3624 | Friday, May 25, 2018 | Approved | |
PHP (Hypertext Preprocessor) 7.1.17 | 2938 | Thursday, April 26, 2018 | Approved | |
PHP (Hypertext Preprocessor) 7.1.16 | 3578 | Thursday, March 29, 2018 | Approved | |
PHP (Hypertext Preprocessor) 7.1.15 | 5118 | Thursday, March 1, 2018 | Approved | |
PHP (Hypertext Preprocessor) 7.1.14 | 5049 | Thursday, February 1, 2018 | Approved | |
PHP (Hypertext Preprocessor) 7.1.13 | 2368 | Saturday, January 6, 2018 | Approved | |
PHP (Hypertext Preprocessor) 7.1.12 | 9762 | Thursday, November 23, 2017 | Approved | |
PHP (Hypertext Preprocessor) 7.1.11 | 9262 | Wednesday, October 25, 2017 | Approved | |
PHP (Hypertext Preprocessor) 7.1.10 | 8994 | Wednesday, September 27, 2017 | Approved | |
PHP (Hypertext Preprocessor) 7.1.8 | 19692 | Wednesday, August 2, 2017 | Approved | |
PHP (Hypertext Preprocessor) 7.1.7 | 14061 | Thursday, July 6, 2017 | Approved | |
PHP (Hypertext Preprocessor) 7.1.6 | 18912 | Thursday, June 8, 2017 | Approved | |
PHP (Hypertext Preprocessor) 7.1.5 | 16961 | Wednesday, May 10, 2017 | Approved | |
PHP (Hypertext Preprocessor) 7.1.4 | 17533 | Wednesday, April 12, 2017 | Approved | |
PHP (Hypertext Preprocessor) 7.1.3 | 19542 | Thursday, March 16, 2017 | Approved | |
PHP (Hypertext Preprocessor) 7.1.2 | 31180 | Wednesday, February 15, 2017 | Approved | |
PHP (Hypertext Preprocessor) 7.1.1.20170212 | 2015 | Sunday, February 12, 2017 | Approved | |
PHP (Hypertext Preprocessor) 7.1.1 | 5910 | Thursday, January 19, 2017 | Approved | |
PHP (Hypertext Preprocessor) 7.1.0 | 8323 | Friday, December 2, 2016 | Approved | |
PHP (Hypertext Preprocessor) 7.0.33 | 16976 | Friday, December 7, 2018 | Approved | |
PHP (Hypertext Preprocessor) 7.0.32 | 5713 | Thursday, September 13, 2018 | Approved | |
PHP (Hypertext Preprocessor) 7.0.31 | 6666 | Friday, July 20, 2018 | Approved | |
PHP (Hypertext Preprocessor) 7.0.30 | 9577 | Thursday, April 26, 2018 | Approved | |
PHP (Hypertext Preprocessor) 7.0.28 | 2442 | Thursday, March 1, 2018 | Approved | |
PHP (Hypertext Preprocessor) 7.0.27 | 4610 | Saturday, January 6, 2018 | Approved | |
PHP (Hypertext Preprocessor) 7.0.26 | 3187 | Thursday, November 23, 2017 | Approved | |
PHP (Hypertext Preprocessor) 7.0.25 | 1910 | Wednesday, October 25, 2017 | Approved | |
PHP (Hypertext Preprocessor) 7.0.24 | 1954 | Tuesday, September 26, 2017 | Approved | |
PHP (Hypertext Preprocessor) 7.0.23 | 2301 | Tuesday, August 29, 2017 | Approved | |
PHP (Hypertext Preprocessor) 7.0.22 | 3218 | Wednesday, August 2, 2017 | Approved | |
PHP (Hypertext Preprocessor) 7.0.21 | 3284 | Thursday, July 6, 2017 | Approved | |
PHP (Hypertext Preprocessor) 7.0.20 | 4282 | Wednesday, June 7, 2017 | Approved | |
PHP (Hypertext Preprocessor) 7.0.19 | 5491 | Tuesday, May 9, 2017 | Approved | |
PHP (Hypertext Preprocessor) 7.0.18 | 3455 | Wednesday, April 12, 2017 | Approved | |
PHP (Hypertext Preprocessor) 7.0.17 | 4389 | Thursday, March 16, 2017 | Approved | |
PHP (Hypertext Preprocessor) 7.0.16 | 3729 | Tuesday, February 14, 2017 | Approved | |
PHP (Hypertext Preprocessor) 7.0.15 | 376 | Sunday, February 12, 2017 | Approved | |
PHP (Hypertext Preprocessor) 7.0.13 | 1743 | Monday, November 28, 2016 | Approved | |
PHP (Hypertext Preprocessor) 7.0.9 | 134746 | Wednesday, July 20, 2016 | Approved | |
PHP (Hypertext Preprocessor) 7.0.8 | 441 | Wednesday, June 22, 2016 | Approved | |
PHP (Hypertext Preprocessor) 7.0.7 | 1169 | Wednesday, May 25, 2016 | Approved | |
PHP (Hypertext Preprocessor) 7.0.6 | 707 | Sunday, May 8, 2016 | Approved | |
PHP (Hypertext Preprocessor) 7.0.5 | 3537 | Wednesday, March 30, 2016 | Approved | |
PHP (Hypertext Preprocessor) 7.0.4 | 3012 | Friday, March 4, 2016 | Approved | |
PHP (Hypertext Preprocessor) 7.0.3 | 3814 | Wednesday, February 3, 2016 | Approved | |
PHP (Hypertext Preprocessor) 7.0.2 | 2515 | Wednesday, January 6, 2016 | Approved | |
PHP (Hypertext Preprocessor) 7.0.1 | 2133 | Wednesday, December 16, 2015 | Approved | |
PHP (Hypertext Preprocessor) 5.6.40 | 11492 | Thursday, January 10, 2019 | Approved | |
PHP (Hypertext Preprocessor) 5.6.39 | 1593 | Friday, December 7, 2018 | Approved | |
PHP (Hypertext Preprocessor) 5.6.38 | 3009 | Friday, September 14, 2018 | Approved | |
PHP (Hypertext Preprocessor) 5.6.37 | 2220 | Friday, July 20, 2018 | Approved | |
PHP (Hypertext Preprocessor) 5.6.36 | 3481 | Thursday, April 26, 2018 | Approved | |
PHP (Hypertext Preprocessor) 5.6.35 | 1751 | Friday, March 30, 2018 | Approved | |
PHP (Hypertext Preprocessor) 5.6.34 | 1381 | Thursday, March 1, 2018 | Approved | |
PHP (Hypertext Preprocessor) 5.6.33 | 2850 | Saturday, January 6, 2018 | Approved | |
PHP (Hypertext Preprocessor) 5.6.32 | 2506 | Thursday, October 26, 2017 | Approved | |
PHP (Hypertext Preprocessor) 5.6.31 | 6128 | Thursday, July 6, 2017 | Approved | |
PHP (Hypertext Preprocessor) 5.6.30 | 18299 | Sunday, February 12, 2017 | Approved | |
PHP (Hypertext Preprocessor) 5.6.17 | 4634 | Wednesday, February 3, 2016 | Approved | |
PHP (Hypertext Preprocessor) 5.6.16 | 709 | Thursday, November 26, 2015 | Approved | |
PHP (Hypertext Preprocessor) 5.6.15 | 429 | Thursday, October 29, 2015 | Approved | |
PHP (Hypertext Preprocessor) 5.6.14 | 374 | Thursday, October 1, 2015 | Approved | |
PHP (Hypertext Preprocessor) 5.6.13 | 433 | Friday, September 4, 2015 | Approved | |
PHP (Hypertext Preprocessor) 5.6.12 | 442 | Thursday, August 6, 2015 | Approved | |
PHP (Hypertext Preprocessor) 5.6.11 | 530 | Sunday, July 12, 2015 | Approved | |
PHP (Hypertext Preprocessor) 5.6.10 | 432 | Thursday, June 11, 2015 | Approved | |
PHP (Hypertext Preprocessor) 5.6.9 | 4236 | Friday, May 15, 2015 | Approved | |
PHP (Hypertext Preprocessor) 5.6.8 | 515 | Thursday, April 16, 2015 | Approved | |
PHP (Hypertext Preprocessor) 5.6.7 | 1257 | Monday, March 23, 2015 | Approved | |
PHP (Hypertext Preprocessor) 5.6.6 | 453 | Thursday, February 19, 2015 | Approved | |
PHP (Hypertext Preprocessor) 5.6.5 | 463 | Thursday, January 22, 2015 | Approved | |
PHP (Hypertext Preprocessor) 5.6.4 | 589 | Friday, December 12, 2014 | Approved | |
PHP (Hypertext Preprocessor) 5.6.3 | 20107 | Thursday, November 13, 2014 | Approved | |
PHP (Hypertext Preprocessor) 5.6.2 | 1043 | Thursday, October 16, 2014 | Approved | |
PHP (Hypertext Preprocessor) 5.6.1 | 762 | Friday, September 26, 2014 | Approved | |
PHP (Hypertext Preprocessor) 5.6.0 | 1245 | Thursday, August 28, 2014 | Approved | |
PHP (Hypertext Preprocessor) 5.5.38 | 7217 | Thursday, February 9, 2017 | Approved | |
PHP (Hypertext Preprocessor) 5.5.16 | 740 | Thursday, August 21, 2014 | Approved | |
PHP (Hypertext Preprocessor) 5.5.15 | 762 | Tuesday, July 29, 2014 | Approved | |
PHP (Hypertext Preprocessor) 5.5.14 | 723 | Tuesday, July 1, 2014 | Approved | |
PHP (Hypertext Preprocessor) 5.5.13 | 660 | Thursday, June 5, 2014 | Approved | |
PHP (Hypertext Preprocessor) 5.5.12 | 592 | Wednesday, May 21, 2014 | Approved | |
PHP (Hypertext Preprocessor) 5.5.11 | 1014 | Tuesday, April 22, 2014 | Approved | |
PHP (Hypertext Preprocessor) 5.4.45 | 1566 | Thursday, February 9, 2017 | Approved | |
PHP (Hypertext Preprocessor) 5.3.29 | 629 | Thursday, February 9, 2017 | Approved | |
PHP (Hypertext Preprocessor) 5.3.28 | 1117 | Thursday, December 12, 2013 | Approved | |
PHP (Hypertext Preprocessor) 5.3.27 | 800 | Friday, July 12, 2013 | Approved | |
PHP (Hypertext Preprocessor) 5.3.26 | 603 | Thursday, June 6, 2013 | Approved | |
PHP (Hypertext Preprocessor) 5.3.25 | 594 | Thursday, May 9, 2013 | Approved | |
PHP (Hypertext Preprocessor) 5.3.24 | 567 | Thursday, April 11, 2013 | Approved | |
PHP (Hypertext Preprocessor) 5.3.23 | 542 | Friday, March 15, 2013 | Approved | |
PHP (Hypertext Preprocessor) 5.3.22 | 565 | Thursday, February 21, 2013 | Approved | |
PHP (Hypertext Preprocessor) 5.3.21 | 601 | Thursday, January 17, 2013 | Approved | |
PHP (Hypertext Preprocessor) 5.3.20 | 570 | Thursday, December 20, 2012 | Approved | |
PHP (Hypertext Preprocessor) 5.3.19 | 559 | Tuesday, November 27, 2012 | Approved | |
PHP (Hypertext Preprocessor) 5.3.18 | 578 | Thursday, October 18, 2012 | Approved | |
PHP (Hypertext Preprocessor) 5.3.17 | 591 | Thursday, September 13, 2012 | Approved | |
PHP (Hypertext Preprocessor) 5.3.16 | 521 | Thursday, August 16, 2012 | Approved | |
PHP (Hypertext Preprocessor) 5.3.15 | 580 | Friday, July 20, 2012 | Approved | |
PHP (Hypertext Preprocessor) 5.3.14 | 524 | Wednesday, June 27, 2012 | Approved | |
PHP (Hypertext Preprocessor) 5.3.10 | 734 | Monday, February 20, 2012 | Approved | |
PHP (Hypertext Preprocessor) 5.3.9 | 625 | Thursday, January 12, 2012 | Approved | |
PHP (Hypertext Preprocessor) 5.3.6.2 | 653 | Tuesday, August 23, 2011 | Approved | |
PHP (Hypertext Preprocessor) 5.3.6.1 | 542 | Tuesday, August 23, 2011 | Approved | |
PHP (Hypertext Preprocessor) 5.3.6 | 879 | Tuesday, August 23, 2011 | Approved |
-
- vcredist140 (≥ 14.0.24215.1)
- chocolatey-core.extension (≥ 1.3.3)
- chocolatey (≥ 0.10.0)
Ground Rules:
- This discussion is only about PHP (Hypertext Preprocessor) and the PHP (Hypertext Preprocessor) package. If you have feedback for Chocolatey, please contact the Google Group.
- This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
- The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
- Tell us what you love about the package or PHP (Hypertext Preprocessor), or tell us what needs improvement.
- Share your experiences with the package, or extra configuration or gotchas that you've found.
- If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.