Skip to content

Instantly share code, notes, and snippets.

@crt
Last active April 25, 2018 15:36
Show Gist options
  • Save crt/f3ed76d2af054dd7741bd156d113f214 to your computer and use it in GitHub Desktop.
Save crt/f3ed76d2af054dd7741bd156d113f214 to your computer and use it in GitHub Desktop.
Choco Skype url parameter error
Chocolatey v0.10.10
Chocolatey is running on Windows v 6.1.7601.65536
Command line: "C:\ProgramData\chocolatey\choco.exe" install skype -y --debug
Received arguments: install skype -y --debug
The source 'http://packages.xxx.xx/choco/api/v2/;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:\cygwin64\tmp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='http://packages.xxx.xx/choco/api/v2/;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='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='skype'|AllVersions='False'|
SkipPackageInstallProvider='False'|PackageNames='skype'|
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.1.7601.65536'|
Information.PlatformName='Windows 7'|
Information.ChocolateyVersion='0.10.10.0'|
Information.ChocolateyProductVersion='0.10.10'|
Information.FullName='choco, Version=0.10.10.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='Rendszergazda'|
Information.UserDomainName='TAXAWIN'|
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='True'|
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.Location='http://proxy.xxx.xx:3128'|
Proxy.BypassOnLocal='True'|
_ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
Installing the following packages:
skype
By installing you accept licenses for the packages.
Using proxy server 'http://proxy.xxx.xx:3128'.
[NuGet] Added file 'chocolateyInstall.ps1' to folder 'skype\tools'.
[NuGet] Added file 'skype.nuspec' to folder 'skype'.
[NuGet] Added file 'skype.nupkg' to folder 'skype'.
skype v7.41.0.10101 [Approved]
skype package files install completed. Performing other installation steps.
Contents of 'C:\ProgramData\chocolatey\lib\skype\tools\chocolateyInstall.ps1':
$ErrorActionPreference = 'Stop'
$packageArgs = @{
packageName = $env:ChocolateyPackageName
softwareName = 'Skype*'
url = 'https://download.skype.com/5d7ac191986ccb485223c4e4e9e3e4ce/SkypeSetupFull.exe'
checksum = '1E4CA5D441A00AC691C58E0AA5890C3FEB395D2DC53DBAE82FAEC7C9DF4E52FC'
checksumType = 'SHA256'
silentArgs = '/qn /norestart STARTSKYPE=FALSE TRANSFORMS=:RemoveDesktopShortcut.mst TRANSFORMS=:RemoveStartup.mst'
validExitCodes = @(0)
}
# CHeck if the software is already installed
[array]$key = Get-UninstallRegistryKey @packageArgs
if ($key.Count -eq 1) {
$uninstallArgs = @{
packageName = $env:ChocolateyPackageName
file = ''
fileType = 'MSI'
silentArgs = "$($key.PSChildName) /qn /norestart"
validExitCodes = $packageArgs.validExitCodes
}
Uninstall-ChocolateyPackage @uninstallArgs
}
elseif ($key.Count -gt 1) {
Write-Warning "$($key.Count) matches found!"
Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
Write-Warning "This will most likely cause a 1603 error code when installing skype."
}
Install-ChocolateyPackage @packageArgs
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\skype\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
Host version is 2.0, PowerShell Version is '2.0' and CLR Version is '4.0.30319.34209'.
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 skype v7.41.0.10101 with packageScript 'C:\ProgramData\chocolatey\lib\skype\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\skype', installArguments: '', packageParameters: '',
Running 'C:\ProgramData\chocolatey\lib\skype\tools\chocolateyInstall.ps1'
ERROR: A parameter cannot be found that matches parameter name 'url'.
at System.Management.Automation.CmdletParameterBinderController.VerifyArgumentsProcessed(ParameterBindingException originalBindingException)
at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParametersNoValidation(Collection`1 arguments)
at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParameters(Collection`1 arguments)
at System.Management.Automation.CommandProcessor.BindCommandLineParameters(CommandParameterInternal[] parameters)
at System.Management.Automation.CommandProcessorBase.DoPrepare(CommandParameterInternal[] parameters)
at System.Management.Automation.Internal.PipelineProcessor.Start(Boolean incomingStream)
at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input, Hashtable errorResults, Boolean enumerate)
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\skype\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\skype'
The install of skype was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\skype\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
- skype (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\skype\tools\chocolateyInstall.ps1'.
See log for details.
Exiting with -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment