I am attempting to install Conemu using Chocolatey. It appears that the Canonical package references SourceForge, a know malware/spyware source:
$package = 'ConEmu'
$version = '15.06.29'
$stage = 'Preview'
$isSytem32Bit = (($Env:PROCESSOR_ARCHITECTURE -eq 'x86') -and `
($Env:PROCESSOR_ARCHITEW6432 -eq $null))
$os = if ($isSytem32Bit) { "x86" } else { "x64" }
$url = "https://downloads.sf.net/project/conemu/$stage/ConEmuSetup.$($version.replace('.','')).exe?use_mirror=autoselect"
# MSI installer, but packed inside wrapper to select x86 or x64
# version. Therefore, treat it as EXE type.
$params = @{
PackageName = $package;
FileType = 'exe';
SilentArgs = "/p:$os /passive";
Url = $url;
Url64bit = $url;
}
Install-ChocolateyPackage @params
# Done
As a result, attempts to install Conemu fails in a corporate environment (sf.net is blocked by the firewall).
I've attempted to specify the latest GitHub package, but have been unsuccessful:
PS> choco install conemu -s "https://github.com/Maximus5/ConEmu/releases/download/v15.06.29/ConEmuSetup.150629.exe" --version=15.06.29
Chocolatey v0.9.9.8 Installing the following packages: conemu By installing you accept licenses for the packages. conemu not installed. The package was not found with the source(s) listed. If you specified a particular version and are receiving this message, it is possible that the package name exists but the version does not. Version: "15.06.29" Source(s): "https://github.com/Maximus5/ConEmu/releases/download/v15.06.29/ConEmuSetup.150629.exe"
Chocolatey installed 0/1 package(s). 1 package(s) failed. See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log). Failures: - conemu
What am I missing?