mkevenaar / chocolatey-packages Goto Github PK
View Code? Open in Web Editor NEWMy chocolatey packages
Home Page: https://mkevenaar.github.io/chocolatey-packages/
License: Apache License 2.0
My chocolatey packages
Home Page: https://mkevenaar.github.io/chocolatey-packages/
License: Apache License 2.0
For some reason, the chocolateyInstall.ps1 file seems to have the SHA-256 hash of LastPass (x64) 4.1.57:
9427DCC285BF574C7AAB03E998E7C2062F0A3E62619048062BF956EBCF1B48FA
rather than the hash of version 4.33: (would appreciate third-party confirmation, of course!)
2401C795E7584C3A185E221CBA77DBB422A82AA4CE97936534066F5EE9C79005
This causes installs/updates to fail, of course, unless ignore-checksums is used.
Installer would download LP x64 4.33, confirm the checksum and install
Installer fails after download with checksum error, listing the checksums above as what it claims are "right" and "wrong", respectively
Update checksum in chocolateyInstall.ps1 file
Attempt to install or upgrade lastpass (x64). Status of x86 unknown.
As reported here i tried installing the app through choco:
choco install simulide
and I get the error message:
This application failed to start because it could not find or load the Qt platform plugin "windows". Reinstalling the application may fix this problem.
¯\_(ツ)_/¯
🤔
Thanks for your support in advance.
P.S. An issue was also placed here in the sourceforge repo of the software.
The Wireshark package has a shim made for the installer executable which is not ideal.
That the bin folder is not cluttered with Wireshark installer shims
Currently, during the install of the Wireshark package, a shim is created in the chocolatey bin folder for the Wireshark installer executable. Additionally, more shims are created upon upgrade and the previous shims are not removed automatically.
Create .ignore
files in the tools directory for installer.
https://chocolatey.org/docs/create-packages#how-do-i-exclude-executables-from-getting-shims
Unfortunately, it needs to match the filename exactly, so the file needs to be updated. There are a couple ways to go about this-
cinst wireshark
Watch shim be created after chocolateyinstall.ps1 script completes.
$ choco install nsis 7zip
Chocolatey v0.10.15
Installing the following packages:
nsis;7zip
By installing you accept licenses for the packages.
Progress: Downloading nsis.install 3.5.0.20200106... 100%
Progress: Downloading nsis 3.5.0.20200106... 100%
nsis.install v3.5.0.20200106 [Approved]
nsis.install package files install completed. Performing other installation steps.
Attempt to get headers for https://astuteinternet.dl.sourceforge.net/project/nsis/NSIS%203/3.05/nsis-3.05-setup.exe failed.
The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://astuteinternet.dl.sourceforge.net/project/nsis/NSIS%203/3.05/nsis-3.05-setup.exe'. Exception calling "GetResponse" with "0" argument(s): "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel."
Downloading nsis.install
from 'https://astuteinternet.dl.sourceforge.net/project/nsis/NSIS%203/3.05/nsis-3.05-setup.exe'
ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://astuteinternet.dl.sourceforge.net/project/nsis/NSIS%203/3.05/nsis-3.05-setup.exe'. Exception calling "GetResponse" with "0" argument(s): "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel."
This package is likely not broken for licensed users - see https://chocolatey.org/docs/features-private-cdn.
The install of nsis.install was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\nsis.install\tools\chocolateyInstall.ps1'.
See log for details.
Loooks like the astuteinternet sourceforge mirror is broken.. and this package hard-codes that mirror? I couldn't figure it out.
https://travis-ci.com/github/tesch1/turbobadger/jobs/372450449
After upgrading winrar to 5.80 from 5.71 x64, i get the following error
Relevant log section:
2019-12-29 13:22:14,375 13836 [DEBUG] - Running 'ChocolateyScriptRunner' for winrar v5.80 with packageScript 'C:\ProgramData\chocolatey\lib\winrar\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\winrar', installArguments: '', packageParameters: '',
2019-12-29 13:22:14,382 13836 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\winrar\tools\chocolateyInstall.ps1'
2019-12-29 13:22:14,425 13836 [DEBUG] - Running Get-PackageParameters
2019-12-29 13:22:14,427 13836 [DEBUG] - Parsing $env:ChocolateyPackageParameters and $env:ChocolateyPackageParametersSensitive for parameters
2019-12-29 13:22:14,436 13836 [DEBUG] - Reading CSV file from C:\ProgramData\chocolatey\lib\winrar\tools\downloadInfo.csv
2019-12-29 13:22:14,480 13836 [DEBUG] - Running Install-ChocolateyPackage -url '' -url64bit '' -checksum '' -checksum64 '' -silentArgs '/S' -packageName 'winrar' -checksumType 'sha256' -fileType 'exe' -validExitCodes '0' -checksumType64 'sha256'
2019-12-29 13:22:14,510 13836 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'winrar' -fileFullPath 'C:\Users\David\AppData\Local\Temp\chocolatey\winrar\5.80\winrarInstall.exe' -url '' -url64bit '' -checksum '' -checksumType 'sha256' -checksum64 '' -checksumType64 'sha256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2019-12-29 13:22:14,526 13836 [DEBUG] - Running Get-ProcessorBits -compare '64'
2019-12-29 13:22:14,532 13836 [DEBUG] - CPU is 64 bit
2019-12-29 13:22:14,540 13836 [ERROR] - ERROR: This package does not support 64 bit architecture.
2019-12-29 13:22:14,543 13836 [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\winrar\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '-1'.
The Pulumi package doesn't appear to have been automatically updated for the 1.5.0
or 1.5.1
releases earlier this week.
https://github.com/pulumi/pulumi/blob/master/CHANGELOG.md#151-2019-11-06
icloud should install even if a previous version is installed.
Fails because bonjour is already installed.
Unsure
As requested in appveyor/website#645 I have created this issue to update the documentation and title for appveyor-server
This is a feature request to create a new package for this application:
https://github.com/spectresystems/duck/releases/tag/0.11.0
Which recently changed to having standalone binaries, which makes it easy to package as a Chocolatey Package.
The package should automatically update when a new version is available on Github
Currently the package is stuck at 0.21.0 while the latest release is 0.23.0.
It appears that the update.ps1 looks for a linked release asset with an .msi file extension. While previous releases have included separate .msi and .exe assets, the current release only has a .exe asset, and the following line from the release notes indicates this may be the norm going forward:
- The EXE installer should be at parity now with the MSI. Please go to the wiki for installer args
A possible solution might be to search for the .exe asset instead of the .msi asset:
@@ chocolatey-packages/automatic/powertoys/update.ps1
- $re = "PowerToysSetup(.+)?.msi"
+ $re = "PowerToysSetup(.+)?.exe"
If the above change is appropriate, I can submit the pull request to help expedite the process.
choco install powertoys -y
.choco list powertoys -e
.I prefer to install and upgrade software using chocolatey when possible. This has prevented me from updating the powertoys package to the latest version.
Hello
I inform you that the source for the software iobit-malware-fighter / 8.2.0.685 is infected Windows categorizes it as "Serious" Trojan
Choco also informs that the checksum is not good.
Your source:
http://update.iobit.com/dl/IObit-Malware-Fighter-Setup.exe
My official source tested is no problem:
http://cdn.iobit.com/dl/IObit-Malware-Fighter-Setup.exe
I let you change the source in order to avoid future problems and also change the checksum which does not work.
Best Regards.
SUPERVISOR.
Just wanted to say thanks for maintaining these packages. In particular, microsoft-windows-terminal
is one I'd encouraged them to create but hadn't gotten around to doing and I greatly appreciate you making it available!
(feel free to close anytime; wanted to ensure my thanks made it to you.)
The install should succeed without errors.
The installation process throws the following error:
Checksum for 'C:\Users\fough\AppData\Local\Temp\chocolatey\samsung-magician\6.1.0\samsung-magicianInstall.zip' di
d not meet '9daeed4fdd5b4492442c706ee71d305b00824e716415fb616235e00174403dfd' for checksum type 'sha256'. Consider passi
ng the actual checksums through with --checksum --checksum64 once you validate the checksums are appropriate. A less sec
ure option is to pass --ignore-checksums if necessary.
The upgrade of samsung-magician was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\samsung-magician\tools\chocolateyInstall.ps1'.
See log for details.
Then fails.
Fix the link to point to the new files and fix the checksum.
The https://chocolatey.org/packages/SQL2014.ClrTypes package SHA256 is failing has match
choco install sql2014.clrtypes -y should work with no errors
Error message received
'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2014.ClrTypes\12.1.4100.1\SQLSysClrTypes.msi' did not meet 'D264B0B4D8E503C2638C18F09FF74F895DA92A9984D2B7C5D6192A6A22FA3C41' for checksum type 'sha256'.
Update the script with the new SHA256 checksums, alternatively to get around it is
choco install sql2014.clrtypes -y --checksum64 74CB1BC8216B24ACFBC643EA7555FC7D6067DFD39B7316E79203552C36282C8F -checksum 5CA2CC72AA5B9D02014958A8BF664676672DE7D10EF4F4BD2658301210541867
choco install sql2014.clrtypes -y
After installing mysql, all works fine, but after restarting the computer, I have to manually right click on mysql and give admin access so it doesn't throw me an error saying that the access was denied to root@localhost
SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost'
Maybe an chmod or chown on the file or something like that should resolve the problem
a) Reinstall mysql, it keeps the database
b) Access mysql folder and forces mysql to open as an administrator (for some reason, after restarting the computer it loses the administrator permition and you need to do it again)
choco install mysql
mysql -uroot -proot
Install should be successful.
Install fails with a missing dependency error:
Windows cannot install package Microsoft.WindowsTerminal_0.3.2142.0_x64__8wekyb3d8bbwe because this package depends on a framework that could not be found. Provide the framework "Microsoft.VCLibs.140.00" published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x64 processor architecture and minimum version 14.0.27323.0, along with this package to install. The frameworks with name "Microsoft.VCLibs.140.00" currently installed are: Microsoft.VCLibs.140.00_14.0.24123.0_x86__8wekyb3d8bbwe Microsoft.VCLibs.140.00_14.0.24123.0_x64__8wekyb3d8bbwe Microsoft.VCLibs.140.00_14.0.25426.0_x64__8wekyb3d8bbwe
Microsoft.VCLibs.140.00_14.0.25426.0_x86__8wekyb3d8bbwe Microsoft.VCLibs.140.00_14.0.26706.0_x64__8wekyb3d8bbwe
Microsoft.VCLibs.140.00_14.0.26706.0_x86__8wekyb3d8bbwe}
Tried installing the VC++ Redist Update 3 for 2015: https://www.microsoft.com/en-us/download/details.aspx?id=53587. The version installed by this update was not high enough as apparently the dependency needed must be 14.0.27323.0 or higher. I have not been able to locate what redist package contains this version though.
Mozilla only gives one locale for Firefox Nightly: en-US
. So the package should download the file firefox-70.0a1.en-US.win64.installer.exe
and not firefox-70.0a1.fr.win64.installer.exe
.
The package tries to download a version with another locale (and this version doesn't exist). The package should not look for a locale and instead always use en-US
because it is the only option. The installation will fail with an Error 404: Not Found.
A temporary solution I have currently is adding --params "l=en-US"
when installing/upgrading the package. However, this doesn't work with choco upgrade all
. The optimal solution is to remove the locale variable that the package uses.
chocolatey
on a computer that isn't configured in English (United States)firefox-nightly
(choco install firefox-nightly --pre
)The issue affects the upgrade all
command because firefox-nightly needs to be installed/updated manually. Because it is a nightly version, there's a new version everyday and doing it manually everyday loses a feature of a package manager.
Currently WinRAR does not release all the translations in one go. Due to this, a lot of the translations are not available in the initial push.
related to chocolatey/package-validator#194
All README files should be validated on their Markdown.
The Wireshark installation does not install a capture driver (Npcap preferably) and thus it doesn't show any capture interfaces.
I think it should have Npcap as a dependency or even show a link to download it.
From the documentation about arguments passed to the installer:
/S runs the installer or uninstaller silently with default values. The silent installer will not install Npcap.
Thanks.
In commit 82e0cb3#diff-4 the X64 hash of UltraVNC has been removed.
Why is that?
I just verified the manual downloads from the UltraVNC site with wget --referer=https://www.uvnc.com/ --mirror
based ones and they indeed match (and of course both files have their own hash):
21d4d4a35cb7111b273b18b67db8cf5b8e12e44178796034519eed0479039c72 www.uvnc.eu/download/1230/UltraVNC_1_2_30_X86_Setup.exe
5eaa8ce5d6d3abb2bfcc392d6931a9d68ecd9c77a03328d266bbdb558910ccf0 www.uvnc.eu/download/1230/UltraVNC_1_2_30_X64_Setup.exe
Installation of WinRAR via chocolatey should work without any issue.
The WinRAR installer cannot be downloaded because the checksum of the downloaded file is different to the expected one:
winrar v5.91 [Approved]
winrar package files install completed. Performing other installation steps.
Downloading winrar 64 bit
from 'https://www.rarlab.com/rar/winrar-x64-591.exe'
Download of winrar-x64-591.exe (3.09 MB) completed.
Error - hashes do not match. Actual value was '892F7FDFDAF9FCEC6C035C8C65B280E18B7797620F4375699A2D4D41F60F794C'.
ERROR: Checksum for 'C:\Users\[REDACTED]\AppData\Local\Temp\chocolatey\winrar\5.91\winrar-x64-591.exe' did not meet '1c30d74f20ea721d63061d2a06ac00a9270fc7823004ff4f572d354990d4c1ae' 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.
The install of winrar was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\winrar\tools\chocolateyInstall.ps1'.
See log for details.
Update the hashes for all downloads in tools\downloadInfo.csv
.
Try to install the current version of the WinRAR package with Chocolatey.
The certificate used for the original WinRAR v5.91 packages was revoked. All downloads for this version have been repackaged using a different certificate, which causes the hashes of all downloads to be changed. I guess the automatic update mechanism cannot detect this as the version number of WinRAR itself did not change.
Hey @mkevenaar ,
You asked me on Disqus to create an issue if the problem persists. I hope I got it right with the debug logging. Tried to install MariaDB again with PowerShell and CMD both in Admin mode, but the installation just doesn't want to get through. It says the URL can't be reached even though when I copy it to the browser there is no problem downloading the MariaDB.exe
Anyway, here's everything from the console. Maybe you have some clue what might be causing this.
Chocolatey v0.10.11
Chocolatey is running on Windows v 10.0.17763.0
Command line: "C:\ProgramData\chocolatey\choco.exe" install mariadb --debug
Received arguments: install mariadb --debug
The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
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.
Configuration: CommandName='install'|
CacheLocation='C:\Users\Samuel\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://chocolatey.org/api/v2/'|SourceType='normal'|
Debug='True'|Verbose='False'|Trace='False'|Force='False'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='True'|AcceptLicense='False'|
AllowUnofficialBuild='False'|Input='mariadb'|AllVersions='False'|
SkipPackageInstallProvider='False'|PackageNames='mariadb'|
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.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='0.10.11.0'|
Information.ChocolateyProductVersion='0.10.11'|
Information.FullName='choco, Version=0.10.11.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='xxxx'|
Information.UserDomainName='xxxx'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
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.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='True'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.RemovePackageInformationOnUninstall='False'|
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'|
PinCommand.Command='unknown'|OutdatedCommand.IgnorePinned='False'|
Proxy.BypassOnLocal='True'|
_ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
Installing the following packages:
mariadb
By installing you accept licenses for the packages.
Progress: Downloading mariadb 10.3.13... 100%
[NuGet] Added file 'chocolateyInstall.ps1' to folder 'mariadb.install\tools'.
[NuGet] Added file 'chocolateyUninstall.ps1' to folder 'mariadb.install\tools'.
[NuGet] Added file 'Uninstall-ChocolateyPath.psm1' to folder 'mariadb.install\tools'.
[NuGet] Added file 'mariadb.install.nuspec' to folder 'mariadb.install'.
[NuGet] Added file 'mariadb.install.nupkg' to folder 'mariadb.install'.
mariadb.install v10.3.13 [Approved]
mariadb.install package files install completed. Performing other installation steps.
Contents of 'C:\ProgramData\chocolatey\lib\mariadb.install\tools\chocolateyInstall.ps1':
$ErrorActionPreference = 'Stop';
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url32 = 'https://downloads.mariadb.org/f/mariadb-10.3.13/win32-packages/mariadb-10.3.13-win32.msi'
$checksum32 = 'af23820183a379b45f6d9b9a2ba2b3dd8822fddf97b2ea8ee88936fc2ef466df'
$checksumType32 = 'sha256'
$url64 = 'https://downloads.mariadb.org/f/mariadb-10.3.13/winx64-packages/mariadb-10.3.13-winx64.msi'
$checksum64 = '6b750c22f385057c91687fa33d139c7df95270164e1ff588980422c128fc122d'
$checksumType64 = 'sha256'
$packageArgs = @{
packageName = $env:ChocolateyPackageName
unzipLocation = $toolsDir
fileType = 'msi'
url = $url32
checksum = $checksum32
checksumType = $checksumType32
url64bit = $url64
checksum64 = $checksum64
checksumType64= $checksumType64
softwareName = 'MariaDB *'
silentArgs = "SERVICENAME=MySQL /qn /norestart /l*v `"$($env:TEMP)\$($packageName).$($env:chocolateyPackageVersion).MsiInstall.log`""
validExitCodes = @(0,3010)
}
Write-Verbose "Downloading and installing program..."
Install-ChocolateyPackage @packageArgs
Write-Verbose "Querying registry for install location..."
$packageSearch = "MariaDB *"
$regKey = Get-ItemProperty -Path @('HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*',
'HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*',
'HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*') `
-ErrorAction:SilentlyContinue `
| Where-Object {$_.DisplayName -like $packageSearch}
Write-Verbose "Adding MariaDB bin directory to path environment variable..."
$binPath = Join-Path $regKey.InstallLocation[0] "bin"
if ($binPath) {
Install-ChocolateyPath $binPath 'Machine'
Write-Verbose "Starting service..."
Start-Process -FilePath "NET" `
-ArgumentList 'START MySQL' `
-Wait `
-NoNewWindow
}
The package mariadb.install wants to run 'chocolateyInstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[N]o/[P]rint): y
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\mariadb.install\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.316' and CLR Version is '4.0.30319.42000'.
Loading community extensions
Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'
Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
Running 'ChocolateyScriptRunner' for mariadb.install v10.3.13 with packageScript 'C:\ProgramData\chocolatey\lib\mariadb.install\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\mariadb.install', installArguments: '', packageParameters: '',
Running 'C:\ProgramData\chocolatey\lib\mariadb.install\tools\chocolateyInstall.ps1'
Running Install-ChocolateyPackage -url 'https://downloads.mariadb.org/f/mariadb-10.3.13/win32-packages/mariadb-10.3.13-win32.msi' -url64bit 'https://downloads.mariadb.org/f/mariadb-10.3.13/winx64-packages/mariadb-10.3.13-winx64.msi' -checksum 'af23820183a379b45f6d9b9a2ba2b3dd8822fddf97b2ea8ee88936fc2ef466df' -checksum64 '6b750c22f385057c91687fa33d139c7df95270164e1ff588980422c128fc122d' -silentArgs 'SERVICENAME=MySQL /qn /norestart /l*v "C:\Users\Samuel\AppData\Local\Temp\chocolatey\mariadb.install.10.3.13.MsiInstall.log"' -packageName 'mariadb.install' -checksumType 'sha256' -fileType 'msi' -validExitCodes '0 3010' -checksumType64 'sha256'
Running Get-ChocolateyWebFile -packageName 'mariadb.install' -fileFullPath 'C:\Users\Samuel\AppData\Local\Temp\chocolatey\mariadb.install\10.3.13\mariadb.installInstall.msi' -url 'https://downloads.mariadb.org/f/mariadb-10.3.13/win32-packages/mariadb-10.3.13-win32.msi' -url64bit 'https://downloads.mariadb.org/f/mariadb-10.3.13/winx64-packages/mariadb-10.3.13-winx64.msi' -checksum 'af23820183a379b45f6d9b9a2ba2b3dd8822fddf97b2ea8ee88936fc2ef466df' -checksumType 'sha256' -checksum64 '6b750c22f385057c91687fa33d139c7df95270164e1ff588980422c128fc122d' -checksumType64 'sha256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
Running Get-ProcessorBits -compare '64'
CPU is 64 bit
Setting url to 'https://downloads.mariadb.org/f/mariadb-10.3.13/winx64-packages/mariadb-10.3.13-winx64.msi' and bitPackage to 64
Running Get-WebFileName -url 'https://downloads.mariadb.org/f/mariadb-10.3.13/winx64-packages/mariadb-10.3.13-winx64.msi' -defaultName 'mariadb.installInstall.msi'
Url request/response failed - file name will be 'mariadb.installInstall.msi': Exception calling "GetResponse" with "0" argument(s): "The request was aborted: Could not create SSL/TLS secure channel."
Running Get-WebHeaders -url 'https://downloads.mariadb.org/f/mariadb-10.3.13/winx64-packages/mariadb-10.3.13-winx64.msi' -ErrorAction 'Stop'
Setting the UserAgent to 'chocolatey command line'
Request Headers:
'Accept':'*/*'
'User-Agent':'chocolatey command line'
Attempt to get headers for https://downloads.mariadb.org/f/mariadb-10.3.13/winx64-packages/mariadb-10.3.13-winx64.msi failed.
The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://downloads.mariadb.org/f/mariadb-10.3.13/winx64-packages/mariadb-10.3.13-winx64.msi'. Exception calling "GetResponse" with "0" argument(s): "The request was aborted: Could not create SSL/TLS secure channel."
Downloading mariadb.install 64 bit
from 'https://downloads.mariadb.org/f/mariadb-10.3.13/winx64-packages/mariadb-10.3.13-winx64.msi'
Running Get-WebFile -url 'https://downloads.mariadb.org/f/mariadb-10.3.13/winx64-packages/mariadb-10.3.13-winx64.msi' -fileName 'C:\Users\Samuel\AppData\Local\Temp\chocolatey\mariadb.install\10.3.13\mariadb.installInstall.msi' -options 'System.Collections.Hashtable'
Setting request timeout to 30000
Setting read/write timeout to 2700000
Setting the UserAgent to 'chocolatey command line'
ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://downloads.mariadb.org/f/mariadb-10.3.13/winx64-packages/mariadb-10.3.13-winx64.msi'. Exception calling "GetResponse" with "0" argument(s): "The request was aborted: Could not create SSL/TLS secure channel."
at Get-WebFile, C:\ProgramData\chocolatey\helpers\functions\Get-WebFile.ps1: line 331
at Get-ChocolateyWebFile, C:\ProgramData\chocolatey\helpers\functions\Get-ChocolateyWebFile.ps1: line 345
at Install-ChocolateyPackage, C:\ProgramData\chocolatey\helpers\functions\Install-ChocolateyPackage.ps1: line 324
at <ScriptBlock>, C:\ProgramData\chocolatey\lib\mariadb.install\tools\chocolateyInstall.ps1: line 27
at <ScriptBlock>, C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1: line 48
at <ScriptBlock>, <No file>: line 1
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\mariadb.install\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '404'.
Calling command ['"C:\WINDOWS\System32\shutdown.exe" /a']
Command ['"C:\WINDOWS\System32\shutdown.exe" /a'] exited with '1116'
Capturing package files in 'C:\ProgramData\chocolatey\lib\mariadb.install'
The install of mariadb.install was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\mariadb.install\tools\chocolateyInstall.ps1'.
See log for details.
[NuGet] Added file 'mariadb.nuspec' to folder 'mariadb'.
[NuGet] Added file 'mariadb.nupkg' to folder 'mariadb'.
mariadb v10.3.13 [Approved]
mariadb package files install completed. Performing other installation steps.
Capturing package files in 'C:\ProgramData\chocolatey\lib\mariadb'
There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\mariadb.10.3.13\.files'
The install of mariadb was successful.
Software installed to 'C:\tools\mariadb'
Chocolatey installed 1/2 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures
- mariadb.install (exited 404) - Error while running 'C:\ProgramData\chocolatey\lib\mariadb.install\tools\chocolateyInstall.ps1'.
See log for details.
Exiting with 404
choco install -y icloud
fails with error 1603
iCloud 7.21.0.23
as well as App Support and Bonjour mentioned belowiCloud
folder with 11 icons such as Calendar,
Contacts
etc
Apple Software Update
entry and an ARP item Apple Software Update 2.6.3.1
Apple Application Support (64-bit) 8.7
and Bonjour 3.0.0.10
choco-upgrade-all-at-startup zoom skype skype-disable-updates-winconfig
- I don't know if these were necessary but I'm telling you what I didchoco install -y icloud --force --install-arguments="'/l*v c:\iCloud_msi_install.log'"
choco install -y icloud --force --install-arguments="'/l*v c:\iCloud_msi_install.log'"
Chocolatey v0.10.15
Installing the following packages:
icloud
By installing you accept licenses for the packages.
Progress: Downloading iCloud 7.21.0.23... 100%
iCloud v7.21.0.23 (forced) [Approved]
icloud package files install completed. Performing other installation steps.
Downloading iCloud
from 'http://updates-http.cdn-apple.com/2020/windows/001-39935-20200911-1A70AA56-F448-11EA-8CC0-99D41950005E/iCloudSetup.exe'
Progress: 100% - Completed download of C:\Users\Me\AppData\Local\Temp\chocolatey\iCloud\7.21.0.23\iCloudSetup.exe (153.68 MB).
Download of iCloudSetup.exe (153.68 MB) completed.
Hashes match.
Extracting C:\Users\Me\AppData\Local\Temp\chocolatey\iCloud\7.21.0.23\iCloudSetup.exe to C:\Users\Me\AppData\Local\Temp\chocolatey\iCloud\7.21.0.23...
C:\Users\Me\AppData\Local\Temp\chocolatey\iCloud\7.21.0.23
Installing 64-bit AppleApplicationSupport64.msi...
AppleApplicationSupport64.msi has been installed.
Installing 64-bit Bonjour64.msi...
Bonjour64.msi has been installed.
Installing 64-bit iCloud64.msi...
WARNING: Generic MSI Error. This is a local environment error, not an issue with a package or the MSI itself - it could mean a pending reboot is necessary prior to install or something else (like the same version is already installed). Please see MSI log if available. If not, try again adding '--install-arguments="'/l*v c:\iCloud_msi_install.log'"'. Then search the MSI Log for "Return Value 3" and look above that for the error.
WARNING: Exit code '1603' was considered valid by script, but not as a Chocolatey success code. Returning '0'.
iCloud64.msi has been installed.
icloud may be able to be automatically uninstalled.
The install of icloud was successful.
Software installed to 'C:\Program Files (x86)\Bonjour\'
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
More extensive logs available:
Just a new package by request of @gep13
It would be good to be able to install nginx as a Windows Service and run as an account other than SYSTEM
As mentioned in package comments for nginx, even when using the /installLocation
parameter, the actual directory that nginx ends up in changes depending on the version number.. eg. C:\nginx\nginx-1.17.9
.
I suspect this is caused by the unzipping using the zip filename.
Probably should preserve existing config during an upgrade
if the install doesn't exit with an success exitcode the iso should be unmounted
if the install doesn't exit with an success exitcode the iso stays mounted and will add another mounted drive on every run
try catch finally? -> finally does the dismount
https://github.com/mkevenaar/chocolatey-packages/blob/master/extensions/chocolatey-isomount.extension/extensions/Install-ChocolateyIsoInstallPackage.ps1#L161-L171
We are using a german language pack. and we try installing mssql with the parameter /ENU on it with puppet. if the english language pack is not installed the mssql setup will fail.
we worked around it
The chocolatey package microsoft-windows-terminal
should install the latest stable version of the terminal from the releases page. You can see the version v1.1.1671.0 is tagged as pre-release.
Currently, it disregards the GitHub releases tag and install the one on the top, no matter if it is the pre-release version or the stable release version.
Relying on the tag of the GitHub release for getting the package would be a better option. The link (https://github.com/microsoft/terminal/releases/latest) should always point to the latest stable version (currently v1.0.1401.0) even if the upstream updates the package version.
Secondly, a different chocolatey package microsoft-windows-terminal-beta
could be made that would track only the pre-release versions of this terminal.
I'm not sure how to specify the steps to reproduce. I believe the explanation above is enough but if you think this step is absolutely necessary, please guide me on how would I properly write the steps to reproduce.
As I plan to use the terminal very frequently, I would appreciate if it was running a stable version rather than a pre release version. I hope I am making sense here.
I would be happy to send a PR if you could guide me how the install scripts are built.
Start Menu shortcut can be found in Start Menu after installation.
There is no shortcut to DB browser for SQLite in startup menu. It is needed to locate the program on disk and create shortcut manually and place it to Start Menu.
Create shortcut with installation script.
A package upgrade should remove the previous version and leave only the current version on the computer.
Currently, all versions of a package remain on the computer after an upgrade of the package. This means that users installing clion will end up wasting a lot of hard disk space.
A solution would be to remove the currently installed version of clion before installing the latest version.
C:\Program Files (x86)\Jetbrains
Can you please publish the EAP builds of PyCharm as prerelease versions to chocolatey?
Currently only final versions are published to Chocolatey with no way of checking the EAP versions of PyCharm at all.
@Spunkie has this set up already for our PHPStorm package (he's building the EAP releases and my repo only takes the final releases, don't ask me why we split it that way) over here: https://github.com/Spunkie/chocolatey-packages/tree/master/automatic/phpstorm
Jetbrains releases public Release Candidate versions of their products usually a couple of weeks before the final version to get feedback from the community and fix real-world issues.
They're definitely prerelease versions, but Chocolatey has a feature to distinguish final and prerelease versions and only offer prerelease versions to people explicitly asking for them.
Also JetBrains does the EAP thing very regularly with almost each of their products and almost every "feature" (in the year.feature.patch schema) version.
Wireshark package lacks ability to install additional plugins like ciscodump / randpkt / sshdump
ciscodump, randpkt, sshdump should be installed or we should be able to select them on install
Those plugins are not installed.
choco install wireshark
My primary goal is to be able to use sshdump to make remote captures.
choso install jetbrains-rider
should install Rider to C:\Program Files\JetBrains\JetBrains Rider 2020.2.4\
choso install jetbrains-rider
installs Rider to C:\Program Files (x86)\JetBrains\JetBrains Rider 2020.2.4\
, which leads to rider.bat
being broken (see IDEA-254793).
Not using rider.bat
after Rider installation (which is what most users do).
choso install jetbrains-rider
"C:\Program Files (x86)\JetBrains\JetBrains Rider 2020.2.4\bin\rider.bat"
\JetBrains\JetBrains was unexpected at this time.
Honestly, I don't know under which circumstances users could want to use the Batch file instead of rider64.exe
, but practice shows they sometimes are doing that.
2020.2.4
, latest available at the moment0.10.15
PowerToys v0.20.0
was released 7/31 and it announces the availability in my windows sidebar, but I hadn't seen any update via Chocolatey.
It hasn't been that long, so I assume an update is likely coming, but since these are automatic, I figured I'd add an issue just in case.
While trying to install bitvise during a packer install I was attempting to set the certificates during install but found the option was not available.
Version 8.19 of Bitvise Server has the following output when you run BvSshServer-Inst.exe -?
BvSshServer-Inst -installDir=directory OR -defaultInstance OR -instance=name
[-force OR -abortOnWarning[=warning-list-or-mask]
[-acceptEULA] [-interactive] [-noRollback]
[-renameExistingDir=existingDir]
[-activationCode=activation-code-hex]
[-keypairs=keypairs-file]
[-certificates=certificates-file]
[-settings=settings-file]
[-instanceTypeSettings=fileName]
[-startService]
[-startBssCtrl]
Looking at the install script it appears
siteTypeSettings
=> instanceTypeSettings
and certificates
is new
Lastpass gets installed.
Lastpass doesn't get installed.
Can you at least verify it works on your machine?
I should be allow to install mongodb import/export tools only, using the msi, without installing the mongodb database that runs as a windows service. This WOULD work with the following chocolatey puppet code.
package { 'mongodb':
ensure => '4.2.3',
# ensure => 'absent',
install_options => [
'--override',
'--installArgs',
'"',
'/qn',
'/norestart',
'ADDLOCAL="ImportExportTools"',
'"'
],
provider => 'chocolatey',
}
The installation of ONLY the import/export tools works with the above code BUT since the chocolateyinstall.ps1 calls Start-Service and Get-Service it fails!
Either removing the Start-Service and Get-Service calls OR allowing the ability to pass a package parameter to skip the windows service checks.
and more
We’re seeing general failures on our AppVeyor tests that used to perform choco install wireshark
successfully. This only happens since 3.0 and seems to be related to the new dependency « vcredist140 »
Here are the logs of one of the failing tests (please ignore the top error, unrelated): https://ci.appveyor.com/api/buildjobs/collw9fshr6cmlo8/log
An automated test build of Scapy: https://github.com/secdev/scapy/blob/master/.appveyor.yml#L36
I tried to manually install the failing packages:
https://ci.appveyor.com/api/buildjobs/jk8kj2svv9k9yaei/log
As advised on Chocolatey’s gitter, to no avail.
Any help will be greatly appreciated, thanks for your work !
Investigate for all packages if the software can be embedded. Especially from SF.
I installed MySql and it worked on my main PC. But when I tried the same for my Laptop which is 32 bit Windows 10, it installed but the software didn't work.
It gave me this error on my Laptop.
C:\Users\Dell>"C:\tools\mysql\current\bin\mysqld" --console
This version of C:\tools\mysql\current\bin\mysqld.exe is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher.
It looks like the upstream doesn't have zip files for x86 PC so the package should check for x86
using Get-OSArchitectureWidth
and stop the installation informing the user.
choco install mysql
"C:\tools\mysql\current\bin\mysqld" --console
. This should run MySQL but doesn't run and shows not supported as above.I need to install MySql in my Laptop and for my school work where they teach me how to use this software.
Installer should run without errors even if slack.exe is not running.
Non-terminating error is thrown when running choco upgrade slack -y
C:\> choco upgrade slack -y
Chocolatey v0.10.15
Upgrading the following packages:
slack
By upgrading you accept licenses for the packages.
You have slack v4.8.0 installed. Version 4.9.0 is available based on your source(s).
Cannot find a process with the name "slack". Verify the process name and call the cmdlet again.
Only an exit code of non-zero will fail the package by default. Set
`--failonstderr` if you want error messages to also fail a script. See
`choco -h` for details.
Set ErrorAction
to SilentlyContinue
in chocolateyBeforeModify.ps1
Get-Process "slack" -ErrorAction SilentlyContinue | Stop-Process -Force
choco install slack --version 4.8.0 --allow-downgrade -y
choco upgrade slack -y
When upgrading Slack a error message is printed to console indicating an error that does not affect the upgrade process.
The new package has a dependency to nsis.install
, this should be removed.
Regards
Michael
Hi, it seems this package, when upgrading, doesn't remove older versions, so at present I already have three versions installed on my PC :-). I think this is unintended, and should be corrected, no?
I presently have versions 2018.3.1 x64, 2018.3.2 x64, 2018.3.3 x64 installed, just by issuing "choco upgrade all -y" on a regular base.
Thanks for looking into this!!
iCloud Installation complete
MSI (s) (84:58) [10:33:18:172]: Product: iCloud -- Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action RuniCloudUpgrade, location: C:\Program Files (x86)\Common Files\Apple\Internet Services, command: C:\Program Files (x86)\Common Files\Apple\Internet Services\iCloud.exe /upgrade
Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action RuniCloudUpgrade, location: C:\Program Files (x86)\Common Files\Apple\Internet Services, command: C:\Program Files (x86)\Common Files\Apple\Internet Services\iCloud.exe /upgrade
This error does not occur with the iCloudSetup.exe
Add mongo to env:Path
Note : about_environment_variables
Non Action
Either of the following
Is there a problem with adding it or is it intentional?
When I upgrade packages with choco upgrade all
, I'd expect old versions of PyCharm to be removed.
Old versions of PyCharm still exist on the system after upgrading.
choco install pycharm-community --version=2020.2.1
choco upgrade pycharm-community
The newest version (2020.2.2) is installed, but 2020.2.1 is not uninstalled. I do see a warning message "WARNING: pycharm-community has already been uninstalled by other means", indicating that Chocolatey has detected some problem with the install perhaps? I haven't touched the manual (un)install, and haven't even opened PyCharm at this point.
It's a mild inconvenience - I have to manually remove old versions each time.
Apologies - I know this is a duplicate of #5, but I didn't get any response on that one.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.