pauby / chocopackages Goto Github PK
View Code? Open in Web Editor NEWChocolatey packages I maintain
Chocolatey packages I maintain
Package: https://chocolatey.org/packages/adobedigitaleditions
The AHK with this package tries to avoid installing Norton with it. It's being reported here and here that Nortoin is being installed again.
Need to investigate the installer and stop Norton from being installed.
Add a /EnterPassword
parameter and allow users to enter the password at the command line as a Secure String.
Version 2.222.4 of Jenkins bundled Java with the install. Versions after this didn't and appear to install to a different location. An issue has also been identified where jobs are not carried forward when upgrading.
For the time being, stop automatic updates of Jenkins and unlist versions after 2.222.4.
New versions since June 2020 (3826) are not available in Chocolatey
I think I noticed this with another version, but it definitely happened this time. The current package says it is 0.9.0, but when running the command:
gh version 0.9.0-pre (2020-05-26)
https://github.com/cli/cli/releases/tag/v0.9.0-pre
A new release of gh is available: 0.9.0-pre โ v0.9.0
https://github.com/cli/cli/releases/tag/v0.9.0
When I try to uninstall KeePass Plugin KeeAgent, it returns an error:
keepass-plugin-keeagent v0.10.1.20180815
ERROR: Cannot bind argument to parameter 'Path' because it is null.
keepass-plugin-keeagent uninstall not successful.
Error while running 'C:\ProgramData\chocolatey\lib\keepass-plugin-keeagent\tools\chocolateyUninstall.ps1'.
See log for details.
keepass-plugin-keeagent not uninstalled. An error occurred during uninstall:
keepass-plugin-keeagent uninstall not successful.
keepass.portable seems to save its configuration next to its executable (inside "KeePass.config.xml"). However by default, it has no permission to write to that file (unless you run it as Administrator).
To fix it on my machine, I had to give the whole "tools" folder permissions (see attached screenshot).
This will reduce space but mainly it is to stop all of the files being shown on the package page as there are too many and it slows the page load.
Version 3.0 was released on April 20th:
https://github.com/ihanson/KeePass-Rule-Builder/releases/tag/v3.0
I see that an updated package was previously submitted here:
https://community.chocolatey.org/packages/keepass-plugin-rulebuilder/3.0
However, the updated package had failed automated testing and was ultimately rejected since the failure wasn't resolved in time.
Bad checksums on the chocolatey package s3browser.
Please update your package.
Hi,
I am using Chocolatey and really like the Readable Passphrase Keepass plugin.
I noticed that the latest version is not properly packaged and scripts still refer to version 1.1.1.
I made two pull-requests because I was not sure how to properly update things so that automatic packaging kicks in properly.
I hope this helps.
Need to check the package is automatically updating properly and submit fixed version.
Chocolatey package Snagit has has issues.
snagit v2020.1.3 [Approved]
snagit package files install completed. Performing other installation steps.
Downloading snagit 64 bit
from 'https://download.techsmith.com/snagit/releases/2013/snagit.msi'
Progress: 100% - Completed download of 'snagit.msi' (326.86 MB).
Download of 'snagit.msi' (326.86 MB) completed.
Error - hashes do not match. Actual value was '02ADD83F068FEA103B8324B7DB7864070E0A50858C7254476950C2446EC85EA5'.
This issue was originally highlighted in the main hugo repo:
gohugoio/hugo#7186
The x86 version of hugo is not packaged and is reproducible when attempting to install hugo x86 using the -forcex86
flag, the installed version of hugo is v0.51 which was the one last packaged.
Hi,
this is outdated: KeePass Plugin EnhancedEntryView
Current version is 2.3.1 (https://sourceforge.net/projects/kpenhentryview/files/v2.3.1/)
what is available on chocolatey is 2.1.4.
Could you please update?
If you need help, please drop me a note on what and how.
Thanks
It has been pointed out that your package for invokebuild is actually a duplicate of the existing package invoke-build. This must have been missed during the initial review/approval of the package.
Since the existing invoke-build package is named in accordance with the actual underlying software, I would suggest that the invokebuild be moved through the deprecation process, as it is a duplicate.
The checksum of the downloaded file does not match the checksum inside the nuspec file? Yet, manual check says things are ok?
ERROR: Checksum for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\onenote\16.0.10325.20082\setuponenotefreeretail.x64.en-us_.exe' did not meet 'f31fd0c5dac1cc8ff1f8e4e5e08bda472e7b69cfd98460a505cddde82ef0af3b' 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 upgrade of onenote was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\onenote\tools\chocolateyinstall.ps1'.
See log for details.
choco.summary.log
2018-08-11 21:05:25,592 5980 [INFO ] - Downloading onenote 64 bit
from 'https://www.onenote.com/download/win32/x64/en-US'
2018-08-11 21:05:28,608 5980 [INFO ] -
2018-08-11 21:05:28,623 5980 [INFO ] - Download of setuponenotefreeretail.x64.en-us_.exe (7.24 MB) completed.
2018-08-11 21:05:32,014 5980 [ERROR] - ERROR: Checksum for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\onenote\16.0.10325.20082\setuponenotefreeretail.x64.en-us_.exe' did not meet 'f31fd0c5dac1cc8ff1f8e4e5e08bda472e7b69cfd98460a505cddde82ef0af3b' 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.
2018-08-11 21:05:32,389 5980 [ERROR] - The upgrade of onenote was NOT successful.
chocolatey.log
2018-08-11 21:05:32,014 5980 [ERROR] - ERROR: Checksum for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\onenote\16.0.10325.20082\setuponenotefreeretail.x64.en-us_.exe' did not meet 'f31fd0c5dac1cc8ff1f8e4e5e08bda472e7b69cfd98460a505cddde82ef0af3b' 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.
2018-08-11 21:05:32,030 5980 [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\onenote\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '''] exited with '-1'.
2018-08-11 21:05:32,045 5980 [DEBUG] - Calling command ['"C:\WINDOWS\System32\shutdown.exe" /a']
2018-08-11 21:05:32,123 5980 [DEBUG] - Command ['"C:\WINDOWS\System32\shutdown.exe" /a'] exited with '1116'
2018-08-11 21:05:32,186 5980 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\onenote'
2018-08-11 21:05:32,186 5980 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\onenote\onenote.nupkg'
with checksum 'F555AD309175D169B3D814F8E30BBE5A'
2018-08-11 21:05:32,201 5980 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\onenote\onenote.nuspec'
with checksum 'C54D5E97F22A17856204030101452270'
2018-08-11 21:05:32,217 5980 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\onenote\tools\chocolateyinstall.ps1'
with checksum 'A0E12072515B3EC481D74E87585E7DD1'
2018-08-11 21:05:32,280 5980 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\onenote.16.0.10325.20082\.arguments".
2018-08-11 21:05:32,295 5980 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\onenote.16.0.10325.20082\.extra".
2018-08-11 21:05:32,311 5980 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\onenote.16.0.10325.20082\.version".
2018-08-11 21:05:32,311 5980 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\onenote.16.0.10325.20082\.sxs".
2018-08-11 21:05:32,326 5980 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\onenote.16.0.10325.20082\.pin".
2018-08-11 21:05:32,342 5980 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bad\onenote".
2018-08-11 21:05:32,373 5980 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2018-08-11 21:05:32,389 5980 [ERROR] - The upgrade of onenote was NOT successful.
2018-08-11 21:05:32,405 5980 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\onenote\tools\chocolateyinstall.ps1'.
See log for details.
2018-08-11 21:05:32,405 5980 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\onenote'
to 'C:\ProgramData\chocolatey\lib-bad\onenote'
nuspec file
$packageArgs = @{
packageName = $env:ChocolateyPackageName
fileType = 'EXE'
url = 'https://www.onenote.com/download/win32/x86/en-US'
checksum = '4bc9206dff19fe14cabeee866b9e18f43a22c2fe2ee7bf6ea12e8a147195bc81'
checksumType = 'sha256'
url64 = 'https://www.onenote.com/download/win32/x64/en-US'
checksum64 = '9049bd23137e0ce1e8f7f8defbfc7e430e4080a297b9f0f6e69be52e715b222c'
checksumType64 = 'sha256'
silentArgs = ''
validExitCodes = $(0)
}
$ shasum -a 256 setuponenotefreeretail.x64.en-us_.exe
9049bd23137e0ce1e8f7f8defbfc7e430e4080a297b9f0f6e69be52e715b222c setuponenotefreeretail.x64.en-us_.exe
onenote v16.0.12325.20298 [Approved]
onenote package files upgrade completed. Performing other installation steps.
File appears to be downloaded already. Verifying with package checksum to determine if it needs to be redownloaded.
Error - hashes do not match. Actual value was 'B40F319EDE4C5DA0AAF5B288CBFCE44B5A557FCADB9F21D4D6306CD1FA1890C2'.
Downloading onenote 64 bit
from 'https://www.onenote.com/download/win32/x64/en-US'
Progress: 100% - Completed download of C:\Users\administrator\AppData\Local\Temp\chocolatey\onenote\16.0.12325.20298\setuponenotefreeretail.x64.en-us_.exe (7.85 MB).
Download of setuponenotefreeretail.x64.en-us_.exe (7.85 MB) completed.
Error - hashes do not match. Actual value was 'B40F319EDE4C5DA0AAF5B288CBFCE44B5A557FCADB9F21D4D6306CD1FA1890C2'.
ERROR: Checksum for 'C:\Users\administrator\AppData\Local\Temp\chocolatey\onenote\16.0.12325.20298\setuponenotefreeretail.x64.en-us_.exe' did not meet 'ccf23b13838457a0cce94dfa5db27480f4abea3d088d728ac0f518fe297403f3' 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 upgrade of onenote was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\onenote\tools\chocolateyinstall.ps1'.
See log for details.
When installing the package virtualbox-guest-additions-guest.install there are no checks by the AHK script as to what drivers are being installed. See if we can check for this.
Keepass appears to be under the GNU GPL v2 license (see https://sourceforge.net/projects/keepass/ and scroll down to License) so we should be able to embed the software in the package and remove the issues around downloading it from Sourceforge.
Hi, I've been trying to update this package but I get the following error:
T:\>choco install gitter --version 5.0.1
Chocolatey v0.10.15
Installing the following packages:
gitter
By installing you accept licenses for the packages.
Progress: Downloading gitter 5.0.1... 100%
gitter v5.0.1
gitter package files install completed. Performing other installation steps.
File appears to be downloaded already. Verifying with package checksum to determine if it needs to be redownloaded.
Hashes match.
Hashes match.
Installing gitter...
gitter has been installed.
ERROR: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Cannot create a file when that file already exists.
The install of gitter was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\gitter\tools\chocolateyInstall.ps1'.
See log for details.
Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures
- gitter (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\gitter\tools\chocolateyInstall.ps1'.
See log for details.
But the installation on the cloud machine works?
Any help on this is appreciated.
Thanks.
Hey! This is just a minor thing. The Update status link in the README leads to a gist that is over 2 years old.
Maybe the environment variable for the gist_id isn't set correctly in appveyor, or so.
keepass.install is missing the foss, cross-platform, and freeware tags from the obligatory tags list:
https://github.com/chocolatey/chocolatey-coreteampackages/blob/master/CONTRIBUTING.md#122-obligatory-tags
The virtualbox-guest-additions-guest.install
package has the wrong license linked.
It is linking to the Oracle Personal Use and Evaluation License, while it actually should be linking to the GPL v2.0 license. This is according to the Licensing FAQ.
Also, because the ISO is only about ~50mb, and the GPL allows redistribution of binaries, I believe this package is embeddable.
Would you be open to adding a package parameter to the keepass.portable package to allow unzipping to a custom location? I have always kept my keepass portable on my OneDrive, making it easy to get to my passwords and the program from other computers.
If so, I'd be more than happy to make the changes and send you a pull request. Thanks!
Keeping this here to track updates to this - have contacted the maintainer of discord.install to see if they want to take over this discord package (or vice versa).
After installation of GitHub CLI 0.10.0 on Windows 10, it is not possible to run gh
application. Reason: the PATH environment variable doesn't have the path to the place, when gh
is installed.
The application was installed to C:\Program Files (x86)\GitHub CLI\
OS version: Windows 10 Pro version 2004 (OS Build 19041.329)
Chocolatey version: 0.10.15
Attempts to fix the issue:
Downloading adobedigitaleditions
from 'https://adedownload.adobe.com/pub/adobe/digitaleditions/ADE_4.5_Installer.exe'
Progress: 100% - Completed download of C:\Users\koppor\AppData\Local\Temp\chocolatey\adobedigitaleditions\4.5.11\ADE_4.5_Installer.exe (8.59 MB).
Download of ADE_4.5_Installer.exe (8.59 MB) completed.
Error - hashes do not match. Actual value was 'A21A9D5389728FDAC6A7288953DDDEEA774EF2BEE07F1CAF7EA20BBED8F5A2C6'.
Details in chocolatey/choco#2177
When Snagit 2020 came out, a choco upgrade
from snagit 2019 results in a side-by-side install of 2019 and 2020. We should uninstall previous major version before installing new ones.
There are language specific versions available. Is there a way to add a switch for the locale (or a way to download the version for the installed Windows language)?
It seems that adobedigitaleditions' package is broken due to an updated installer.
choco install adobedigitaleditions
fails with mismatch checksum error. Error message and manual download (https://adedownload.adobe.com/pub/adobe/digitaleditions/ADE_4.5_Installer.exe) give 6BC526BD4BE297398B5EA13E1113567B14ED2A3D8DD40300B137B005EE62928D as the new checksum.
Thanks for packaging this!
"WMF (aka powershell) 5.1 needs to be installed on the machine" - please consider adding it as a dependency. (Yeah, I know it still won't pass the verifier as installing PS5 will require a reboot.)
KeePass always fails on upgrades for me since I always have KeePass running and it's native installer doesn't currently support stopping KeePass before upgrading it.
I'd like to request you add that feature to the install script.
The below code added to chocolateyinstall should do the trick:
if ((get-process "KeePass" -ea SilentlyContinue) -eq $Null){
$KeePassRunning="False" # Always false on new install.
} else {
$KeePassRunning="True"
Write-Host "KeePass found running." -foreground magenta
}
....current script here.....
if ($KeePassRunning -eq "True"){
$bits = Get-ProcessorBits
Write-Host "Running KeePass" -foreground magenta
if ($bits -eq 64){
& "${env:PROGRAMFILES(x86)}\KeePass Password Safe 2\KeePass.exe"
} else {
& "$env:PROGRAMFILES\KeePass Password Safe 2\KeePass.exe"
}
}
I had BC4 and SnagIt 2019.1.3 on my system. When I did cuninst snagit -y
it uninstalled Beyond Compare 4 and not SnagIt 2019.
> choco install freecommander-xe.install
Downloading freecommander-xe.install
from 'https://freecommander.com/downloads/FreeCommanderXE-32-public_setup.zip'
Progress: 100% - Completed download of C:\Users\vagrant\AppData\Local\Temp\chocolatey\freecommander-xe.install\2019.790.
0.20181221\FreeCommanderXE-32-public_setup.zip (8.68 MB).
Download of FreeCommanderXE-32-public_setup.zip (8.68 MB) completed.
Error - hashes do not match. Actual value was 'D92E0DC33094F0DAD293D560DC95A1293B4CE025B2CC1F93D435535BA919D017'.
syncthing v1.18.1 [Approved]
syncthing package files upgrade completed. Performing other installation steps.
ERROR: Cannot convert 'System.Object[]' to the type 'System.String' required by parameter 'FileFullPath64'. Specified method is not supported.
The upgrade of syncthing was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\syncthing\tools\chocolateyInstall.ps1'.
See log for details.
The BoxDrive package is only useful when installing the software for the first time. After that BoxDrive automatically keeps itself up to date. However if you try and install an update once it's installed it will error and exit.
Need to add a check in the package for the software already being installed and then exiting gracefully.
See this for more details.
Message sent indicating the checksum for OneNote is incorrect. This needs resolved and the automatic update needs investigating.
Looks like the Camtasia package breaks when new versions come out.
Can you use the links from https://www.techsmith.com/download/oldversions so they stay working?
eg. https://download.techsmith.com/camtasiastudio/enu/1801/camtasia.exe
It looks like Yubico have once agian changed the download location for their software. This time it's been moved back to their website. So we need to update the update scripts.
See this Disqus comment (reproduced below just in case it disappears):
This package is outdated. Yubico has moved new releases of Yubikey Manager from GitHub to this location: https://developers.yubico.com/yubikey-manager-qt/Releases/
I recently tried to contribute a PR to the original dtgm repo for an update to the KeeTrayTOTP plugin for KeePass, but found out that repo is no longer being maintained. As suggested by @gep13, since you have taken over maintenance of the main KeePass choco package and a few of the plugins already, I'm inquiring if you would be willing to adopt one more package?
I can submit a PR to add that plugin to your repo. It looks like your setup is a bit different than what was in the dtgm repo, so I'll adjust accordingly if you agree?
Hi,
'choco install steam' fails with mismatch checksum error. It seems that the steam installer file has changed, I get the following sha256-checksum out of it:
3bc6942fe09f10ed3447bccdcf4a70ed369366fef6b2c7f43b541f1a3c5d1c51
KeePass KeeAgent changed the plugin name leaving users with both named versions. How to handle this?
Hi
Please can you add the 64-bit version to the package.
Thanks
Chocolatey v0.10.13
Chocolatey is running on Windows v 6.3.9600.0
Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
Command line: "C:\ProgramData\chocolatey\choco.exe" install dbatools -vd
Received arguments: install dbatools -vd
RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
Sending message 'PreRunMessage' out if there are subscribers...
[Pending] Removing all pending packages that should not be considered installed...
Performing validation checks.
Global Configuration Validation Checks:
- Package Exit Code / Exit On Reboot = Checked
System State Validation Checks:
Reboot Requirement Checks:
- Pending Computer Rename = Checked
- Pending Component Based Servicing = Checked
- Pending Windows Auto Update = Checked
- Pending File Rename Operations = Flagged
2 validations performed. 1 success(es), 1 warning(s), and 0 error(s).
Validation Warnings:
- A pending system reboot request has been detected, however, this is
being ignored due to the current Chocolatey configuration. If you
want to halt when this occurs, then either set the global feature
using:
choco feature enable -name=exitOnRebootDetected
or pass the option --exit-when-reboot-detected.
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\sbou04z\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://chocolatey.org/api/v2/'|SourceType='normal'|
Debug='True'|Verbose='True'|Trace='False'|Force='False'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='False'|
AcceptLicense='False'|
AllowUnofficialBuild='False'|Input='dbatools'|AllVersions='False'|
SkipPackageInstallProvider='False'|PackageNames='dbatools'|
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='6.3.9600.0'|
Information.PlatformName='Windows 8.1'|
Information.ChocolateyVersion='0.10.13.0'|
Information.ChocolateyProductVersion='0.10.13'|
Information.FullName='choco, Version=0.10.13.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='sbou04z'|Information.UserDomainName='DEC'|
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.UseEnhancedExitCodes='True'|
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.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'|
_ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
Installing the following packages:
dbatools
By installing you accept licenses for the packages.
Using 'https://chocolatey.org/api/v2/'.
- Supports prereleases? 'True'.
- Is ServiceBased? 'True'.
Package 'dbatools' found on source 'https://chocolatey.org/api/v2/'
Progress: Downloading dbatools 0.9.791... 99%
Progress: Downloading dbatools 0.9.791... 99%
Progress: Downloading dbatools 0.9.791... 100%
[NuGet] Installing 'dbatools 0.9.791'.
[NuGet] Added file '.skipAutoUninstaller' to folder 'dbatools\tools'.
[NuGet] Added file 'chocolateyBeforeModify.ps1' to folder 'dbatools\tools'.
[NuGet] Added file 'chocolateyInstall.ps1' to folder 'dbatools\tools'.
[NuGet] Added file 'chocolateyUninstall.ps1' to folder 'dbatools\tools'.
[NuGet] Added file 'dbatools.zip' to folder 'dbatools\tools'.
[NuGet] Added file 'LICENSE.txt' to folder 'dbatools\tools'.
[NuGet] Added file 'VERIFICATION.txt' to folder 'dbatools\tools'.
[NuGet] Added file 'dbatools.nuspec' to folder 'dbatools'.
[NuGet] Added file 'dbatools.nupkg' to folder 'dbatools'.
[NuGet] Successfully installed 'dbatools 0.9.791'.
dbatools v0.9.791 [Approved]
dbatools package files install completed. Performing other installation steps.
Setting installer args for dbatools
Setting package parameters for dbatools
Contents of 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1':
$ErrorActionPreference = 'Stop'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$moduleName = 'dbatools' # this may be different from the package name and different case
if ($PSVersionTable.PSVersion.Major -lt 3) {
throw "$moduleName) module requires a minimum of PowerShell v3."
}
# module may already be installed outside of Chocolatey
Remove-Module -Name $moduleName -Force -ErrorAction SilentlyContinue
$sourcePath = Join-Path -Path $toolsDir -ChildPath "$modulename.zip"
$destPath = Join-Path -Path $env:ProgramFiles -ChildPath "WindowsPowerShell\Modules\$moduleName"
if ($PSVersionTable.PSVersion.Major -ge 5)
{
$manifestFile = Join-Path -Path $toolsDir -ChildPath "$moduleName\$moduleName.psd1"
$manifest = Test-ModuleManifest -Path $manifestFile -WarningAction Ignore -ErrorAction Stop
$destPath = Join-Path -Path $destPath -ChildPath $manifest.Version.ToString()
}
Write-Verbose "Creating destination directory '$destPath' for module."
New-Item -Path $destPath -ItemType Directory -Force -ErrorAction SilentlyContinue | Out-Null
Write-Verbose "Extracting '$moduleName' files from '$sourcePath' to '$destPath'."
Get-ChocolateyUnzip -FileFullPath $sourcePath -Destination $destPath
if ($PSVersionTable.PSVersion.Major -lt 4)
{
$modulePaths = [Environment]::GetEnvironmentVariable('PSModulePath', 'Machine') -split ';'
if ($modulePaths -notcontains $destPath)
{
Write-Verbose "Adding '$destPath' to PSModulePath."
$newModulePath = @($destPath, $modulePaths) -join ';'
[Environment]::SetEnvironmentVariable('PSModulePath', $newModulePath, 'Machine')
$env:PSModulePath = $newModulePath
}
}
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\dbatools\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=fr-FR, PublicKeyToken=31bf3856ad364e35, requested by ''
Host version is 5.1.14409.1005, PowerShell Version is '5.1.14409.1018' and CLR Version is '4.0.30319.42000'.
VERBOSE: Exporting function 'Format-FileSize'.
VERBOSE: Exporting function 'Get-ChecksumValid'.
VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
VERBOSE: Exporting function 'Get-EnvironmentVariable'.
VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
VERBOSE: Exporting function 'Get-FtpFile'.
VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
VERBOSE: Exporting function 'Get-PackageParameters'.
VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
VERBOSE: Exporting function 'Get-ToolsLocation'.
VERBOSE: Exporting function 'Get-UACEnabled'.
VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
VERBOSE: Exporting function 'Get-VirusCheckValid'.
VERBOSE: Exporting function 'Get-WebFile'.
VERBOSE: Exporting function 'Get-WebFileName'.
VERBOSE: Exporting function 'Get-WebHeaders'.
VERBOSE: Exporting function 'Install-BinFile'.
VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
VERBOSE: Exporting function 'Install-ChocolateyPackage'.
VERBOSE: Exporting function 'Install-ChocolateyPath'.
VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
VERBOSE: Exporting function 'Install-Vsix'.
VERBOSE: Exporting function 'Set-EnvironmentVariable'.
VERBOSE: Exporting function 'Set-PowerShellExitCode'.
VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
VERBOSE: Exporting function 'Test-ProcessAdminRights'.
VERBOSE: Exporting function 'Uninstall-BinFile'.
VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
VERBOSE: Exporting function 'Update-SessionEnvironment'.
VERBOSE: Exporting function 'Write-ChocolateyFailure'.
VERBOSE: Exporting function 'Write-ChocolateySuccess'.
VERBOSE: Exporting function 'Write-FileUpdateLog'.
VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
VERBOSE: Exporting alias 'Get-ProcessorBits'.
VERBOSE: Exporting alias 'Get-OSBitness'.
VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
VERBOSE: Exporting alias 'Generate-BinFile'.
VERBOSE: Exporting alias 'Add-BinFile'.
VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
VERBOSE: Exporting alias 'Remove-BinFile'.
VERBOSE: Exporting alias 'refreshenv'.
Loading community extensions
Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'
VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'.
VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
VERBOSE: Exporting function 'Get-AppInstallLocation'.
VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
VERBOSE: Exporting function 'Get-EffectiveProxy'.
VERBOSE: Exporting function 'Get-PackageCacheLocation'.
VERBOSE: Exporting function 'Get-PackageParameters'.
VERBOSE: Exporting function 'Get-WebContent'.
VERBOSE: Exporting function 'Register-Application'.
VERBOSE: Importing function 'Get-AppInstallLocation'.
VERBOSE: Importing function 'Get-AvailableDriveLetter'.
VERBOSE: Importing function 'Get-EffectiveProxy'.
VERBOSE: Importing function 'Get-PackageCacheLocation'.
VERBOSE: Importing function 'Get-PackageParameters'.
VERBOSE: Importing function 'Get-UninstallRegistryKey'.
VERBOSE: Importing function 'Get-WebContent'.
VERBOSE: Importing function 'Register-Application'.
Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-preinstaller-checks\Chocolatey-Preinstaller-Checks.extension.psm1'
VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-preinstaller-checks\Chocolatey-Preinstaller-Checks.extension.psm1'.
VERBOSE: Exporting function 'Get-chocoInstanceCounts'.
VERBOSE: Exporting function 'Get-chocoStatus'.
VERBOSE: Exporting function 'Get-PendingRebootStatus'.
VERBOSE: Exporting function 'Get-WindowsInstallerStatus'.
VERBOSE: Exporting function 'Start-PreInstallChecks'.
VERBOSE: Exporting function 'Start-PreuninstallChecks'.
VERBOSE: Importing function 'Get-chocoInstanceCounts'.
VERBOSE: Importing function 'Get-chocoStatus'.
VERBOSE: Importing function 'Get-PendingRebootStatus'.
VERBOSE: Importing function 'Get-WindowsInstallerStatus'.
VERBOSE: Importing function 'Start-PreInstallChecks'.
VERBOSE: Importing function 'Start-PreuninstallChecks'.
Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-visualstudio\chocolatey-visualstudio.extension.psm1'
VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-visualstudio\chocolatey-visualstudio.extension.psm1'.
VERBOSE: Exporting function 'Add-VisualStudioComponent'.
VERBOSE: Exporting function 'Add-VisualStudioWorkload'.
VERBOSE: Exporting function 'Get-VisualStudioInstaller'.
VERBOSE: Exporting function 'Get-VisualStudioInstallerHealth'.
VERBOSE: Exporting function 'Get-VisualStudioInstance'.
VERBOSE: Exporting function 'Get-VisualStudioVsixInstaller'.
VERBOSE: Exporting function 'Install-VisualStudio'.
VERBOSE: Exporting function 'Install-VisualStudioInstaller'.
VERBOSE: Exporting function 'Install-VisualStudioVsixExtension'.
VERBOSE: Exporting function 'Remove-VisualStudioComponent'.
VERBOSE: Exporting function 'Remove-VisualStudioProduct'.
VERBOSE: Exporting function 'Remove-VisualStudioWorkload'.
VERBOSE: Exporting function 'Uninstall-VisualStudio'.
VERBOSE: Exporting function 'Uninstall-VisualStudioVsixExtension'.
VERBOSE: Importing function 'Add-VisualStudioComponent'.
VERBOSE: Importing function 'Add-VisualStudioWorkload'.
VERBOSE: Importing function 'Get-VisualStudioInstaller'.
VERBOSE: Importing function 'Get-VisualStudioInstallerHealth'.
VERBOSE: Importing function 'Get-VisualStudioInstance'.
VERBOSE: Importing function 'Get-VisualStudioVsixInstaller'.
VERBOSE: Importing function 'Install-VisualStudio'.
VERBOSE: Importing function 'Install-VisualStudioInstaller'.
VERBOSE: Importing function 'Install-VisualStudioVsixExtension'.
VERBOSE: Importing function 'Remove-VisualStudioComponent'.
VERBOSE: Importing function 'Remove-VisualStudioProduct'.
VERBOSE: Importing function 'Remove-VisualStudioWorkload'.
VERBOSE: Importing function 'Uninstall-VisualStudio'.
VERBOSE: Importing function 'Uninstall-VisualStudioVsixExtension'.
Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
VERBOSE: Exporting function 'Install-WindowsUpdate'.
VERBOSE: Exporting function 'Test-WindowsUpdate'.
VERBOSE: Importing function 'Install-WindowsUpdate'.
VERBOSE: Importing function 'Test-WindowsUpdate'.
VERBOSE: Exporting function 'Format-FileSize'.
VERBOSE: Exporting function 'Get-ChecksumValid'.
VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
VERBOSE: Exporting function 'Get-EnvironmentVariable'.
VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
VERBOSE: Exporting function 'Get-FtpFile'.
VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
VERBOSE: Exporting function 'Get-PackageParameters'.
VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
VERBOSE: Exporting function 'Get-ToolsLocation'.
VERBOSE: Exporting function 'Get-UACEnabled'.
VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
VERBOSE: Exporting function 'Get-VirusCheckValid'.
VERBOSE: Exporting function 'Get-WebFile'.
VERBOSE: Exporting function 'Get-WebFileName'.
VERBOSE: Exporting function 'Get-WebHeaders'.
VERBOSE: Exporting function 'Install-BinFile'.
VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
VERBOSE: Exporting function 'Install-ChocolateyPackage'.
VERBOSE: Exporting function 'Install-ChocolateyPath'.
VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
VERBOSE: Exporting function 'Install-Vsix'.
VERBOSE: Exporting function 'Set-EnvironmentVariable'.
VERBOSE: Exporting function 'Set-PowerShellExitCode'.
VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
VERBOSE: Exporting function 'Test-ProcessAdminRights'.
VERBOSE: Exporting function 'Uninstall-BinFile'.
VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
VERBOSE: Exporting function 'Update-SessionEnvironment'.
VERBOSE: Exporting function 'Write-ChocolateyFailure'.
VERBOSE: Exporting function 'Write-ChocolateySuccess'.
VERBOSE: Exporting function 'Write-FileUpdateLog'.
VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
VERBOSE: Exporting function 'Get-AppInstallLocation'.
VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
VERBOSE: Exporting function 'Get-EffectiveProxy'.
VERBOSE: Exporting function 'Get-PackageCacheLocation'.
VERBOSE: Exporting function 'Get-WebContent'.
VERBOSE: Exporting function 'Register-Application'.
VERBOSE: Exporting function 'Get-chocoInstanceCounts'.
VERBOSE: Exporting function 'Get-chocoStatus'.
VERBOSE: Exporting function 'Get-PendingRebootStatus'.
VERBOSE: Exporting function 'Get-WindowsInstallerStatus'.
VERBOSE: Exporting function 'Start-PreInstallChecks'.
VERBOSE: Exporting function 'Start-PreuninstallChecks'.
VERBOSE: Exporting function 'Add-VisualStudioComponent'.
VERBOSE: Exporting function 'Add-VisualStudioWorkload'.
VERBOSE: Exporting function 'Get-VisualStudioInstaller'.
VERBOSE: Exporting function 'Get-VisualStudioInstallerHealth'.
VERBOSE: Exporting function 'Get-VisualStudioInstance'.
VERBOSE: Exporting function 'Get-VisualStudioVsixInstaller'.
VERBOSE: Exporting function 'Install-VisualStudio'.
VERBOSE: Exporting function 'Install-VisualStudioInstaller'.
VERBOSE: Exporting function 'Install-VisualStudioVsixExtension'.
VERBOSE: Exporting function 'Remove-VisualStudioComponent'.
VERBOSE: Exporting function 'Remove-VisualStudioProduct'.
VERBOSE: Exporting function 'Remove-VisualStudioWorkload'.
VERBOSE: Exporting function 'Uninstall-VisualStudio'.
VERBOSE: Exporting function 'Uninstall-VisualStudioVsixExtension'.
VERBOSE: Exporting function 'Install-WindowsUpdate'.
VERBOSE: Exporting function 'Test-WindowsUpdate'.
VERBOSE: Exporting alias 'Get-ProcessorBits'.
VERBOSE: Exporting alias 'Get-OSBitness'.
VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
VERBOSE: Exporting alias 'Generate-BinFile'.
VERBOSE: Exporting alias 'Add-BinFile'.
VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
VERBOSE: Exporting alias 'Remove-BinFile'.
VERBOSE: Exporting alias 'refreshenv'.
VERBOSE: Importing function 'Add-VisualStudioComponent'.
VERBOSE: Importing function 'Add-VisualStudioWorkload'.
VERBOSE: Importing function 'Format-FileSize'.
VERBOSE: Importing function 'Get-AppInstallLocation'.
VERBOSE: Importing function 'Get-AvailableDriveLetter'.
VERBOSE: Importing function 'Get-ChecksumValid'.
VERBOSE: Importing function 'Get-chocoInstanceCounts'.
VERBOSE: Importing function 'Get-ChocolateyUnzip'.
VERBOSE: Importing function 'Get-ChocolateyWebFile'.
VERBOSE: Importing function 'Get-chocoStatus'.
VERBOSE: Importing function 'Get-EffectiveProxy'.
VERBOSE: Importing function 'Get-EnvironmentVariable'.
VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
VERBOSE: Importing function 'Get-FtpFile'.
VERBOSE: Importing function 'Get-OSArchitectureWidth'.
VERBOSE: Importing function 'Get-PackageCacheLocation'.
VERBOSE: Importing function 'Get-PackageParameters'.
VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
VERBOSE: Importing function 'Get-PendingRebootStatus'.
VERBOSE: Importing function 'Get-ToolsLocation'.
VERBOSE: Importing function 'Get-UACEnabled'.
VERBOSE: Importing function 'Get-UninstallRegistryKey'.
VERBOSE: Importing function 'Get-VirusCheckValid'.
VERBOSE: Importing function 'Get-VisualStudioInstaller'.
VERBOSE: Importing function 'Get-VisualStudioInstallerHealth'.
VERBOSE: Importing function 'Get-VisualStudioInstance'.
VERBOSE: Importing function 'Get-VisualStudioVsixInstaller'.
VERBOSE: Importing function 'Get-WebContent'.
VERBOSE: Importing function 'Get-WebFile'.
VERBOSE: Importing function 'Get-WebFileName'.
VERBOSE: Importing function 'Get-WebHeaders'.
VERBOSE: Importing function 'Get-WindowsInstallerStatus'.
VERBOSE: Importing function 'Install-BinFile'.
VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
VERBOSE: Importing function 'Install-ChocolateyPackage'.
VERBOSE: Importing function 'Install-ChocolateyPath'.
VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
VERBOSE: Importing function 'Install-ChocolateyShortcut'.
VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
VERBOSE: Importing function 'Install-VisualStudio'.
VERBOSE: Importing function 'Install-VisualStudioInstaller'.
VERBOSE: Importing function 'Install-VisualStudioVsixExtension'.
VERBOSE: Importing function 'Install-Vsix'.
VERBOSE: Importing function 'Install-WindowsUpdate'.
VERBOSE: Importing function 'Register-Application'.
VERBOSE: Importing function 'Remove-VisualStudioComponent'.
VERBOSE: Importing function 'Remove-VisualStudioProduct'.
VERBOSE: Importing function 'Remove-VisualStudioWorkload'.
VERBOSE: Importing function 'Set-EnvironmentVariable'.
VERBOSE: Importing function 'Set-PowerShellExitCode'.
VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
VERBOSE: Importing function 'Start-PreInstallChecks'.
VERBOSE: Importing function 'Start-PreuninstallChecks'.
VERBOSE: Importing function 'Test-ProcessAdminRights'.
VERBOSE: Importing function 'Test-WindowsUpdate'.
VERBOSE: Importing function 'Uninstall-BinFile'.
VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
VERBOSE: Importing function 'Uninstall-VisualStudio'.
VERBOSE: Importing function 'Uninstall-VisualStudioVsixExtension'.
VERBOSE: Importing function 'Update-SessionEnvironment'.
VERBOSE: Importing function 'Write-ChocolateyFailure'.
VERBOSE: Importing function 'Write-ChocolateySuccess'.
VERBOSE: Importing function 'Write-FileUpdateLog'.
VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
VERBOSE: Importing alias 'Add-BinFile'.
VERBOSE: Importing alias 'Generate-BinFile'.
VERBOSE: Importing alias 'Get-InstallRegistryKey'.
VERBOSE: Importing alias 'Get-OSBitness'.
VERBOSE: Importing alias 'Get-ProcessorBits'.
VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
VERBOSE: Importing alias 'refreshenv'.
VERBOSE: Importing alias 'Remove-BinFile'.
VERBOSE: Importing alias 'Start-ChocolateyProcess'.
Running 'ChocolateyScriptRunner' for dbatools v0.9.791 with packageScript 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\dbatools', installArguments: '', packageParameters: '',
Running 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1'
ERROR: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: The specified module 'C:\ProgramData\chocolatey\lib\dbatools\tools\dbatools\dbatools.psd1' was not loaded because no valid module file was found in any module directory.
at <ScriptBlock>, C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1: line 19
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\dbatools\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '-1'.
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\dbatools'
Found 'C:\ProgramData\chocolatey\lib\dbatools\dbatools.nupkg'
with checksum 'E872D39A7CFCDC4A56AA23AF320F28A9'
Found 'C:\ProgramData\chocolatey\lib\dbatools\dbatools.nuspec'
with checksum 'F0A47D6CDD9B60460E0D33748002D67D'
Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\.skipAutoUninstaller'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1'
with checksum '845A9A5B423974237516935DB045AE53'
Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1'
with checksum '4FBD28E42D723E7F46620E2BA6499BE9'
Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1'
with checksum '9BCAC5D82FDF18708291BD3481146DB2'
Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\dbatools.zip'
with checksum '23CBEBD4688C8DCDF994546FA338DF46'
Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\LICENSE.txt'
with checksum '89F8DA03163AFF4745114A0ED927B8B6'
Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\VERIFICATION.txt'
with checksum '4593AD9D86ADF37020118365A942F792'
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\dbatools.0.9.791\.arguments".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\dbatools.0.9.791\.extra".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\dbatools.0.9.791\.version".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\dbatools.0.9.791\.sxs".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\dbatools.0.9.791\.pin".
Attempting to delete directory "C:\ProgramData\chocolatey\lib-bad\dbatools".
Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
The install of dbatools was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1'.
See log for details.
Moving 'C:\ProgramData\chocolatey\lib\dbatools'
to 'C:\ProgramData\chocolatey\lib-bad\dbatools'
Attempting to delete file "C:\Users\sbou04z\AppData\Local\NuGet\Cache\dbatools.0.9.791.nupkg".
Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures
- dbatools (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1'.
See log for details.
Sending message 'PostRunMessage' out if there are subscribers...
Exiting with -1
RE: https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!topic/chocolatey/g40A-jgCFqU
PROBLEM: The majority of TeamViewer package versions use a generic download URL which always downloads the latest version. This renders old package versions useless especially when a user wants to install a specific older version.
This really is a big issue with this package for licensed users of TeamViewer who do not upgrade their license every year to the latest version. When using a licensed version, you're licensed through the entire major version. Much of SMB corporate America upgrades programs every other version or so; ala Windows, Office, Quickbooks, etc to defer the high license upgrade cost (Personally: Upgrading my TeamViewer license every six months or a year to the latest versions costs me thousands of dollars and normally has very little to no ROI unless there is an OS compatibility issue).
I've brought this up before and I believe the maintainers added some older versions with hard links to solve the problem. A quick glance at the dl links for some older versions shows we still have problems. I'll use v13 as an example:
https://chocolatey.org/packages/teamviewer/13.2.26558 dl link 'https://download.teamviewer.com/download/TeamViewer_Setup.exe'
https://chocolatey.org/packages/teamviewer/13.2.14327 dl link https://download.teamviewer.com/download/TeamViewer_Setup.exe'
https://chocolatey.org/packages/teamviewer/13.2.5287 dl link 'https://download.teamviewer.com/download/TeamViewer_Setup.exe'
https://chocolatey.org/packages/teamviewer/13.1.3629 dl link 'https://download.teamviewer.com/download/TeamViewer_Setup.exe'
https://chocolatey.org/packages/teamviewer/13.1.1548 dl link 'https://download.teamviewer.com/download/version_13x/TeamViewer_Setup.exe'
https://chocolatey.org/packages/teamviewer/13.0.6447 dl link 'https://download.teamviewer.com/download/TeamViewer_Setup.exe'
Of a those 6 versions of TeamViewer v13 "available" via Chocolatey, only package v13.1.1548 will actually download and install some version of TeamVeiwer v13. TeamViewer GmbH does do upgrades to older major versions for security and other reasons, so the Chocolatey package v13.1.1548 will install whatever the latest version in the v13 series is (13.2.26558), but it will fail install in most environments due to checksums.
HERE'S MY SOLUTION:
(for the maintainers)
THE RESULT:
FYI: to mainainers, the download URL format for older versions works for current versions as well. i.e. https://download.teamviewer.com/download/version_14x/TeamViewer_Setup.exe will download the latest TeamViewer v14 the same as https://download.teamviewer.com/download/TeamViewer_Setup.exe which is used in current install scripts. Changing to using that link structure would probably be better for future accuracy.
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.