Giter Site home page Giter Site logo

chocolateypackages's Introduction

Chocolatey packages

This repo contains the source for various Chocolatey packages

Changing the packages

  • Change the files
  • Build the package: choco pack
  • Test the package (as administrator): choco install [packageName] -dv -s .

Maintaining packages

  • Create a Chocolatey account
  • Create an API key in the [account] (https://community.chocolatey.org/account)
  • Optionally, for creating packages local, configure the [API key] (https://docs.chocolatey.org/en-us/create/commands/api-key), then inside the directory of the package execute choco pack to package the nupkg and choco push to push the package to the Chocolatey server.
  • Create some public Git repository with a directory for the package, or copy one of my existing directories to your repository
  • For GitHub actions configure an [environment] (https://github.com/johanjanssen/ChocolateyPackages/settings/environments) for example called Push-Packages with the environment secret CHOCOLATEY_API_KEY
  • Now create GitHub workflows, such as for example the ones I used.
  • Note that the update-chocolatey-packages.yml only works to automatically update some packages, details can be found in the updater folder. For example it doesn't work for Microsoft packages as I couldn't find an API to automate the process, nowadays the [Disco API] (https://github.com/foojayio/discoapi) could be used.
  • To manually update an existing package:
    • Change the version field in the *.nuspec file
    • Change the url and checksum in the chocolateyinstall.ps1 in the tools directory for MSI files
    • Alternatively, change all the *.ps1 files in the tools directory for zip files
  • To create new packages
    • Copy an existing package directory
    • Change the id, version, packageSourceUrl and title and other fields if needed in the *.nuspec file. I also recommend changing the name of the *.nuspec file, so it's easier to recognize in an editor when you're working on multiple packages
    • Change the url and checksum in the chocolateyinstall.ps1 in the tools directory for MSI files
    • Alternatively, change all the *.ps1 files in the tools directory for zip files

Notes

  • Packages are approved by moderators, if packages are trusted this goes automatically. If a package is not trusted it can take some time.

chocolateypackages's People

Contributors

advanceboy avatar alexandraisabel avatar arlol avatar brianary avatar cclauss avatar johanjanssen avatar kriba24 avatar laszlopokoradi-sixsentix avatar r4um avatar seppestas avatar thomaspatzig avatar vairag22 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

chocolateypackages's Issues

Cannot remove old versions

Upgrading from OpenJDK 11 to OpenJDK 12, old version not only is not uninstalled but is not showed with choco list -lai

SapMachine13 invalid hash value

I've had problems when I install sapmachine(sapmachine-jdk-13.0.1_windows-x64_bin.msi)
I've manualy download and check file hash, the value of hash is - 0E40036E3D227E12BB10720D83404E02AFEA37C8B55908B60D1F0CA384149B01

2019-12-11 15:28:04,426 1232 [DEBUG] - XmlConfiguration is now operational
2019-12-11 15:28:04,676 1232 [INFO ] - ============================================================
2019-12-11 15:28:04,848 1232 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\config".
2019-12-11 15:28:05,394 1232 [DEBUG] - Attempting to replace "C:\ProgramData\chocolatey\config\chocolatey.config"
 with "C:\ProgramData\chocolatey\config\chocolatey.config.1232.update".
 Backup placed at "C:\ProgramData\chocolatey\config\chocolatey.config.backup".
2019-12-11 15:28:05,410 1232 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\config\chocolatey.config.1232.update"
 to "C:\ProgramData\chocolatey\config\chocolatey.config".
2019-12-11 15:28:05,410 1232 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\config\chocolatey.config.1232.update".
2019-12-11 15:28:05,441 1232 [INFO ] - 0.10.15
2019-12-11 15:28:05,441 1232 [DEBUG] - Exiting with 0
2019-12-11 15:28:21,830 564 [DEBUG] - XmlConfiguration is now operational
2019-12-11 15:28:21,909 564 [INFO ] - ============================================================
2019-12-11 15:28:22,205 564 [INFO ] - Chocolatey v0.10.15
2019-12-11 15:28:22,221 564 [DEBUG] - Chocolatey is running on Windows v 10.0.14393.0
2019-12-11 15:28:22,237 564 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2019-12-11 15:28:22,237 564 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2019-12-11 15:28:22,252 564 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install sapmachine -y
2019-12-11 15:28:22,252 564 [DEBUG] - Received arguments: install sapmachine -y
2019-12-11 15:28:22,830 564 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2019-12-11 15:28:22,862 564 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2019-12-11 15:28:22,877 564 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2019-12-11 15:28:23,002 564 [DEBUG] - Performing validation checks.
2019-12-11 15:28:23,018 564 [DEBUG] - Global Configuration Validation Checks:
2019-12-11 15:28:23,018 564 [DEBUG] -  - Package Exit Code / Exit On Reboot = Checked
2019-12-11 15:28:23,018 564 [DEBUG] - System State Validation Checks:
2019-12-11 15:28:23,018 564 [DEBUG] -  Reboot Requirement Checks:
2019-12-11 15:28:23,018 564 [DEBUG] -  - Pending Computer Rename = Checked
2019-12-11 15:28:23,018 564 [DEBUG] -  - Pending Component Based Servicing = Checked
2019-12-11 15:28:23,018 564 [DEBUG] -  - Pending Windows Auto Update = Checked
2019-12-11 15:28:23,018 564 [DEBUG] -  - Pending File Rename Operations = Checked
2019-12-11 15:28:23,018 564 [DEBUG] -  - Pending Windows Package Installer = Checked
2019-12-11 15:28:23,034 564 [DEBUG] -  - Pending Windows Package Installer SysWow64 = Checked
2019-12-11 15:28:23,034 564 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2019-12-11 15:28:23,049 564 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2019-12-11 15:28:23,049 564 [DEBUG] - 
NOTE: Hiding sensitive configuration data! Please double and triple
 check to be sure no sensitive data is shown, especially if copying
 output to a gist for review.
2019-12-11 15:28:23,080 564 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\Auto_PHME-001_Build\AppData\Local\Temp\chocolatey'|

ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://chocolatey.org/api/v2/'|SourceType='normal'|
Debug='False'|Verbose='False'|Trace='False'|Force='False'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='sapmachine'|AllVersions='False'|
SkipPackageInstallProvider='False'|PackageNames='sapmachine'|
Prerelease='False'|ForceX86='False'|OverrideArguments='False'|
NotSilent='False'|ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.14393.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='0.10.15.0'|
Information.ChocolateyProductVersion='0.10.15'|
Information.FullName='choco, Version=0.10.15.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|

Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='Auto_PHME-001_Build'|
Information.UserDomainName='EPAM'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\WINDOWS\system32'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='False'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='True'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
Features.ScriptsCheckLastExitCode='False'|
ListCommand.LocalOnly='False'|
ListCommand.IdOnly='False'|ListCommand.IncludeRegistryPrograms='False'|
ListCommand.PageSize='25'|ListCommand.Exact='False'|
ListCommand.ByIdOnly='False'|ListCommand.ByTagOnly='False'|
ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|Proxy.BypassOnLocal='True'|
2019-12-11 15:28:23,080 564 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2019-12-11 15:28:23,080 564 [INFO ] - Installing the following packages:
2019-12-11 15:28:23,080 564 [INFO ] - sapmachine
2019-12-11 15:28:23,096 564 [INFO ] - By installing you accept licenses for the packages.
2019-12-11 15:28:23,549 564 [DEBUG] - Using 'https://chocolatey.org/api/v2/'.
2019-12-11 15:28:24,596 564 [DEBUG] - - Supports prereleases? 'True'.
2019-12-11 15:28:24,596 564 [DEBUG] - - Is ServiceBased? 'True'.
2019-12-11 15:28:26,033 564 [DEBUG] - Package 'sapmachine' found on source 'https://chocolatey.org/api/v2/'
2019-12-11 15:28:27,736 564 [INFO ] - [NuGet] Installing 'sapmachine 13.0.1'.
2019-12-11 15:28:27,752 564 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'sapmachine\tools'.
2019-12-11 15:28:27,752 564 [DEBUG] - [NuGet] Added file 'sapmachine.nupkg' to folder 'sapmachine'.
2019-12-11 15:28:28,064 564 [DEBUG] - [NuGet] Added file 'sapmachine.nuspec' to folder 'sapmachine'.
2019-12-11 15:28:28,064 564 [INFO ] - [NuGet] Successfully installed 'sapmachine 13.0.1'.
2019-12-11 15:28:28,064 564 [INFO ] - 
sapmachine v13.0.1 [Approved]
2019-12-11 15:28:28,081 564 [INFO ] - sapmachine package files install completed. Performing other installation steps.
2019-12-11 15:28:28,174 564 [DEBUG] - Setting installer args for sapmachine
2019-12-11 15:28:28,174 564 [DEBUG] - Setting package parameters for sapmachine
2019-12-11 15:28:28,174 564 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\sapmachine\tools\chocolateyinstall.ps1':
2019-12-11 15:28:28,189 564 [DEBUG] - $packageArgs = @{
  PackageName = $env:ChocolateyPackageName
  Url64bit = 'https://github.com/SAP/SapMachine/releases/download/sapmachine-13.0.1/sapmachine-jdk-13.0.1_windows-x64_bin.msi'
  Checksum64 = 'E6F4240B0D735313E81A04E42248BADA01469BF336F0311467ABE163F702A379'
  ChecksumType64 = 'sha256'
  fileType      = 'msi'
  silentArgs    = "INSTALLLEVEL=3 /quiet"
}

Install-ChocolateyPackage @packageArgs

2019-12-11 15:28:28,314 564 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\sapmachine\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters ''']
2019-12-11 15:28:28,330 564 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2019-12-11 15:28:31,189 564 [DEBUG] - Host version is 5.1.14393.0, PowerShell Version is '5.1.14393.3053' and CLR Version is '4.0.30319.42000'.
2019-12-11 15:28:31,752 564 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-12-11 15:28:31,752 564 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-12-11 15:28:31,767 564 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-12-11 15:28:31,767 564 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-12-11 15:28:31,767 564 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-12-11 15:28:31,767 564 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-12-11 15:28:31,767 564 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-12-11 15:28:31,767 564 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-12-11 15:28:31,767 564 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-12-11 15:28:31,767 564 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-12-11 15:28:31,767 564 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-12-11 15:28:31,767 564 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-12-11 15:28:31,767 564 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-12-11 15:28:31,767 564 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-12-11 15:28:31,767 564 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-12-11 15:28:31,767 564 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-12-11 15:28:31,767 564 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-12-11 15:28:31,767 564 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-12-11 15:28:31,767 564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-12-11 15:28:31,767 564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-12-11 15:28:31,767 564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-12-11 15:28:31,767 564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-12-11 15:28:31,767 564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-12-11 15:28:31,767 564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-12-11 15:28:31,767 564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-12-11 15:28:31,783 564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-12-11 15:28:31,783 564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-12-11 15:28:31,783 564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-12-11 15:28:31,783 564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-12-11 15:28:31,783 564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-12-11 15:28:31,783 564 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-12-11 15:28:31,783 564 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-12-11 15:28:31,783 564 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-12-11 15:28:31,783 564 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-12-11 15:28:31,783 564 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-12-11 15:28:31,783 564 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-12-11 15:28:31,783 564 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-12-11 15:28:31,783 564 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-12-11 15:28:31,783 564 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-12-11 15:28:31,783 564 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-12-11 15:28:31,783 564 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-12-11 15:28:31,783 564 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-12-11 15:28:31,783 564 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-12-11 15:28:31,783 564 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-12-11 15:28:31,798 564 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-12-11 15:28:31,798 564 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-12-11 15:28:31,798 564 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-12-11 15:28:31,798 564 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-12-11 15:28:31,798 564 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-12-11 15:28:31,798 564 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-12-11 15:28:31,798 564 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-12-11 15:28:31,798 564 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-12-11 15:28:31,798 564 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-12-11 15:28:31,814 564 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-12-11 15:28:31,814 564 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-12-11 15:28:31,814 564 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-12-11 15:28:31,814 564 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-12-11 15:28:31,814 564 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-12-11 15:28:31,814 564 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-12-11 15:28:31,814 564 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-12-11 15:28:31,814 564 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-12-11 15:28:31,814 564 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-12-11 15:28:31,814 564 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-12-11 15:28:31,814 564 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-12-11 15:28:31,814 564 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-12-11 15:28:31,814 564 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-12-11 15:28:31,814 564 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-12-11 15:28:31,814 564 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-12-11 15:28:31,814 564 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-12-11 15:28:31,814 564 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-12-11 15:28:31,814 564 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-12-11 15:28:31,814 564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-12-11 15:28:31,814 564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-12-11 15:28:31,831 564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-12-11 15:28:31,831 564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-12-11 15:28:31,831 564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-12-11 15:28:31,831 564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-12-11 15:28:31,831 564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-12-11 15:28:31,831 564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-12-11 15:28:31,831 564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-12-11 15:28:31,831 564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-12-11 15:28:31,831 564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-12-11 15:28:31,831 564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-12-11 15:28:31,831 564 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-12-11 15:28:31,831 564 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-12-11 15:28:31,831 564 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-12-11 15:28:31,831 564 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-12-11 15:28:31,831 564 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-12-11 15:28:31,831 564 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-12-11 15:28:31,831 564 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-12-11 15:28:31,831 564 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-12-11 15:28:31,831 564 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-12-11 15:28:31,831 564 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-12-11 15:28:31,831 564 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-12-11 15:28:31,831 564 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-12-11 15:28:31,831 564 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-12-11 15:28:31,831 564 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-12-11 15:28:31,831 564 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-12-11 15:28:31,831 564 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-12-11 15:28:31,845 564 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-12-11 15:28:31,845 564 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-12-11 15:28:31,845 564 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-12-11 15:28:31,845 564 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-12-11 15:28:31,845 564 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-12-11 15:28:31,845 564 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-12-11 15:28:31,845 564 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-12-11 15:28:31,861 564 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2019-12-11 15:28:31,861 564 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2019-12-11 15:28:31,861 564 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2019-12-11 15:28:31,861 564 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2019-12-11 15:28:31,877 564 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2019-12-11 15:28:31,877 564 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2019-12-11 15:28:31,877 564 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2019-12-11 15:28:31,877 564 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2019-12-11 15:28:31,877 564 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2019-12-11 15:28:31,877 564 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2019-12-11 15:28:31,877 564 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2019-12-11 15:28:31,877 564 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2019-12-11 15:28:31,877 564 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2019-12-11 15:28:31,877 564 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2019-12-11 15:28:31,877 564 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2019-12-11 15:28:31,877 564 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2019-12-11 15:28:31,877 564 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2019-12-11 15:28:31,877 564 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2019-12-11 15:28:31,877 564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2019-12-11 15:28:31,877 564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2019-12-11 15:28:31,877 564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2019-12-11 15:28:31,877 564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2019-12-11 15:28:31,877 564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2019-12-11 15:28:31,877 564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2019-12-11 15:28:31,877 564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2019-12-11 15:28:31,877 564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2019-12-11 15:28:31,877 564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2019-12-11 15:28:31,892 564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2019-12-11 15:28:31,892 564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2019-12-11 15:28:31,892 564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2019-12-11 15:28:31,892 564 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2019-12-11 15:28:31,892 564 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2019-12-11 15:28:31,892 564 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2019-12-11 15:28:31,892 564 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2019-12-11 15:28:31,892 564 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2019-12-11 15:28:31,892 564 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2019-12-11 15:28:31,892 564 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-12-11 15:28:31,892 564 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2019-12-11 15:28:31,892 564 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2019-12-11 15:28:31,892 564 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2019-12-11 15:28:31,892 564 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2019-12-11 15:28:31,892 564 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2019-12-11 15:28:31,892 564 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2019-12-11 15:28:31,892 564 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2019-12-11 15:28:31,892 564 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2019-12-11 15:28:31,892 564 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2019-12-11 15:28:31,892 564 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2019-12-11 15:28:31,908 564 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2019-12-11 15:28:31,908 564 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2019-12-11 15:28:31,908 564 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2019-12-11 15:28:31,908 564 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2019-12-11 15:28:31,908 564 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2019-12-11 15:28:31,908 564 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2019-12-11 15:28:32,017 564 [DEBUG] - ---------------------------Script Execution---------------------------
2019-12-11 15:28:32,017 564 [DEBUG] - Running 'ChocolateyScriptRunner' for sapmachine v13.0.1 with packageScript 'C:\ProgramData\chocolatey\lib\sapmachine\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\sapmachine', installArguments: '', packageParameters: '',
2019-12-11 15:28:32,033 564 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\sapmachine\tools\chocolateyinstall.ps1'
2019-12-11 15:28:32,220 564 [DEBUG] - Running Install-ChocolateyPackage -fileType 'msi' -url64bit 'https://github.com/SAP/SapMachine/releases/download/sapmachine-13.0.1/sapmachine-jdk-13.0.1_windows-x64_bin.msi' -checksum64 'E6F4240B0D735313E81A04E42248BADA01469BF336F0311467ABE163F702A379' -silentArgs 'INSTALLLEVEL=3 /quiet' -checksumType64 'sha256' -packageName 'sapmachine' 
2019-12-11 15:28:32,330 564 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'sapmachine' -fileFullPath 'C:\Users\Auto_PHME-001_Build\AppData\Local\Temp\chocolatey\sapmachine\13.0.1\sapmachineInstall.msi' -url '' -url64bit 'https://github.com/SAP/SapMachine/releases/download/sapmachine-13.0.1/sapmachine-jdk-13.0.1_windows-x64_bin.msi' -checksum '' -checksumType '' -checksum64 'E6F4240B0D735313E81A04E42248BADA01469BF336F0311467ABE163F702A379' -checksumType64 'sha256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True' 
2019-12-11 15:28:32,361 564 [DEBUG] - Running Get-ProcessorBits -compare '64' 
2019-12-11 15:28:32,377 564 [DEBUG] - CPU is 64 bit
2019-12-11 15:28:32,392 564 [DEBUG] - Setting url to 'https://github.com/SAP/SapMachine/releases/download/sapmachine-13.0.1/sapmachine-jdk-13.0.1_windows-x64_bin.msi' and bitPackage to 64
2019-12-11 15:28:32,455 564 [DEBUG] - Running Get-WebFileName -url 'https://github.com/SAP/SapMachine/releases/download/sapmachine-13.0.1/sapmachine-jdk-13.0.1_windows-x64_bin.msi' -defaultName 'sapmachineInstall.msi' 
2019-12-11 15:28:34,095 564 [DEBUG] - Using header 'Content-Disposition' to determine file name.
2019-12-11 15:28:34,111 564 [DEBUG] - File name determined from url is 'sapmachine-jdk-13.0.1_windows-x64_bin.msi'
2019-12-11 15:28:34,174 564 [DEBUG] - Running Get-WebHeaders -url 'https://github.com/SAP/SapMachine/releases/download/sapmachine-13.0.1/sapmachine-jdk-13.0.1_windows-x64_bin.msi' -ErrorAction 'Stop' 
2019-12-11 15:28:34,174 564 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-12-11 15:28:34,174 564 [DEBUG] - Request Headers:
2019-12-11 15:28:34,174 564 [DEBUG] -   'Accept':'*/*'
2019-12-11 15:28:34,174 564 [DEBUG] -   'User-Agent':'chocolatey command line'
2019-12-11 15:28:35,064 564 [DEBUG] - Response Headers:
2019-12-11 15:28:35,064 564 [DEBUG] -   'x-amz-id-2':'Lvhh5w0y44WpTrv7TwG2jL+K795+DDGASiCKppcpplu+RuPPgOO8Bu7ZsH2AnckB+GWRGXVoyMo='
2019-12-11 15:28:35,064 564 [DEBUG] -   'x-amz-request-id':'8D5DE5BF47A3BC50'
2019-12-11 15:28:35,064 564 [DEBUG] -   'Content-Disposition':'attachment; filename=sapmachine-jdk-13.0.1_windows-x64_bin.msi'
2019-12-11 15:28:35,064 564 [DEBUG] -   'Accept-Ranges':'bytes'
2019-12-11 15:28:35,064 564 [DEBUG] -   'Content-Length':'193773568'
2019-12-11 15:28:35,079 564 [DEBUG] -   'Content-Type':'application/octet-stream'
2019-12-11 15:28:35,079 564 [DEBUG] -   'Date':'Wed, 11 Dec 2019 12:28:35 GMT'
2019-12-11 15:28:35,079 564 [DEBUG] -   'ETag':'"d558a565a1cebb657688d87c6ab5b013"'
2019-12-11 15:28:35,079 564 [DEBUG] -   'Last-Modified':'Tue, 26 Nov 2019 14:33:36 GMT'
2019-12-11 15:28:35,079 564 [DEBUG] -   'Server':'AmazonS3'
2019-12-11 15:28:35,095 564 [INFO ] - Downloading sapmachine 64 bit
  from 'https://github.com/SAP/SapMachine/releases/download/sapmachine-13.0.1/sapmachine-jdk-13.0.1_windows-x64_bin.msi'
2019-12-11 15:28:35,126 564 [DEBUG] - Running Get-WebFile -url 'https://github.com/SAP/SapMachine/releases/download/sapmachine-13.0.1/sapmachine-jdk-13.0.1_windows-x64_bin.msi' -fileName 'C:\Users\Auto_PHME-001_Build\AppData\Local\Temp\chocolatey\sapmachine\13.0.1\sapmachine-jdk-13.0.1_windows-x64_bin.msi' -options 'System.Collections.Hashtable' 
2019-12-11 15:28:35,126 564 [DEBUG] - Setting request timeout to  30000
2019-12-11 15:28:35,126 564 [DEBUG] - Setting read/write timeout to  2700000
2019-12-11 15:28:35,142 564 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-12-11 15:28:36,423 564 [DEBUG] - Downloading https://github.com/SAP/SapMachine/releases/download/sapmachine-13.0.1/sapmachine-jdk-13.0.1_windows-x64_bin.msi to C:\Users\Auto_PHME-001_Build\AppData\Local\Temp\chocolatey\sapmachine\13.0.1\sapmachine-jdk-13.0.1_windows-x64_bin.msi
2019-12-11 15:44:53,407 564 [INFO ] - 
2019-12-11 15:44:54,079 564 [INFO ] - Download of sapmachine-jdk-13.0.1_windows-x64_bin.msi (184.8 MB) completed.
2019-12-11 15:44:58,285 564 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2019-12-11 15:44:58,285 564 [DEBUG] - Verifying package provided checksum of 'E6F4240B0D735313E81A04E42248BADA01469BF336F0311467ABE163F702A379' for 'C:\Users\Auto_PHME-001_Build\AppData\Local\Temp\chocolatey\sapmachine\13.0.1\sapmachine-jdk-13.0.1_windows-x64_bin.msi'.
2019-12-11 15:44:58,300 564 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Auto_PHME-001_Build\AppData\Local\Temp\chocolatey\sapmachine\13.0.1\sapmachine-jdk-13.0.1_windows-x64_bin.msi' -checksum 'E6F4240B0D735313E81A04E42248BADA01469BF336F0311467ABE163F702A379' -checksumType 'sha256' -originalUrl 'https://github.com/SAP/SapMachine/releases/download/sapmachine-13.0.1/sapmachine-jdk-13.0.1_windows-x64_bin.msi' 
2019-12-11 15:44:58,316 564 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2019-12-11 15:44:58,316 564 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="E6F4240B0D735313E81A04E42248BADA01469BF336F0311467ABE163F702A379" -t="sha256" -f="C:\Users\Auto_PHME-001_Build\AppData\Local\Temp\chocolatey\sapmachine\13.0.1\sapmachine-jdk-13.0.1_windows-x64_bin.msi"]
2019-12-11 15:49:24,556 564 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="E6F4240B0D735313E81A04E42248BADA01469BF336F0311467ABE163F702A379" -t="sha256" -f="C:\Users\Auto_PHME-001_Build\AppData\Local\Temp\chocolatey\sapmachine\13.0.1\sapmachine-jdk-13.0.1_windows-x64_bin.msi"] exited with '1'.
2019-12-11 15:49:24,660 564 [ERROR] - ERROR: Checksum for 'C:\Users\Auto_PHME-001_Build\AppData\Local\Temp\chocolatey\sapmachine\13.0.1\sapmachine-jdk-13.0.1_windows-x64_bin.msi' did not meet 'E6F4240B0D735313E81A04E42248BADA01469BF336F0311467ABE163F702A379' for checksum type 'sha256'. Consider passing the actual checksums through with --checksum --checksum64 once you validate the checksums are appropriate. A less secure option is to pass --ignore-checksums if necessary.
2019-12-11 15:49:24,821 564 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\sapmachine\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '''] exited with '-1'.
2019-12-11 15:49:24,837 564 [DEBUG] - Calling command ['"C:\WINDOWS\System32\shutdown.exe" /a']
2019-12-11 15:49:25,540 564 [DEBUG] - Command ['"C:\WINDOWS\System32\shutdown.exe" /a'] exited with '1116'
2019-12-11 15:49:25,540 564 [INFO ] -   sapmachine may be able to be automatically uninstalled.
2019-12-11 15:49:25,712 564 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\sapmachine'
2019-12-11 15:49:25,712 564 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\sapmachine\sapmachine.nupkg'
  with checksum 'C1DC5F7FD615D1B12A32E919B53004A8'
2019-12-11 15:49:25,712 564 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\sapmachine\sapmachine.nuspec'
  with checksum 'F1AFA876E6918A084D194CE45CBF61F5'
2019-12-11 15:49:25,712 564 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\sapmachine\tools\chocolateyinstall.ps1'
  with checksum 'EBA14C1455C66DFB1D135D328C540DA8'
2019-12-11 15:49:25,727 564 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey".
2019-12-11 15:49:25,727 564 [DEBUG] - Adding 'Hidden' attribute(s) to 'C:\ProgramData\chocolatey\.chocolatey'.
2019-12-11 15:49:25,743 564 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\sapmachine.13.0.1".
2019-12-11 15:49:25,837 564 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\sapmachine.13.0.1\.registry'
2019-12-11 15:49:25,853 564 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\sapmachine.13.0.1\.files'
2019-12-11 15:49:25,853 564 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\sapmachine.13.0.1\.arguments".
2019-12-11 15:49:25,853 564 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\sapmachine.13.0.1\.extra".
2019-12-11 15:49:25,853 564 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\sapmachine.13.0.1\.version".
2019-12-11 15:49:25,853 564 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\sapmachine.13.0.1\.sxs".
2019-12-11 15:49:25,868 564 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\sapmachine.13.0.1\.pin".
2019-12-11 15:49:25,868 564 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2019-12-11 15:49:25,868 564 [ERROR] - The install of sapmachine was NOT successful.
2019-12-11 15:49:25,868 564 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\sapmachine\tools\chocolateyinstall.ps1'.
 See log for details.
2019-12-11 15:49:25,868 564 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad".
2019-12-11 15:49:25,868 564 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\sapmachine'
 to 'C:\ProgramData\chocolatey\lib-bad\sapmachine'
2019-12-11 15:49:27,899 564 [DEBUG] - Attempting to delete file "C:\Users\Auto_PHME-001_Build\AppData\Local\NuGet\Cache\sapmachine.13.0.1.nupkg".
2019-12-11 15:49:27,978 564 [WARN ] - 
Chocolatey installed 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2019-12-11 15:49:27,978 564 [INFO ] - 
2019-12-11 15:49:27,978 564 [ERROR] - Failures
2019-12-11 15:49:27,978 564 [ERROR] -  - sapmachine (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\sapmachine\tools\chocolateyinstall.ps1'.
 See log for details.
2019-12-11 15:49:27,993 564 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2019-12-11 15:49:28,024 564 [DEBUG] - Exiting with -1

AdoptOpenJDK8 bad install script

The script downloads the .msi instead of .zip and therefore it fails to install correctly leaving a mess inside C:\Program Files\AdoptOpenJDK. Please fix it.

Recommendation for dependency replacement for jre8 package?

Hi. I am a fellow Chocolatey package maintainer, and I'm looking to change the jre8 dependencies of some packages to something without the licensing restrictions/questions that jre8 has.

Since I know very little about Java and you are maintaining the vast majority of non-Oracle Java packages, I thought maybe you would have a suggestion for the "best" alternative dependency.

Frankly, all the versions/varieties/flavors of java makes me very confused. If you aren't comfortable making a suggestion, do you at least have a "simplified" reference where I (as distinctly NOT a Java developer) can evaluate the differences and make a decision?

Thanks!

Help with choco install ant?

choco install ant fails on Travis CI because it depends on choco install jre. Would it be possible to create and alternate ant that relies on a JRE that is compatible with Travis CI?

Wrong path

Installation of OpenJDK 12 sets the %PROGRAMFILES%\OpenJDK\jdk-12.0.0\bin path, but files are in %PROGRAMFILES%\OpenJDK\jdk-12

Portable OpenJDK?

Currently OpenJDK isn't portable. Interested to make it portable?

Update Corretto 8 JRE packages

I am on the Corretto team and saw that the Corretto8 JRE wasn't updated to 332 and figured out why. Our release page now has the MSI's listed and it will be there going forward. Sorry about that.

We also publish a JSON on all of the latest releases https://github.com/corretto/corretto-downloads/blob/main/latest_links/indexmap_with_checksum.json. This will always have the latest stable build for every Corretto platform and version, it should be easier to parse and won't require special cases in your code when we do a new GitHub release that doesn't cover every platform.

Fix the Uninstall-ChocolateyPath

The Uninstall-ChocolateyPath cmdlet doesn't exist in Chocolatey, you will see that it isn't listed here:

https://chocolatey.org/docs/helpers-reference

There is an example of this function in a helper method here:

https://github.com/chocolatey-community/chocolatey-coreteampackages/blob/8a673ed7c0eccba126d15907ed90db98ad722ab7/automatic/php/tools/helpers.ps1

Which could have been dot sourced into the example that you were provided, but as of right now, this package would cause an error that this function didn't exist when it was attempted.

Coretto 11.0.20.8.1

Hey,

there has been an update for Coretto 11. Latest in choco is 11.0.19, but a week ago 11.0.20.8.1 has been released. Is it possible to update the choco package?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.